Enum EventType
- All Implemented Interfaces:
Serializable,Comparable<EventType>
Represents all supported event types that are loaded from Oracle LogMiner.
- Author:
- Chris Cranford
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EventTypefrom(int value) Resolve an EventType from a numeric event type operation code.intgetValue()static EventTypeReturns the enum constant of this type with the specified name.static EventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSERT
-
DELETE
-
UPDATE
-
DDL
-
START
-
COMMIT
-
SELECT_LOB_LOCATOR
-
LOB_WRITE
-
LOB_TRIM
-
LOB_ERASE
-
MISSING_SCN
-
ROLLBACK
-
XML_BEGIN
-
XML_WRITE
-
XML_END
-
UNSUPPORTED
-
-
Field Details
-
types
-
value
private int value
-
-
Constructor Details
-
EventType
private EventType(int value)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getValue
public int getValue() -
from
Resolve an EventType from a numeric event type operation code.- Parameters:
value- the operation code- Returns:
- the event type, will be
UNSUPPORTEDif the code is not supported.
-