当前位置: 首页>>代码示例>>Java>>正文


Java EventBeanUtility.getAssertPropertyGetter方法代码示例

本文整理汇总了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);
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:17,代码来源:IndexedTableLookupStrategySingle.java

示例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]);
    }
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:8,代码来源:CompositeIndexEnterRemoveKeyed.java

示例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);
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:10,代码来源:PropertyIndexedEventTableSingleFactory.java

示例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]);
    }
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:13,代码来源:PropertyIndexedEventTableSingleArrayFactory.java

示例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);
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:16,代码来源:IndexedTableLookupStrategySingle.java

示例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]);
    }
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:9,代码来源:CompositeIndexEnterRemoveKeyed.java

示例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);
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:16,代码来源:PropertyIndexedEventTableSingleFactory.java

示例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);
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:12,代码来源:PropertySortedEventTableFactory.java

示例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;
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:5,代码来源:CompositeIndexEnterRemoveRange.java

示例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);
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:13,代码来源:PropertySortedEventTableFactory.java

示例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);
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:14,代码来源:SubordIndexedTableLookupStrategySinglePropFactory.java


注:本文中的com.espertech.esper.event.EventBeanUtility.getAssertPropertyGetter方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。