public interface TableOperation
TableAPI.execute method.
TableOperation instances are created only by
TableOperationFactory methods
and the TableOperation interface should not be implemented by the
application.
TableOperationFactory,
TableAPI.execute| Modifier and Type | Interface | Description |
|---|---|---|
static class |
TableOperation.Type |
The type of operation, as determined by the method used to create it.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
getAbortIfUnsuccessful() |
Returns whether this operation should cause the
TableAPI.execute transaction to abort when the operation fails. |
PrimaryKey |
getPrimaryKey() |
Returns the PrimaryKey associated with the operation if it is a
delete operation, otherwise return null.
|
Row |
getRow() |
Returns the Row associated with the operation if it is a put operation,
otherwise return null.
|
TableOperation.Type |
getType() |
Returns the operation Type.
|
Row getRow()
PrimaryKey getPrimaryKey()
TableOperation.Type getType()
boolean getAbortIfUnsuccessful()
TableAPI.execute transaction to abort when the operation fails.Copyright (c) 2011, 2018 Oracle and/or its affiliates. All rights reserved.