public enum EventRepresentationChoice extends Enum<EventRepresentationChoice>
Enum Constant and Description |
---|
AVRO |
DEFAULT |
JSON |
JSONCLASSPROVIDED |
MAP |
OBJECTARRAY |
Modifier and Type | Method and Description |
---|---|
void |
addAnnotationForNonMap(EPStatementObjectModel model) |
String |
getAnnotationText() |
String |
getAnnotationTextForNonMap() |
String |
getAnnotationTextWJsonProvided(Class jsonProvidedClass) |
static EventRepresentationChoice |
getEngineDefault(Configuration configuration) |
String |
getName() |
boolean |
isAvroEvent() |
boolean |
isAvroOrJsonEvent() |
boolean |
isJsonEvent() |
boolean |
isJsonProvidedClassEvent() |
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 OBJECTARRAY
public static final EventRepresentationChoice MAP
public static final EventRepresentationChoice AVRO
public static final EventRepresentationChoice JSON
public static final EventRepresentationChoice JSONCLASSPROVIDED
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 String getAnnotationText()
public String getAnnotationTextWJsonProvided(Class jsonProvidedClass)
public boolean matchesClass(Class representationType)
public boolean isObjectArrayEvent()
public boolean isMapEvent()
public String getAnnotationTextForNonMap()
public void addAnnotationForNonMap(EPStatementObjectModel model)
public boolean isAvroEvent()
public boolean isAvroOrJsonEvent()
public static EventRepresentationChoice getEngineDefault(Configuration configuration)
public boolean isJsonEvent()
public boolean isJsonProvidedClassEvent()
public String getName()
Copyright © 2005–2021. All rights reserved.