public static enum QueryChangeDescription.QueryChangeEventType extends Enum<QueryChangeDescription.QueryChangeEventType>
| Enum Constant and Description |
|---|
DEREG
The query is dropped from the registration.
|
QUERYCHANGE
The regular query change event type.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Implementation detail (for internal use only).
|
static QueryChangeDescription.QueryChangeEventType |
getQueryChangeEventType(int eventType)
Implementation detail (for internal use only).
|
static QueryChangeDescription.QueryChangeEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryChangeDescription.QueryChangeEventType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final QueryChangeDescription.QueryChangeEventType DEREG
Within a registration, the server may decide to deregister only a certain subset of queries because of various reasons such as when a column is dropped, etc. The registration itself will be preserved while one or more queries are deregistered .
public static final QueryChangeDescription.QueryChangeEventType QUERYCHANGE
public static QueryChangeDescription.QueryChangeEventType[] values()
for (QueryChangeDescription.QueryChangeEventType c : QueryChangeDescription.QueryChangeEventType.values())
System.out.println(c);
public static QueryChangeDescription.QueryChangeEventType 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 final int getCode()
public static final QueryChangeDescription.QueryChangeEventType getQueryChangeEventType(int eventType)