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, wait
processResultSingle
getErlang, processResult
public PartialReadOp(OtpErlangString key)
key
- the key to readpublic PartialReadOp(String key)
key
- the key to readpublic OtpErlangString getKey()
Operation
public void setResult(OtpErlangObject resultRaw, boolean compressed)
Operation
Operation.processResult()
.public OtpErlangObject getResult()
Operation
Operation.setResult(OtpErlangObject, boolean)
.public boolean getResultCompressed()
Operation
Operation.setResult(OtpErlangObject, boolean)
is compressed or not.getResultCompressed
in interface Operation