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