public enum EventRepresentationChoice extends Enum<EventRepresentationChoice>
Modifier and Type | Method and Description |
---|---|
void |
addAnnotationForNonMap(EPStatementObjectModel model) |
String |
getAnnotationText() |
String |
getAnnotationTextForNonMap() |
static EventRepresentationChoice |
getEngineDefault(EPServiceProvider engine) |
String |
getOutputTypeCreateSchemaName() |
boolean |
isAvroEvent() |
boolean |
isMapEvent() |
boolean |
isObjectArrayEvent() |
boolean |
matchesClass(Class representationType) |
static EventRepresentationChoice |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventRepresentationChoice[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventRepresentationChoice ARRAY
public static final EventRepresentationChoice MAP
public static final EventRepresentationChoice AVRO
public static final EventRepresentationChoice DEFAULT
public static EventRepresentationChoice[] values()
for (EventRepresentationChoice c : EventRepresentationChoice.values()) System.out.println(c);
public static EventRepresentationChoice valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static EventRepresentationChoice getEngineDefault(EPServiceProvider engine)
public String getAnnotationText()
public String getOutputTypeCreateSchemaName()
public boolean matchesClass(Class representationType)
public boolean isObjectArrayEvent()
public boolean isMapEvent()
public String getAnnotationTextForNonMap()
public void addAnnotationForNonMap(EPStatementObjectModel model)
public boolean isAvroEvent()