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


Java Configuration.addPlugInSingleRowFunction方法代码示例

本文整理汇总了Java中com.espertech.esper.client.Configuration.addPlugInSingleRowFunction方法的典型用法代码示例。如果您正苦于以下问题:Java Configuration.addPlugInSingleRowFunction方法的具体用法?Java Configuration.addPlugInSingleRowFunction怎么用?Java Configuration.addPlugInSingleRowFunction使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.espertech.esper.client.Configuration的用法示例。


在下文中一共展示了Configuration.addPlugInSingleRowFunction方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: configure

import com.espertech.esper.client.Configuration; //导入方法依赖的package包/类
public void configure(Configuration configuration) throws Exception {
    configuration.addEventType("SupportBean", SupportBean.class);
    configuration.addEventType("SupportBean_ST0_Container", SupportBean_ST0_Container.class);
    configuration.addEventType("SupportDateTime", SupportDateTime.class);
    configuration.addImport(SupportBean_ST0_Container.class);
    configuration.addPlugInSingleRowFunction("makeTest", SupportBean_ST0_Container.class.getName(), "makeTest");
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:8,代码来源:ExecDTInvalid.java

示例2: configure

import com.espertech.esper.client.Configuration; //导入方法依赖的package包/类
public void configure(Configuration configuration) throws Exception {
    configuration.addEventType("SupportBean", SupportBean.class);
    configuration.addEventType("SupportBean_ST0", SupportBean_ST0.class);
    configuration.addEventType("SupportBean_ST0_Container", SupportBean_ST0_Container.class);
    configuration.addEventType("SupportBeanComplexProps", SupportBeanComplexProps.class);
    configuration.addEventType("SupportCollection", SupportCollection.class);
    configuration.addImport(SupportBean_ST0_Container.class);
    configuration.addPlugInSingleRowFunction("makeTest", SupportBean_ST0_Container.class.getName(), "makeTest");
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:10,代码来源:ExecEnumInvalid.java

示例3: configure

import com.espertech.esper.client.Configuration; //导入方法依赖的package包/类
public void configure(Configuration configuration) throws Exception {
    configuration.addEventType("Item", Item.class);
    configuration.addEventType("LocationReport", LocationReport.class);
    configuration.addEventType("Zone", Zone.class);
    configuration.addPlugInSingleRowFunction("inrect", LRUtil.class.getName(), "inrect");
    configuration.addPlugInSingleRowFunction("distance", LRUtil.class.getName(), "distance");
    configuration.addPlugInSingleRowFunction("getZoneNames", Zone.class.getName(), "getZoneNames");
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:9,代码来源:ExecEnumDocSamples.java

示例4: registerConfiguration

import com.espertech.esper.client.Configuration; //导入方法依赖的package包/类
/**
 * Inject in Esper Configuration geospatial methods and classes
 * @param configuration
 */
public static void registerConfiguration(Configuration configuration) {

    // Inject methods to create Geometry variables
    configuration.addPlugInSingleRowFunction("polygon",  Geospatial.class.getName(), "createPolygon");
    configuration.addPlugInSingleRowFunction("point", Geospatial.class.getName(), "createPoint");
    configuration.addPlugInSingleRowFunction("geometry", Geospatial.class.getName(), "readGeometry");

    // Register Geometry class
    configuration.addImport(Geometry.class.getName());
}
 
开发者ID:Orange-OpenSource,项目名称:fiware-cepheus,代码行数:15,代码来源:Geospatial.java

示例5: configure

import com.espertech.esper.client.Configuration; //导入方法依赖的package包/类
public void configure(Configuration configuration) throws Exception {
    configuration.addEventType("SupportBean", SupportBean.class);
    configuration.addEventType("SupportBean_S0", SupportBean_S0.class);
    configuration.getEngineDefaults().getLogging().setEnableExecutionDebug(true);
    configuration.addPlugInSingleRowFunction("toArray", this.getClass().getName(), "toArray");
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:7,代码来源:ExecContextPartitionedAggregate.java

示例6: configure

import com.espertech.esper.client.Configuration; //导入方法依赖的package包/类
public void configure(Configuration configuration) throws Exception {
    configuration.addImport(SupportStaticMethodLib.class.getName());
    configuration.addPlugInSingleRowFunction("sleepme", SupportStaticMethodLib.class.getName(), "sleep", ConfigurationPlugInSingleRowFunction.ValueCache.ENABLED);
    configuration.getEngineDefaults().getExpression().setUdfCache(false);
    configuration.addEventType("Temperature", SupportTemperatureBean.class);
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:7,代码来源:ExecEPLStaticFunctionsNoUDFCache.java

示例7: configure

import com.espertech.esper.client.Configuration; //导入方法依赖的package包/类
public void configure(Configuration configuration) throws Exception {
    configuration.getEngineDefaults().getThreading().setThreadPoolInbound(true);
    configuration.getEngineDefaults().getThreading().setThreadPoolInboundNumThreads(2);
    configuration.addEventType(MyEvent.class);
    configuration.addPlugInSingleRowFunction("sleepaLittle", this.getClass().getName(), "sleepaLittle");
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:7,代码来源:ExecClientThreadedConfigInboundFastShutdown.java


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