Package oracle.kv.table
Interface TableOperation
public interface TableOperation
Denotes a TableOperation in a sequence of operations passed to the 
TableAPI.execute method.
 TableOperation instances are created only by
 TableOperationFactory methods
 and the TableOperation interface should not be implemented by the
 application.
- Since:
- 3.0
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic enumThe type of operation, as determined by the method used to create it.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns whether this operation should cause theTableAPI.executetransaction to abort when the operation fails.Returns the PrimaryKey associated with the operation if it is a delete operation, otherwise return null.getRow()Returns the Row associated with the operation if it is a put operation, otherwise return null.getType()Returns the operation Type.
- 
Method Details- 
getRowRow getRow()Returns the Row associated with the operation if it is a put operation, otherwise return null.- Returns:
- the row or null
 
- 
getPrimaryKeyPrimaryKey getPrimaryKey()Returns the PrimaryKey associated with the operation if it is a delete operation, otherwise return null.- Returns:
- the primary key or null
 
- 
getTypeTableOperation.Type getType()Returns the operation Type.- Returns:
- the type
 
- 
getAbortIfUnsuccessfulboolean getAbortIfUnsuccessful()Returns whether this operation should cause theTableAPI.executetransaction to abort when the operation fails.- Returns:
- true if operation failure should cause the entire execution to abort
 
 
-