|
||||||||||
| 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 read| Method Detail |
|---|
public OtpErlangString getKey()
Operation
getKey in interface Operation
public void setResult(OtpErlangObject resultRaw,
boolean compressed)
OperationOperation.processResult().
setResult in interface OperationresultRaw - the resultcompressed - whether the value inside the result is compressed or notpublic OtpErlangObject getResult()
OperationOperation.setResult(OtpErlangObject, boolean).
getResult in interface Operationpublic boolean getResultCompressed()
OperationOperation.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 | |||||||||