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


Java EventTypeSPI类代码示例

本文整理汇总了Java中com.espertech.esper.event.EventTypeSPI的典型用法代码示例。如果您正苦于以下问题:Java EventTypeSPI类的具体用法?Java EventTypeSPI怎么用?Java EventTypeSPI使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: runAssertionVariantTwoJoin

import com.espertech.esper.event.EventTypeSPI; //导入依赖的package包/类
private void runAssertionVariantTwoJoin(EPServiceProvider epService) {
    String stmtText = "insert into Event_1_2J " +
            "select intPrimitive - intBoxed as delta, intPrimitive * intBoxed as product " +
            "from " + SupportBean.class.getName() + "#length(100) as s0," +
            SupportBean_A.class.getName() + "#length(100) as s1 " +
            " where s0.theString = s1.id";

    EPStatement stmt = tryAssertsVariant(epService, stmtText, null, "Event_1_2J");

    // assert type metadata
    EventTypeSPI type = (EventTypeSPI) ((EPServiceProviderSPI) epService).getEventAdapterService().getExistsTypeByName("Event_1_2J");
    assertEquals(null, type.getMetadata().getOptionalApplicationType());
    assertEquals(null, type.getMetadata().getOptionalSecondaryNames());
    assertEquals("Event_1_2J", type.getMetadata().getPrimaryName());
    assertEquals("Event_1_2J", type.getMetadata().getPublicName());
    assertEquals("Event_1_2J", type.getName());
    assertEquals(EventTypeMetadata.TypeClass.STREAM, type.getMetadata().getTypeClass());
    assertEquals(false, type.getMetadata().isApplicationConfigured());
    assertEquals(false, type.getMetadata().isApplicationPreConfigured());
    assertEquals(false, type.getMetadata().isApplicationPreConfiguredStatic());

    stmt.destroy();
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:24,代码来源:ExecInsertInto.java

示例2: runAssertionMetadata

import com.espertech.esper.event.EventTypeSPI; //导入依赖的package包/类
private void runAssertionMetadata(EPServiceProvider epService) {
    EventTypeSPI type = (EventTypeSPI) ((EPServiceProviderSPI) epService).getEventAdapterService().getExistsTypeByName("myMapEvent");
    assertEquals(EventTypeMetadata.ApplicationType.MAP, type.getMetadata().getOptionalApplicationType());
    assertEquals(null, type.getMetadata().getOptionalSecondaryNames());
    assertEquals("myMapEvent", type.getMetadata().getPrimaryName());
    assertEquals("myMapEvent", type.getMetadata().getPublicName());
    assertEquals("myMapEvent", type.getName());
    assertEquals(EventTypeMetadata.TypeClass.APPLICATION, type.getMetadata().getTypeClass());
    assertEquals(true, type.getMetadata().isApplicationConfigured());
    assertEquals(true, type.getMetadata().isApplicationPreConfigured());
    assertEquals(true, type.getMetadata().isApplicationPreConfiguredStatic());

    EPAssertionUtil.assertEqualsAnyOrder(new Object[]{
        new EventPropertyDescriptor("myInt", Integer.class, null, false, false, false, false, false),
        new EventPropertyDescriptor("myString", String.class, null, false, false, false, false, false),
        new EventPropertyDescriptor("beanA", SupportBeanComplexProps.class, null, false, false, false, false, true),
        new EventPropertyDescriptor("myStringArray", String[].class, String.class, false, false, true, false, false),
    }, type.getPropertyDescriptors());
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:20,代码来源:ExecEventMap.java

示例3: runAssertionMetadata

import com.espertech.esper.event.EventTypeSPI; //导入依赖的package包/类
private void runAssertionMetadata(EPServiceProvider epService) {

        // assert type metadata
        EventTypeSPI type = (EventTypeSPI) ((EPServiceProviderSPI) epService).getValueAddEventService().getValueAddProcessor("MyVariantStream").getValueAddEventType();
        assertEquals(null, type.getMetadata().getOptionalApplicationType());
        assertEquals(null, type.getMetadata().getOptionalSecondaryNames());
        assertEquals("MyVariantStream", type.getMetadata().getPrimaryName());
        assertEquals("MyVariantStream", type.getMetadata().getPublicName());
        assertEquals("MyVariantStream", type.getName());
        assertEquals(EventTypeMetadata.TypeClass.VARIANT, type.getMetadata().getTypeClass());
        assertEquals(true, type.getMetadata().isApplicationConfigured());
        assertEquals(true, type.getMetadata().isApplicationPreConfigured());
        assertEquals(true, type.getMetadata().isApplicationPreConfiguredStatic());

        EventType[] valueAddTypes = ((EPServiceProviderSPI) epService).getValueAddEventService().getValueAddedTypes();
        assertEquals(1, valueAddTypes.length);
        assertSame(type, valueAddTypes[0]);

        assertEquals(0, type.getPropertyNames().length);
        assertEquals(0, type.getPropertyDescriptors().length);
    }
 
开发者ID:espertechinc,项目名称:esper,代码行数:22,代码来源:ExecEventVariantStreamAny.java

示例4: runAssertionMetadata

import com.espertech.esper.event.EventTypeSPI; //导入依赖的package包/类
private void runAssertionMetadata(EPServiceProvider epService) {
    EventTypeSPI type = (EventTypeSPI) ((EPServiceProviderSPI) epService).getEventAdapterService().getExistsTypeByName("MyObjectArrayEvent");
    assertEquals(EventTypeMetadata.ApplicationType.OBJECTARR, type.getMetadata().getOptionalApplicationType());
    assertEquals(null, type.getMetadata().getOptionalSecondaryNames());
    assertEquals("MyObjectArrayEvent", type.getMetadata().getPrimaryName());
    assertEquals("MyObjectArrayEvent", type.getMetadata().getPublicName());
    assertEquals("MyObjectArrayEvent", type.getName());
    assertEquals(EventTypeMetadata.TypeClass.APPLICATION, type.getMetadata().getTypeClass());
    assertEquals(true, type.getMetadata().isApplicationConfigured());
    assertEquals(true, type.getMetadata().isApplicationPreConfigured());
    assertEquals(true, type.getMetadata().isApplicationPreConfiguredStatic());

    EventType[] types = ((EPServiceProviderSPI) epService).getEventAdapterService().getAllTypes();
    assertEquals(1, types.length);

    EPAssertionUtil.assertEqualsAnyOrder(new Object[]{
        new EventPropertyDescriptor("myInt", Integer.class, null, false, false, false, false, false),
        new EventPropertyDescriptor("myString", String.class, null, false, false, false, false, false),
        new EventPropertyDescriptor("beanA", SupportBeanComplexProps.class, null, false, false, false, false, true),
    }, type.getPropertyDescriptors());
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:22,代码来源:ExecEventObjectArray.java

示例5: testVariantTwoJoin

import com.espertech.esper.event.EventTypeSPI; //导入依赖的package包/类
public void testVariantTwoJoin()
{
    String stmtText = "insert into Event_1 " +
                  "select intPrimitive - intBoxed as delta, intPrimitive * intBoxed as product " +
                    "from " + SupportBean.class.getName() + ".win:length(100) as s0," +
                              SupportBean_A.class.getName() + ".win:length(100) as s1 " +
                    " where s0.theString = s1.id";

    runAsserts(stmtText, null);

    // assert type metadata
    EventTypeSPI type = (EventTypeSPI) ((EPServiceProviderSPI)epService).getEventAdapterService().getExistsTypeByName("Event_1");
    assertEquals(null, type.getMetadata().getOptionalApplicationType());
    assertEquals(null, type.getMetadata().getOptionalSecondaryNames());
    assertEquals("Event_1", type.getMetadata().getPrimaryName());
    assertEquals("Event_1", type.getMetadata().getPublicName());
    assertEquals("Event_1", type.getName());
    assertEquals(EventTypeMetadata.TypeClass.STREAM, type.getMetadata().getTypeClass());
    assertEquals(false, type.getMetadata().isApplicationConfigured());
    assertEquals(false, type.getMetadata().isApplicationPreConfigured());
    assertEquals(false, type.getMetadata().isApplicationPreConfiguredStatic());
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:23,代码来源:TestInsertInto.java

示例6: testMetadata

import com.espertech.esper.event.EventTypeSPI; //导入依赖的package包/类
public void testMetadata()
{
    EventTypeSPI type = (EventTypeSPI) ((EPServiceProviderSPI)epService).getEventAdapterService().getExistsTypeByName("MyObjectArrayEvent");
    assertEquals(EventTypeMetadata.ApplicationType.OBJECTARR, type.getMetadata().getOptionalApplicationType());
    assertEquals(null, type.getMetadata().getOptionalSecondaryNames());
    assertEquals("MyObjectArrayEvent", type.getMetadata().getPrimaryName());
    assertEquals("MyObjectArrayEvent", type.getMetadata().getPublicName());
    assertEquals("MyObjectArrayEvent", type.getName());
    assertEquals(EventTypeMetadata.TypeClass.APPLICATION, type.getMetadata().getTypeClass());
    assertEquals(true, type.getMetadata().isApplicationConfigured());
    assertEquals(true, type.getMetadata().isApplicationPreConfigured());
    assertEquals(true, type.getMetadata().isApplicationPreConfiguredStatic());

    EventType[] types = ((EPServiceProviderSPI)epService).getEventAdapterService().getAllTypes();
    assertEquals(1, types.length);

    EPAssertionUtil.assertEqualsAnyOrder(new Object[]{
            new EventPropertyDescriptor("myInt", Integer.class, null, false, false, false, false, false),
            new EventPropertyDescriptor("myString", String.class, null, false, false, false, false, false),
            new EventPropertyDescriptor("beanA", SupportBeanComplexProps.class, null, false, false, false, false, true),
    }, type.getPropertyDescriptors());
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:23,代码来源:TestObjectArrayEvent.java

示例7: testMetadata

import com.espertech.esper.event.EventTypeSPI; //导入依赖的package包/类
public void testMetadata()
{
    EventTypeSPI type = (EventTypeSPI) ((EPServiceProviderSPI)epService).getEventAdapterService().getExistsTypeByName("myMapEvent");
    assertEquals(EventTypeMetadata.ApplicationType.MAP, type.getMetadata().getOptionalApplicationType());
    assertEquals(null, type.getMetadata().getOptionalSecondaryNames());
    assertEquals("myMapEvent", type.getMetadata().getPrimaryName());
    assertEquals("myMapEvent", type.getMetadata().getPublicName());
    assertEquals("myMapEvent", type.getName());
    assertEquals(EventTypeMetadata.TypeClass.APPLICATION, type.getMetadata().getTypeClass());
    assertEquals(true, type.getMetadata().isApplicationConfigured());
    assertEquals(true, type.getMetadata().isApplicationPreConfigured());
    assertEquals(true, type.getMetadata().isApplicationPreConfiguredStatic());

    EventType[] types = ((EPServiceProviderSPI)epService).getEventAdapterService().getAllTypes();
    assertEquals(1, types.length);

    EPAssertionUtil.assertEqualsAnyOrder(new Object[]{
            new EventPropertyDescriptor("myInt", Integer.class, null, false, false, false, false, false),
            new EventPropertyDescriptor("myString", String.class, null, false, false, false, false, false),
            new EventPropertyDescriptor("beanA", SupportBeanComplexProps.class, null, false, false, false, false, true),
    }, type.getPropertyDescriptors());
}
 
开发者ID:mobile-event-processing,项目名称:Asper,代码行数:23,代码来源:TestMapEvent.java

示例8: assertTypeExists

import com.espertech.esper.event.EventTypeSPI; //导入依赖的package包/类
private void assertTypeExists(EPServiceProvider epService, String typeName, boolean isPreconfigured) {
    EPServiceProviderSPI spi = (EPServiceProviderSPI) epService;
    EventTypeSPI type = (EventTypeSPI) spi.getEventAdapterService().getExistsTypeByName(typeName);
    assertTrue(type.getMetadata().isApplicationConfigured());
    assertEquals(isPreconfigured, type.getMetadata().isApplicationPreConfigured());
    assertFalse(type.getMetadata().isApplicationPreConfiguredStatic());
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:8,代码来源:ExecEPLSchema.java

示例9: runAssertionModelPOJO

import com.espertech.esper.event.EventTypeSPI; //导入依赖的package包/类
private void runAssertionModelPOJO(EPServiceProvider epService) throws Exception {
    EPStatement stmtCreateOne = epService.getEPAdministrator().createEPL("create schema SupportBeanOne as " + SupportBean_ST0.class.getName());
    assertEquals(SupportBean_ST0.class, stmtCreateOne.getEventType().getUnderlyingType());

    EPStatement stmtCreateTwo = epService.getEPAdministrator().createEPL("create schema SupportBeanTwo as " + SupportBean_ST0.class.getName());
    assertEquals(SupportBean_ST0.class, stmtCreateTwo.getEventType().getUnderlyingType());

    EPStatement stmtSelectOne = epService.getEPAdministrator().createEPL("select * from SupportBeanOne");
    assertEquals(SupportBean_ST0.class, stmtSelectOne.getEventType().getUnderlyingType());
    SupportUpdateListener listener = new SupportUpdateListener();
    stmtSelectOne.addListener(listener);

    EPStatement stmtSelectTwo = epService.getEPAdministrator().createEPL("select * from SupportBeanTwo");
    assertEquals(SupportBean_ST0.class, stmtSelectTwo.getEventType().getUnderlyingType());
    stmtSelectTwo.addListener(listener);

    epService.getEPRuntime().sendEvent(new SupportBean_ST0("E1", 2));
    EPAssertionUtil.assertPropsPerRow(listener.getNewDataListFlattened(), "id,p00".split(","), new Object[][]{{"E1", 2}, {"E1", 2}});

    // assert type information
    EventTypeSPI typeSPI = (EventTypeSPI) stmtSelectOne.getEventType();
    assertEquals(EventTypeMetadata.TypeClass.APPLICATION, typeSPI.getMetadata().getTypeClass());
    assertEquals(typeSPI.getName(), typeSPI.getMetadata().getPublicName());
    assertTrue(typeSPI.getMetadata().isApplicationConfigured());
    assertFalse(typeSPI.getMetadata().isApplicationPreConfiguredStatic());
    assertFalse(typeSPI.getMetadata().isApplicationPreConfigured());
    assertEquals(typeSPI.getName(), typeSPI.getMetadata().getPrimaryName());

    // test keyword
    tryInvalid(epService, "create schema MySchemaInvalid as com.mycompany.event.ABC",
            "Error starting statement: Event type or class named 'com.mycompany.event.ABC' was not found");
    tryInvalid(epService, "create schema MySchemaInvalid as com.mycompany.events.ABC",
            "Error starting statement: Event type or class named 'com.mycompany.events.ABC' was not found");
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:35,代码来源:ExecEPLSchema.java

示例10: runAssertionMetadata

import com.espertech.esper.event.EventTypeSPI; //导入依赖的package包/类
private void runAssertionMetadata(EPServiceProvider epService) {
    // assert type metadata
    EventTypeSPI type = (EventTypeSPI) ((EPServiceProviderSPI) epService).getValueAddEventService().getValueAddProcessor("RevQuote").getValueAddEventType();
    assertEquals(null, type.getMetadata().getOptionalApplicationType());
    assertEquals(null, type.getMetadata().getOptionalSecondaryNames());
    assertEquals("RevisableQuote", type.getMetadata().getPrimaryName());
    assertEquals("RevisableQuote", type.getMetadata().getPublicName());
    assertEquals("RevisableQuote", type.getName());
    assertEquals(EventTypeMetadata.TypeClass.REVISION, type.getMetadata().getTypeClass());
    assertEquals(true, type.getMetadata().isApplicationConfigured());
    assertEquals(true, type.getMetadata().isApplicationPreConfigured());
    assertEquals(true, type.getMetadata().isApplicationPreConfiguredStatic());

    EventType[] valueAddTypes = ((EPServiceProviderSPI) epService).getValueAddEventService().getValueAddedTypes();
    assertEquals(1, valueAddTypes.length);
    assertSame(type, valueAddTypes[0]);

    EPAssertionUtil.assertEqualsAnyOrder(new Object[]{
        new EventPropertyDescriptor("k0", String.class, null, false, false, false, false, false),
        new EventPropertyDescriptor("p0", String.class, null, false, false, false, false, false),
        new EventPropertyDescriptor("p1", String.class, null, false, false, false, false, false),
        new EventPropertyDescriptor("p2", String.class, null, false, false, false, false, false),
        new EventPropertyDescriptor("p3", String.class, null, false, false, false, false, false),
        new EventPropertyDescriptor("p4", String.class, null, false, false, false, false, false),
        new EventPropertyDescriptor("p5", String.class, null, false, false, false, false, false)
    }, type.getPropertyDescriptors());
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:28,代码来源:ExecEventRevisionDeclared.java

示例11: validate

import com.espertech.esper.event.EventTypeSPI; //导入依赖的package包/类
public ExprNode validate(ExprValidationContext validationContext) throws ExprValidationException {
    if (this.getChildNodes().length != 1) {
        throw new ExprValidationException("Typeof node must have 1 child expression node supplying the expression to test");
    }

    if (this.getChildNodes()[0] instanceof ExprStreamUnderlyingNode) {
        ExprStreamUnderlyingNode stream = (ExprStreamUnderlyingNode) getChildNodes()[0];
        forge = new ExprTypeofNodeForgeStreamEvent(this, stream.getStreamId());
        return null;
    }

    if (this.getChildNodes()[0] instanceof ExprIdentNode) {
        ExprIdentNode ident = (ExprIdentNode) getChildNodes()[0];
        int streamNum = validationContext.getStreamTypeService().getStreamNumForStreamName(ident.getFullUnresolvedName());
        if (streamNum != -1) {
            forge = new ExprTypeofNodeForgeStreamEvent(this, streamNum);
            return null;
        }

        EventType eventType = validationContext.getStreamTypeService().getEventTypes()[ident.getStreamId()];
        FragmentEventType fragmentEventType = eventType.getFragmentType(ident.getResolvedPropertyName());
        if (fragmentEventType != null) {
            EventPropertyGetterSPI getter = ((EventTypeSPI) eventType).getGetterSPI(ident.getResolvedPropertyName());
            forge = new ExprTypeofNodeForgeFragmentType(this, ident.getStreamId(), getter, fragmentEventType.getFragmentType().getName());
            return null;
        }
    }

    forge = new ExprTypeofNodeForgeInnerEval(this);
    return null;
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:32,代码来源:ExprTypeofNode.java

示例12: ExprIdentNodeImpl

import com.espertech.esper.event.EventTypeSPI; //导入依赖的package包/类
public ExprIdentNodeImpl(EventType eventType, String propertyName, int streamNumber) {
    unresolvedPropertyName = propertyName;
    resolvedPropertyName = propertyName;
    EventPropertyGetterSPI propertyGetter = ((EventTypeSPI) eventType).getGetterSPI(propertyName);
    if (propertyGetter == null) {
        throw new IllegalArgumentException("Ident-node constructor could not locate property " + propertyName);
    }
    Class propertyType = eventType.getPropertyType(propertyName);
    evaluator = new ExprIdentNodeEvaluatorImpl(streamNumber, propertyGetter, JavaClassHelper.getBoxedType(propertyType), this, eventType, true);
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:11,代码来源:ExprIdentNodeImpl.java

示例13: validate

import com.espertech.esper.event.EventTypeSPI; //导入依赖的package包/类
public ExprNode validate(ExprValidationContext validationContext) throws ExprValidationException {
    if (validationContext.getContextDescriptor() == null) {
        throw new ExprValidationException("Context property '" + propertyName + "' cannot be used in the expression as provided");
    }
    EventTypeSPI eventType = (EventTypeSPI) validationContext.getContextDescriptor().getContextPropertyRegistry().getContextEventType();
    if (eventType == null) {
        throw new ExprValidationException("Context property '" + propertyName + "' cannot be used in the expression as provided");
    }
    getter = eventType.getGetterSPI(propertyName);
    if (getter == null) {
        throw new ExprValidationException("Context property '" + propertyName + "' is not a known property, known properties are " + Arrays.toString(eventType.getPropertyNames()));
    }
    returnType = JavaClassHelper.getBoxedType(eventType.getPropertyType(propertyName));
    return null;
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:16,代码来源:ExprContextPropertyNodeImpl.java

示例14: getTableNameFromEventType

import com.espertech.esper.event.EventTypeSPI; //导入依赖的package包/类
public static String getTableNameFromEventType(EventType type) {
    if (!(type instanceof EventTypeSPI)) {
        return null;
    }
    EventTypeSPI spi = (EventTypeSPI) type;
    if (spi.getMetadata().getTypeClass() == EventTypeMetadata.TypeClass.TABLE) {
        return spi.getMetadata().getPrimaryName();
    }
    return null;
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:11,代码来源:TableServiceUtil.java

示例15: make

import com.espertech.esper.event.EventTypeSPI; //导入依赖的package包/类
public static TableOnViewFactory make(TableMetadata tableMetadata,
                                      OnTriggerDesc onTriggerDesc,
                                      EventType filterEventType,
                                      String filterStreamName,
                                      StatementContext statementContext,
                                      StatementMetricHandle metricsHandle,
                                      boolean isDistinct,
                                      InternalEventRouter internalEventRouter
)
        throws ExprValidationException {
    if (onTriggerDesc.getOnTriggerType() == OnTriggerType.ON_DELETE) {
        return new TableOnDeleteViewFactory(statementContext.getStatementResultService(), tableMetadata);
    } else if (onTriggerDesc.getOnTriggerType() == OnTriggerType.ON_SELECT) {
        EventBeanReader eventBeanReader = null;
        if (isDistinct) {
            eventBeanReader = tableMetadata.getInternalEventType().getReader();
        }
        OnTriggerWindowDesc windowDesc = (OnTriggerWindowDesc) onTriggerDesc;
        return new TableOnSelectViewFactory(tableMetadata, internalEventRouter, statementContext.getEpStatementHandle(),
                eventBeanReader, isDistinct, statementContext.getStatementResultService(), statementContext.getInternalEventEngineRouteDest(), windowDesc.isDeleteAndSelect());
    } else if (onTriggerDesc.getOnTriggerType() == OnTriggerType.ON_UPDATE) {
        OnTriggerWindowUpdateDesc updateDesc = (OnTriggerWindowUpdateDesc) onTriggerDesc;
        EventBeanUpdateHelper updateHelper = EventBeanUpdateHelperFactory.make(tableMetadata.getTableName(), (EventTypeSPI) tableMetadata.getInternalEventType(), updateDesc.getAssignments(), updateDesc.getOptionalAsName(), filterEventType, false, statementContext.getStatementName(), statementContext.getEngineURI(), statementContext.getEventAdapterService(), false);
        TableUpdateStrategy updateStrategy = statementContext.getTableService().getTableUpdateStrategy(tableMetadata, updateHelper, false);
        TableOnUpdateViewFactory onUpdateViewFactory = new TableOnUpdateViewFactory(statementContext.getStatementResultService(), tableMetadata, updateHelper, updateStrategy);
        statementContext.getTableService().addTableUpdateStrategyReceiver(tableMetadata, statementContext.getStatementName(), onUpdateViewFactory, updateHelper, false);
        return onUpdateViewFactory;
    } else if (onTriggerDesc.getOnTriggerType() == OnTriggerType.ON_MERGE) {
        OnTriggerMergeDesc onMergeTriggerDesc = (OnTriggerMergeDesc) onTriggerDesc;
        TableOnMergeHelper onMergeHelper = new TableOnMergeHelper(statementContext, onMergeTriggerDesc, filterEventType, filterStreamName, internalEventRouter, tableMetadata);
        return new TableOnMergeViewFactory(tableMetadata, onMergeHelper, statementContext.getStatementResultService(), metricsHandle, statementContext.getMetricReportingService());
    } else {
        throw new IllegalStateException("Unknown trigger type " + onTriggerDesc.getOnTriggerType());
    }
}
 
开发者ID:espertechinc,项目名称:esper,代码行数:36,代码来源:TableOnViewFactoryFactory.java


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