|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.event.EventTypeMetadata
public class EventTypeMetadata
Provides metadata for event types.
Nested Class Summary | |
---|---|
static class |
EventTypeMetadata.ApplicationType
Application type. |
static class |
EventTypeMetadata.TypeClass
Metatype. |
Constructor Summary | |
---|---|
protected |
EventTypeMetadata(java.lang.String primaryName,
java.util.Set<java.lang.String> secondaryNames,
EventTypeMetadata.TypeClass typeClass,
boolean isApplicationPreConfiguredStatic,
boolean applicationPreConfigured,
boolean applicationConfigured,
EventTypeMetadata.ApplicationType applicationType,
boolean isPropertyAgnostic)
Ctor. |
Method Summary | |
---|---|
static EventTypeMetadata |
createAnonymous(java.lang.String associationName)
Factory for an anonymous type. |
static EventTypeMetadata |
createBeanType(java.lang.String name,
java.lang.Class clazz,
boolean isPreConfiguredStatic,
boolean isPreConfigured,
boolean isConfigured,
EventTypeMetadata.TypeClass typeClass)
Factory for a bean type. |
static EventTypeMetadata |
createNonPojoApplicationType(EventTypeMetadata.ApplicationType providedType,
java.lang.String name,
boolean preconfiguredStatic,
boolean preconfigured,
boolean configured,
boolean namedWindow,
boolean insertInto)
Factory for a map type. |
static EventTypeMetadata |
createTable(java.lang.String tableName)
Factory for an table type. |
static EventTypeMetadata |
createValueAdd(java.lang.String name,
EventTypeMetadata.TypeClass typeClass)
Factory for a value-add type. |
static EventTypeMetadata |
createWrapper(java.lang.String eventTypeName,
boolean namedWindow,
boolean insertInto,
boolean isPropertyAgnostic)
Factory for a wrapper type. |
static EventTypeMetadata |
createXMLType(java.lang.String name,
boolean isPreconfiguredStatic,
boolean isPropertyAgnostic)
Factory for a XML type. |
EventTypeMetadata.ApplicationType |
getOptionalApplicationType()
The type of the application event type or null if not an application event type. |
java.util.Set<java.lang.String> |
getOptionalSecondaryNames()
Returns second names or null if none found. |
java.lang.String |
getPrimaryName()
Returns the name. |
java.lang.String |
getPublicName()
Returns the name provided through #EventType.getName. |
EventTypeMetadata.TypeClass |
getTypeClass()
Returns the type of the type. |
boolean |
isApplicationConfigured()
Returns true if the type originates in a configuration. |
boolean |
isApplicationPreConfigured()
Returns true to indicate the type is pre-configured, i.e. |
boolean |
isApplicationPreConfiguredStatic()
Returns true to indicate the type is pre-configured, i.e. |
boolean |
isPropertyAgnostic()
Returns true for types that accept any property name as a valid property (unchecked type). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected EventTypeMetadata(java.lang.String primaryName, java.util.Set<java.lang.String> secondaryNames, EventTypeMetadata.TypeClass typeClass, boolean isApplicationPreConfiguredStatic, boolean applicationPreConfigured, boolean applicationConfigured, EventTypeMetadata.ApplicationType applicationType, boolean isPropertyAgnostic)
primaryName
- the primary name by which the type became known.secondaryNames
- a list of additional names for the type, such as fully-qualified class nametypeClass
- type of the typeapplicationConfigured
- true if configured by the applicationapplicationType
- type of application class or null if not an application typeisPropertyAgnostic
- true for types that accept any property name as a valid property (unchecked type)Method Detail |
---|
public static EventTypeMetadata createValueAdd(java.lang.String name, EventTypeMetadata.TypeClass typeClass)
name
- type nametypeClass
- type of type
public static EventTypeMetadata createBeanType(java.lang.String name, java.lang.Class clazz, boolean isPreConfiguredStatic, boolean isPreConfigured, boolean isConfigured, EventTypeMetadata.TypeClass typeClass)
name
- type nameclazz
- java classisConfigured
- whether the class was made known or is discovered
public static EventTypeMetadata createXMLType(java.lang.String name, boolean isPreconfiguredStatic, boolean isPropertyAgnostic)
name
- type nameisPropertyAgnostic
- true for types that accept any property name as a valid property (unchecked type)
public static EventTypeMetadata createAnonymous(java.lang.String associationName)
associationName
- what the type is associated with
public static EventTypeMetadata createTable(java.lang.String tableName)
tableName
- what the type is associated with
public static EventTypeMetadata createWrapper(java.lang.String eventTypeName, boolean namedWindow, boolean insertInto, boolean isPropertyAgnostic)
eventTypeName
- insert-into of create-window namenamedWindow
- true for named windowinsertInto
- true for insert-intoisPropertyAgnostic
- true for types that accept any property name as a valid property (unchecked type)
public static EventTypeMetadata createNonPojoApplicationType(EventTypeMetadata.ApplicationType providedType, java.lang.String name, boolean preconfiguredStatic, boolean preconfigured, boolean configured, boolean namedWindow, boolean insertInto)
name
- insert-into of create-window namenamedWindow
- true for named windowinsertInto
- true for insert-intoconfigured
- whether the made known or is discovered
public java.lang.String getPrimaryName()
public java.util.Set<java.lang.String> getOptionalSecondaryNames()
public EventTypeMetadata.TypeClass getTypeClass()
public boolean isApplicationConfigured()
public EventTypeMetadata.ApplicationType getOptionalApplicationType()
public java.lang.String getPublicName()
public boolean isPropertyAgnostic()
public boolean isApplicationPreConfigured()
public boolean isApplicationPreConfiguredStatic()
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |