本文整理匯總了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);
}