update missing commands in binary transaction
This commit is contained in:
@@ -427,18 +427,24 @@ public class BinaryTransaction {
|
|||||||
return client.getStatusCodeReply();
|
return client.getStatusCodeReply();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String sort(final byte[] key, final SortingParams sortingParameters,
|
||||||
|
final byte[] dstkey) {
|
||||||
|
client.sort(key, sortingParameters, dstkey);
|
||||||
|
return client.getStatusCodeReply();
|
||||||
|
}
|
||||||
|
|
||||||
public String discard() {
|
public String discard() {
|
||||||
client.discard();
|
client.discard();
|
||||||
inTransaction = false;
|
inTransaction = false;
|
||||||
return client.getStatusCodeReply();
|
return client.getStatusCodeReply();
|
||||||
}
|
}
|
||||||
|
|
||||||
public String setbit(byte[] key, int offset, byte[] value) {
|
public String setbit(byte[] key, long offset, byte[] value) {
|
||||||
client.setbit(key, offset, value);
|
client.setbit(key, offset, value);
|
||||||
return client.getStatusCodeReply();
|
return client.getStatusCodeReply();
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getbit(byte[] key, int offset) {
|
public String getbit(byte[] key, long offset) {
|
||||||
client.getbit(key, offset);
|
client.getbit(key, offset);
|
||||||
return client.getStatusCodeReply();
|
return client.getStatusCodeReply();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user