|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.zib.scalaris.operations.PartialReadOp
public abstract class PartialReadOp
Operation reading a partial value.
Constructor Summary | |
---|---|
PartialReadOp(OtpErlangString key)
Constructor |
|
PartialReadOp(String key)
Constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.zib.scalaris.operations.TransactionSingleOpOperation |
---|
processResultSingle |
Methods inherited from interface de.zib.scalaris.operations.Operation |
---|
getErlang, processResult |
Constructor Detail |
---|
public PartialReadOp(OtpErlangString key)
key
- the key to readpublic PartialReadOp(String key)
key
- the key to readMethod Detail |
---|
public OtpErlangString getKey()
Operation
getKey
in interface Operation
public void setResult(OtpErlangObject resultRaw, boolean compressed)
Operation
Operation.processResult()
.
setResult
in interface Operation
resultRaw
- the resultcompressed
- whether the value inside the result is compressed or notpublic OtpErlangObject getResult()
Operation
Operation.setResult(OtpErlangObject, boolean)
.
getResult
in interface Operation
public boolean getResultCompressed()
Operation
Operation.setResult(OtpErlangObject, boolean)
is compressed or not.
getResultCompressed
in interface Operation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |