public static enum Event.Type extends java.lang.Enum<Event.Type>
| Enum Constant and Description |
|---|
AFTER_DELETE
event raised after a delete in a table
|
AFTER_INSERT
event raised after an insert into a table
|
AFTER_UPDATE
event raised after an update of a table
|
BEFORE_DELETE
event raised before a delete in a table
|
BEFORE_INSERT
event raised before an insert into a table
|
BEFORE_UPDATE
event raised before an update of a table
|
BULK_DML
A bulk DML event raised for
AsyncEventListener. |
BULK_INSERT
An event raised for
AsyncEventListener when a batch or bulk
insert is done on a table. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBulkInsert()
Return true if this is a
BULK_INSERT operation. |
boolean |
isBulkOperation()
Return true if this is a bulk operation event (
BULK_DML or
BULK_INSERT). |
static Event.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Event.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event.Type BEFORE_INSERT
public static final Event.Type BEFORE_UPDATE
public static final Event.Type BEFORE_DELETE
public static final Event.Type AFTER_INSERT
public static final Event.Type AFTER_UPDATE
public static final Event.Type AFTER_DELETE
public static final Event.Type BULK_DML
AsyncEventListener. Use
Event.getDMLString() to retrieve the DML string,
Event.getNewRowsAsResultSet() to get any parameters,
ResultSet.getMetaData() on the parameters ResultSet to get the
metadata for parameters, and Event.getSchemaName() to get the
current schema.public static final Event.Type BULK_INSERT
AsyncEventListener when a batch or bulk
insert is done on a table. Use Event.getNewRowsAsResultSet() to
get an iterator on the rows inserted in the table.public static Event.Type[] values()
for (Event.Type c : Event.Type.values()) System.out.println(c);
public static Event.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isBulkOperation()
BULK_DML or
BULK_INSERT).public boolean isBulkInsert()
BULK_INSERT operation.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.