Package oracle.jdbc.dcn
Enum TableChangeDescription.TableOperation
- java.lang.Object
-
- java.lang.Enum<TableChangeDescription.TableOperation>
-
- oracle.jdbc.dcn.TableChangeDescription.TableOperation
-
- All Implemented Interfaces:
Serializable
,Comparable<TableChangeDescription.TableOperation>
- Enclosing interface:
- TableChangeDescription
public static enum TableChangeDescription.TableOperation extends Enum<TableChangeDescription.TableOperation>
-
<section role="region">
-
Enum Constant Summary
Enum Constants 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).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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.
-
-
<section role="region">
-
Enum Constant Detail
-
ALL_ROWS
public static final TableChangeDescription.TableOperation ALL_ROWS
The table is completely invalidated and row level information isn't available. If theDCN_NOTIFY_ROWIDS
option hasn't been turned on during registration, then all events will have thisOPERATION_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..
-
INSERT
public static final TableChangeDescription.TableOperation INSERT
Insert operation (DML).
-
UPDATE
public static final TableChangeDescription.TableOperation UPDATE
Update operation (DML).
-
DELETE
public static final TableChangeDescription.TableOperation DELETE
Delete operation (DML).
-
ALTER
public static final TableChangeDescription.TableOperation ALTER
Alter table operation (DDL).
-
DROP
public static final TableChangeDescription.TableOperation DROP
Drop table opersation (DDL).
-
-
Method Detail
-
values
public static TableChangeDescription.TableOperation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TableChangeDescription.TableOperation c : TableChangeDescription.TableOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TableChangeDescription.TableOperation valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
public final int getCode()
Implementation detail (for internal use only).
-
getTableOperations
public static final EnumSet<TableChangeDescription.TableOperation> getTableOperations(int opcode)
Implementation detail (for internal use only).
-
-