Package io.ebeaninternal.api
Class TransactionEventTable.TableIUD
- java.lang.Object
-
- io.ebeaninternal.api.TransactionEventTable.TableIUD
-
- All Implemented Interfaces:
BulkTableEvent
,BinaryWritable
,Serializable
- Enclosing class:
- TransactionEventTable
public static class TransactionEventTable.TableIUD extends Object implements Serializable, BulkTableEvent, BinaryWritable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface io.ebeaninternal.api.BinaryWritable
TYPE_BEANIUD, TYPE_CACHE, TYPE_TABLEIUD, TYPE_TABLEMOD
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTableName()
Return the name of the table that was involved.boolean
isDelete()
Return true if rows were deleted.boolean
isInsert()
Return true if rows were inserted.boolean
isUpdate()
Return true if rows were updated.boolean
isUpdateOrDelete()
static TransactionEventTable.TableIUD
readBinaryMessage(BinaryReadContext dataInput)
String
toString()
void
writeBinary(BinaryWriteContext out)
Write message in binary format.
-
-
-
Method Detail
-
readBinaryMessage
public static TransactionEventTable.TableIUD readBinaryMessage(BinaryReadContext dataInput) throws IOException
- Throws:
IOException
-
writeBinary
public void writeBinary(BinaryWriteContext out) throws IOException
Description copied from interface:BinaryWritable
Write message in binary format.- Specified by:
writeBinary
in interfaceBinaryWritable
- Throws:
IOException
-
getTableName
public String getTableName()
Description copied from interface:BulkTableEvent
Return the name of the table that was involved.- Specified by:
getTableName
in interfaceBulkTableEvent
-
isInsert
public boolean isInsert()
Description copied from interface:BulkTableEvent
Return true if rows were inserted.- Specified by:
isInsert
in interfaceBulkTableEvent
-
isUpdate
public boolean isUpdate()
Description copied from interface:BulkTableEvent
Return true if rows were updated.- Specified by:
isUpdate
in interfaceBulkTableEvent
-
isDelete
public boolean isDelete()
Description copied from interface:BulkTableEvent
Return true if rows were deleted.- Specified by:
isDelete
in interfaceBulkTableEvent
-
isUpdateOrDelete
public boolean isUpdateOrDelete()
-
-