Serializable
, Comparable<TableChangeDescription.TableOperation>
public static enum TableChangeDescription.TableOperation extends Enum<TableChangeDescription.TableOperation>
Enum Constant | Description |
---|---|
ALL_ROWS |
The table is completely invalidated and row level information isn't available.
|
ALTER |
Alter table operation (DDL).
|
DELETE |
Delete operation (DML).
|
DROP |
Drop table opersation (DDL).
|
INSERT |
Insert operation (DML).
|
UPDATE |
Update operation (DML).
|
Modifier and Type | Method | Description |
---|---|---|
int |
getCode() |
Implementation detail (for internal use only).
|
static EnumSet<TableChangeDescription.TableOperation> |
getTableOperations(int opcode) |
Implementation detail (for internal use only).
|
static TableChangeDescription.TableOperation |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static TableChangeDescription.TableOperation[] |
values() |
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final TableChangeDescription.TableOperation ALL_ROWS
DCN_NOTIFY_ROWIDS
option hasn't been turned on during registration, then all events will have this OPERATION_ALL_ROWS
flag on. It can also happen in situations where too many rows have changed and it would be too expensive for the server to send the list of them..public static final TableChangeDescription.TableOperation INSERT
public static final TableChangeDescription.TableOperation UPDATE
public static final TableChangeDescription.TableOperation DELETE
public static final TableChangeDescription.TableOperation ALTER
public static final TableChangeDescription.TableOperation DROP
public static TableChangeDescription.TableOperation[] values()
for (TableChangeDescription.TableOperation c : TableChangeDescription.TableOperation.values()) System.out.println(c);
public static TableChangeDescription.TableOperation 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 EnumSet<TableChangeDescription.TableOperation> getTableOperations(int opcode)