本文整理汇总了Java中com.espertech.esper.event.EventBeanUtility.getAssertPropertyGetter方法的典型用法代码示例。如果您正苦于以下问题:Java EventBeanUtility.getAssertPropertyGetter方法的具体用法?Java EventBeanUtility.getAssertPropertyGetter怎么用?Java EventBeanUtility.getAssertPropertyGetter使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.espertech.esper.event.EventBeanUtility
的用法示例。
在下文中一共展示了EventBeanUtility.getAssertPropertyGetter方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: IndexedTableLookupStrategySingle
import com.espertech.esper.event.EventBeanUtility; //导入方法依赖的package包/类
/**
* Ctor.
*
* @param eventType - event type to expect for lookup
* @param index - index to look up in
* @param property property name
*/
public IndexedTableLookupStrategySingle(EventType eventType, String property, PropertyIndexedEventTableSingle index) {
this.eventType = eventType;
this.property = property;
if (index == null) {
throw new IllegalArgumentException("Unexpected null index received");
}
this.index = index;
propertyGetter = EventBeanUtility.getAssertPropertyGetter(eventType, property);
}
示例2: CompositeIndexEnterRemoveKeyed
import com.espertech.esper.event.EventBeanUtility; //导入方法依赖的package包/类
public CompositeIndexEnterRemoveKeyed(EventType eventType, String[] keysProps, Class[] keyCoercionTypes) {
this.keyCoercionTypes = keyCoercionTypes;
propertyGetters = new EventPropertyGetter[keysProps.length];
for (int i = 0; i < keysProps.length; i++) {
propertyGetters[i] = EventBeanUtility.getAssertPropertyGetter(eventType, keysProps[i]);
}
}
示例3: PropertyIndexedEventTableSingleFactory
import com.espertech.esper.event.EventBeanUtility; //导入方法依赖的package包/类
public PropertyIndexedEventTableSingleFactory(int streamNum, EventType eventType, String propertyName, boolean unique, String optionalIndexName) {
this.streamNum = streamNum;
this.propertyName = propertyName;
this.unique = unique;
this.optionalIndexName = optionalIndexName;
// Init getters
propertyGetter = EventBeanUtility.getAssertPropertyGetter(eventType, propertyName);
}
示例4: PropertyIndexedEventTableSingleArrayFactory
import com.espertech.esper.event.EventBeanUtility; //导入方法依赖的package包/类
public PropertyIndexedEventTableSingleArrayFactory(int streamNum, EventType eventType, String[] propertyNames, boolean unique, String optionalIndexName) {
this.streamNum = streamNum;
this.propertyNames = propertyNames;
this.unique = unique;
this.optionalIndexName = optionalIndexName;
// Init getters
propertyGetters = new EventPropertyGetter[propertyNames.length];
for (int i = 0; i < propertyNames.length; i++) {
propertyGetters[i] = EventBeanUtility.getAssertPropertyGetter(eventType, propertyNames[i]);
}
}
示例5: IndexedTableLookupStrategySingle
import com.espertech.esper.event.EventBeanUtility; //导入方法依赖的package包/类
/**
* Ctor.
* @param eventType - event type to expect for lookup
* @param index - index to look up in
*/
public IndexedTableLookupStrategySingle(EventType eventType, String property, PropertyIndexedEventTableSingle index)
{
this.eventType = eventType;
this.property = property;
if (index == null) {
throw new IllegalArgumentException("Unexpected null index received");
}
this.index = index;
propertyGetter = EventBeanUtility.getAssertPropertyGetter(eventType, property);
}
示例6: CompositeIndexEnterRemoveKeyed
import com.espertech.esper.event.EventBeanUtility; //导入方法依赖的package包/类
public CompositeIndexEnterRemoveKeyed(EventType eventType, String[] keysProps, Class[] keyCoercionTypes) {
this.keyCoercionTypes = keyCoercionTypes;
propertyGetters = new EventPropertyGetter[keysProps.length];
for (int i = 0; i < keysProps.length; i++)
{
propertyGetters[i] = EventBeanUtility.getAssertPropertyGetter(eventType, keysProps[i]);
}
}
示例7: PropertyIndexedEventTableSingleFactory
import com.espertech.esper.event.EventBeanUtility; //导入方法依赖的package包/类
/**
* Ctor.
* @param streamNum - the stream number that is indexed
* @param eventType - types of events indexed
*/
public PropertyIndexedEventTableSingleFactory(int streamNum, EventType eventType, String propertyName, boolean unique, String optionalIndexName)
{
this.streamNum = streamNum;
this.propertyName = propertyName;
this.unique = unique;
this.optionalIndexName = optionalIndexName;
// Init getters
propertyGetter = EventBeanUtility.getAssertPropertyGetter(eventType, propertyName);
}
示例8: PropertySortedEventTableFactory
import com.espertech.esper.event.EventBeanUtility; //导入方法依赖的package包/类
/**
* Ctor.
* @param streamNum - the stream number that is indexed
* @param eventType - types of events indexed
*/
public PropertySortedEventTableFactory(int streamNum, EventType eventType, String propertyName)
{
this.streamNum = streamNum;
this.propertyName = propertyName;
propertyGetter = EventBeanUtility.getAssertPropertyGetter(eventType, propertyName);
}
示例9: SubordIndexedTableLookupStrategySinglePropFactory
import com.espertech.esper.event.EventBeanUtility; //导入方法依赖的package包/类
/**
* Ctor.
* @param eventTypes is the event types per stream
* @param keyStreamNum is the stream number per property
* @param property is the key properties
*/
public SubordIndexedTableLookupStrategySinglePropFactory(boolean isNWOnTrigger, EventType[] eventTypes, int keyStreamNum, String property)
{
this.keyStreamNum = keyStreamNum + (isNWOnTrigger ? 1 : 0); // for on-trigger the key will be provided in a {1,2,...} stream and not {0,...}
this.property = property;
propertyGetter = EventBeanUtility.getAssertPropertyGetter(eventTypes, keyStreamNum, property);
}
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:13,代码来源:SubordIndexedTableLookupStrategySinglePropFactory.java
示例10: CompositeIndexEnterRemoveRange
import com.espertech.esper.event.EventBeanUtility; //导入方法依赖的package包/类
public CompositeIndexEnterRemoveRange(EventType eventType, String rangeProp, Class coercionType) {
this.propertyGetter = EventBeanUtility.getAssertPropertyGetter(eventType, rangeProp);
this.coercionType = coercionType;
}
示例11: PropertySortedEventTableFactory
import com.espertech.esper.event.EventBeanUtility; //导入方法依赖的package包/类
/**
* Ctor.
*
* @param streamNum - the stream number that is indexed
* @param eventType - types of events indexed
* @param propertyName - property name
*/
public PropertySortedEventTableFactory(int streamNum, EventType eventType, String propertyName) {
this.streamNum = streamNum;
this.propertyName = propertyName;
propertyGetter = EventBeanUtility.getAssertPropertyGetter(eventType, propertyName);
}
示例12: SubordIndexedTableLookupStrategySinglePropFactory
import com.espertech.esper.event.EventBeanUtility; //导入方法依赖的package包/类
/**
* Ctor.
*
* @param eventTypes is the event types per stream
* @param keyStreamNum is the stream number per property
* @param property is the key properties
* @param isNWOnTrigger for named window on-trigger
*/
public SubordIndexedTableLookupStrategySinglePropFactory(boolean isNWOnTrigger, EventType[] eventTypes, int keyStreamNum, String property) {
this.keyStreamNum = keyStreamNum + (isNWOnTrigger ? 1 : 0); // for on-trigger the key will be provided in a {1,2,...} stream and not {0,...}
this.property = property;
propertyGetter = EventBeanUtility.getAssertPropertyGetter(eventTypes, keyStreamNum, property);
}