本文整理匯總了Java中com.espertech.esper.event.arr.ObjectArrayMappedPropertyGetter類的典型用法代碼示例。如果您正苦於以下問題:Java ObjectArrayMappedPropertyGetter類的具體用法?Java ObjectArrayMappedPropertyGetter怎麽用?Java ObjectArrayMappedPropertyGetter使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ObjectArrayMappedPropertyGetter類屬於com.espertech.esper.event.arr包,在下文中一共展示了ObjectArrayMappedPropertyGetter類的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getGetterObjectArray
import com.espertech.esper.event.arr.ObjectArrayMappedPropertyGetter; //導入依賴的package包/類
public ObjectArrayEventPropertyGetterAndMapped getGetterObjectArray(Map<String, Integer> indexPerProperty, Map<String, Object> nestableTypes, EventAdapterService eventAdapterService) {
Integer index = indexPerProperty.get(propertyNameAtomic);
if (index == null) {
return null;
}
Object type = nestableTypes.get(getPropertyNameAtomic());
if (type instanceof Class) {
if (JavaClassHelper.isImplementsInterface((Class) type, Map.class)) {
return new ObjectArrayMappedPropertyGetter(index, this.getKey());
}
}
if (type instanceof Map) {
return new ObjectArrayMappedPropertyGetter(index, this.getKey());
}
return null;
}
示例2: getGetterObjectArray
import com.espertech.esper.event.arr.ObjectArrayMappedPropertyGetter; //導入依賴的package包/類
public ObjectArrayEventPropertyGetterAndMapped getGetterObjectArray(Map<String, Integer> indexPerProperty, Map<String, Object> nestableTypes, EventAdapterService eventAdapterService) {
Integer index = indexPerProperty.get(propertyNameAtomic);
if (index == null) {
return null;
}
Object type = nestableTypes.get(getPropertyNameAtomic());
if (type instanceof Class)
{
if (JavaClassHelper.isImplementsInterface((Class) type, Map.class))
{
return new ObjectArrayMappedPropertyGetter(index, this.getKey());
}
}
if (type instanceof Map) {
return new ObjectArrayMappedPropertyGetter(index, this.getKey());
}
return null;
}
示例3: getGetterObjectArray
import com.espertech.esper.event.arr.ObjectArrayMappedPropertyGetter; //導入依賴的package包/類
public ObjectArrayEventPropertyGetter getGetterObjectArray(Map<String, Integer> indexPerProperty, Map<String, Object> nestableTypes, EventAdapterService eventAdapterService) {
Integer propertyIndex = indexPerProperty.get(propertyNameAtomic);
return propertyIndex == null ? null : new ObjectArrayMappedPropertyGetter(propertyIndex, key);
}