public abstract class PartialReadOp extends Object implements TransactionOperation, TransactionSingleOpOperation
| Constructor and Description |
|---|
PartialReadOp(OtpErlangString key)
Constructor
|
PartialReadOp(String key)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
OtpErlangString |
getKey()
Gets the key the operation is working on (if available)
|
OtpErlangObject |
getResult()
Gets the (raw Erlang) result set via
Operation.setResult(OtpErlangObject, boolean). |
boolean |
getResultCompressed()
Determines if the result set via
Operation.setResult(OtpErlangObject, boolean) is compressed or not. |
void |
setResult(OtpErlangObject resultRaw,
boolean compressed)
Sets the raw erlang result value.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessResultSinglegetErlang, processResultpublic PartialReadOp(OtpErlangString key)
key - the key to readpublic PartialReadOp(String key)
key - the key to readpublic OtpErlangString getKey()
Operationpublic void setResult(OtpErlangObject resultRaw, boolean compressed)
OperationOperation.processResult().public OtpErlangObject getResult()
OperationOperation.setResult(OtpErlangObject, boolean).public boolean getResultCompressed()
OperationOperation.setResult(OtpErlangObject, boolean) is compressed or not.getResultCompressed in interface Operation