2324252627282930
* @param name bin name * @param value filter value * @return filter instance */ public static Filter equal(String name, long value) { Value val = Value.get(value); return new Filter(name, val, val); }
3536373839404142
* @param name bin name * @param value filter value * @return filter instance */ public static Filter equal(String name, String value) { Value val = Value.get(value); return new Filter(name, val, val); }
164165166167168169170171172173174175
packNil(); return; } if (obj instanceof Value) { Value value = (Value) obj; value.pack(this); return; } if (obj instanceof byte[]) { packBytes((byte[]) obj);
3031323334353637
4243444546474849
159160161162163164165166167168169170
197198199200201202203204205206207208
if (obj instanceof LuaValue) { return (LuaValue) obj; } if (obj instanceof Value) { Value value = (Value) obj; return value.getLuaValue(this); } if (obj instanceof byte[]) { return new LuaBytes(this, (byte[]) obj); }
6667686970717273747576
protected final Key parseKey(int fieldCount) throws AerospikeException, IOException { byte[] digest = null; String namespace = null; String setName = null; Value userKey = null; for (int i = 0; i < fieldCount; i++) { readBytes(4); int fieldlen = Buffer.bytesToInt(dataBuffer, 0); readBytes(fieldlen);
164165166167168169170171172173174
protected final Key parseKey() throws AerospikeException { byte[] digest = null; String namespace = null; String setName = null; Value userKey = null; for (int i = 0; i < fieldCount; i++) { int fieldlen = Buffer.bytesToInt(receiveBuffer, receiveOffset); receiveOffset += 4;