本文整理汇总了Java中com.espertech.esper.event.BaseNestableEventUtil.checkedCastUnderlyingMap方法的典型用法代码示例。如果您正苦于以下问题:Java BaseNestableEventUtil.checkedCastUnderlyingMap方法的具体用法?Java BaseNestableEventUtil.checkedCastUnderlyingMap怎么用?Java BaseNestableEventUtil.checkedCastUnderlyingMap使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.espertech.esper.event.BaseNestableEventUtil
的用法示例。
在下文中一共展示了BaseNestableEventUtil.checkedCastUnderlyingMap方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getFragment
import com.espertech.esper.event.BaseNestableEventUtil; //导入方法依赖的package包/类
public Object getFragment(EventBean obj) {
Map<String, Object> map = BaseNestableEventUtil.checkedCastUnderlyingMap(obj);
Object value = map.get(propertyMap);
if (value == null) {
return null;
}
return handleNestedValueFragment(value);
}
示例2: getFragment
import com.espertech.esper.event.BaseNestableEventUtil; //导入方法依赖的package包/类
public Object getFragment(EventBean obj) {
Map<String, Object> map = BaseNestableEventUtil.checkedCastUnderlyingMap(obj);
// If the map does not contain the key, this is allowed and represented as null
Object value = map.get(propertyMap);
if (value == null) {
return null;
}
// Object within the map
EventBean theEvent = (EventBean) value;
return eventBeanEntryGetter.getFragment(theEvent);
}
示例3: get
import com.espertech.esper.event.BaseNestableEventUtil; //导入方法依赖的package包/类
public Object get(EventBean eventBean, String mapKey) throws PropertyAccessException {
Map<String, Object> data = BaseNestableEventUtil.checkedCastUnderlyingMap(eventBean);
return getMapMappedValue(data, fieldName, mapKey);
}
示例4: isExistsProperty
import com.espertech.esper.event.BaseNestableEventUtil; //导入方法依赖的package包/类
public boolean isExistsProperty(EventBean eventBean) {
Map<String, Object> data = BaseNestableEventUtil.checkedCastUnderlyingMap(eventBean);
return isMapExistsProperty(data);
}
示例5: get
import com.espertech.esper.event.BaseNestableEventUtil; //导入方法依赖的package包/类
public Object get(EventBean eventBean, int index) throws PropertyAccessException {
Map<String, Object> map = BaseNestableEventUtil.checkedCastUnderlyingMap(eventBean);
return getMapInternal(map, index);
}
示例6: getFragment
import com.espertech.esper.event.BaseNestableEventUtil; //导入方法依赖的package包/类
public Object getFragment(EventBean obj) {
Map<String, Object> map = BaseNestableEventUtil.checkedCastUnderlyingMap(obj);
EventBean[] wrapper = (EventBean[]) map.get(propertyName);
return BaseNestableEventUtil.getArrayPropertyFragment(wrapper, index, nestedGetter);
}
示例7: isExistsProperty
import com.espertech.esper.event.BaseNestableEventUtil; //导入方法依赖的package包/类
public boolean isExistsProperty(EventBean eventBean) {
Map map = BaseNestableEventUtil.checkedCastUnderlyingMap(eventBean);
return map.containsKey(propertyMap);
}
示例8: getFragment
import com.espertech.esper.event.BaseNestableEventUtil; //导入方法依赖的package包/类
public Object getFragment(EventBean obj) {
Map<String, Object> map = BaseNestableEventUtil.checkedCastUnderlyingMap(obj);
EventBean[] wrapper = (EventBean[]) map.get(propertyName);
return BaseNestableEventUtil.getBNArrayPropertyBean(wrapper, index);
}
示例9: getFragment
import com.espertech.esper.event.BaseNestableEventUtil; //导入方法依赖的package包/类
public Object getFragment(EventBean obj) {
Map<String, Object> map = BaseNestableEventUtil.checkedCastUnderlyingMap(obj);
return map.get(propertyName);
}
示例10: get
import com.espertech.esper.event.BaseNestableEventUtil; //导入方法依赖的package包/类
public Object get(EventBean obj) {
Map<String, Object> map = BaseNestableEventUtil.checkedCastUnderlyingMap(obj);
return getMap(map);
}