Uses of Class
com.aerospike.client.Key
Packages that use Key
-
Uses of Key in com.aerospike.client
Fields in com.aerospike.client declared as KeyMethods in com.aerospike.client that return types with arguments of type KeyModifier and TypeMethodDescriptionTxn.getReads()Get all read keys and their versions.Txn.getWrites()Get all write keys and their versions.Methods in com.aerospike.client with parameters of type KeyModifier and TypeMethodDescriptionfinal voidAerospikeClient.add(EventLoop eventLoop, WriteListener listener, WritePolicy policy, Key key, Bin... bins) Asynchronously add integer/double bin values to record bin values.final voidAerospikeClient.add(WritePolicy policy, Key key, Bin... bins) Add integer/double bin values to record bin values.voidIAerospikeClient.add(EventLoop eventLoop, WriteListener listener, WritePolicy policy, Key key, Bin... bins) Asynchronously add integer bin values to existing record bin values.voidIAerospikeClient.add(WritePolicy policy, Key key, Bin... bins) Add integer bin values to existing record bin values.final voidAerospikeClient.append(EventLoop eventLoop, WriteListener listener, WritePolicy policy, Key key, Bin... bins) Asynchronously append bin string values to existing record bin values.final voidAerospikeClient.append(WritePolicy policy, Key key, Bin... bins) Append bin string values to existing record bin values.voidIAerospikeClient.append(EventLoop eventLoop, WriteListener listener, WritePolicy policy, Key key, Bin... bins) Asynchronously append bin string values to existing record bin values.voidIAerospikeClient.append(WritePolicy policy, Key key, Bin... bins) Append bin string values to existing record bin values.final voidAerospikeClient.delete(EventLoop eventLoop, BatchRecordArrayListener listener, BatchPolicy batchPolicy, BatchDeletePolicy deletePolicy, Key[] keys) Asynchronously delete records for specified keys.final voidAerospikeClient.delete(EventLoop eventLoop, BatchRecordSequenceListener listener, BatchPolicy batchPolicy, BatchDeletePolicy deletePolicy, Key[] keys) Asynchronously delete records for specified keys.final voidAerospikeClient.delete(EventLoop eventLoop, DeleteListener listener, WritePolicy policy, Key key) Asynchronously delete record for specified key.final BatchResultsAerospikeClient.delete(BatchPolicy batchPolicy, BatchDeletePolicy deletePolicy, Key[] keys) Delete records for specified keys.final booleanAerospikeClient.delete(WritePolicy policy, Key key) Delete record for specified key.voidIAerospikeClient.delete(EventLoop eventLoop, BatchRecordArrayListener listener, BatchPolicy batchPolicy, BatchDeletePolicy deletePolicy, Key[] keys) Asynchronously delete records for specified keys.voidIAerospikeClient.delete(EventLoop eventLoop, BatchRecordSequenceListener listener, BatchPolicy batchPolicy, BatchDeletePolicy deletePolicy, Key[] keys) Asynchronously delete records for specified keys.voidIAerospikeClient.delete(EventLoop eventLoop, DeleteListener listener, WritePolicy policy, Key key) Asynchronously delete record for specified key.IAerospikeClient.delete(BatchPolicy batchPolicy, BatchDeletePolicy deletePolicy, Key[] keys) Delete records for specified keys.booleanIAerospikeClient.delete(WritePolicy policy, Key key) Delete record for specified key.final voidAerospikeClient.execute(EventLoop eventLoop, BatchRecordArrayListener listener, BatchPolicy batchPolicy, BatchUDFPolicy udfPolicy, Key[] keys, String packageName, String functionName, Value... functionArgs) Asynchronously execute user defined function on server for each key and return results.final voidAerospikeClient.execute(EventLoop eventLoop, BatchRecordSequenceListener listener, BatchPolicy batchPolicy, BatchUDFPolicy udfPolicy, Key[] keys, String packageName, String functionName, Value... functionArgs) Asynchronously execute user defined function on server for each key and return results.final voidAerospikeClient.execute(EventLoop eventLoop, ExecuteListener listener, WritePolicy policy, Key key, String packageName, String functionName, Value... functionArgs) Asynchronously execute user defined function on server.final BatchResultsAerospikeClient.execute(BatchPolicy batchPolicy, BatchUDFPolicy udfPolicy, Key[] keys, String packageName, String functionName, Value... functionArgs) Execute user defined function on server for each key and return results.final ObjectAerospikeClient.execute(WritePolicy policy, Key key, String packageName, String functionName, Value... functionArgs) Execute user defined function on server and return results.voidIAerospikeClient.execute(EventLoop eventLoop, BatchRecordArrayListener listener, BatchPolicy batchPolicy, BatchUDFPolicy udfPolicy, Key[] keys, String packageName, String functionName, Value... functionArgs) Asynchronously execute user defined function on server for each key and return results.voidIAerospikeClient.execute(EventLoop eventLoop, BatchRecordSequenceListener listener, BatchPolicy batchPolicy, BatchUDFPolicy udfPolicy, Key[] keys, String packageName, String functionName, Value... functionArgs) Asynchronously execute user defined function on server for each key and return results.voidIAerospikeClient.execute(EventLoop eventLoop, ExecuteListener listener, WritePolicy policy, Key key, String packageName, String functionName, Value... functionArgs) Asynchronously execute user defined function on server.IAerospikeClient.execute(BatchPolicy batchPolicy, BatchUDFPolicy udfPolicy, Key[] keys, String packageName, String functionName, Value... functionArgs) Execute user defined function on server for each key and return results.IAerospikeClient.execute(WritePolicy policy, Key key, String packageName, String functionName, Value... args) Execute user defined function on server and return results.final voidAerospikeClient.exists(EventLoop eventLoop, ExistsArrayListener listener, BatchPolicy policy, Key[] keys) Asynchronously check if multiple record keys exist in one batch call.final voidAerospikeClient.exists(EventLoop eventLoop, ExistsListener listener, Policy policy, Key key) Asynchronously determine if a record key exists.final voidAerospikeClient.exists(EventLoop eventLoop, ExistsSequenceListener listener, BatchPolicy policy, Key[] keys) Asynchronously check if multiple record keys exist in one batch call.final boolean[]AerospikeClient.exists(BatchPolicy policy, Key[] keys) Check if multiple record keys exist in one batch call.final booleanDetermine if a record key exists.voidIAerospikeClient.exists(EventLoop eventLoop, ExistsArrayListener listener, BatchPolicy policy, Key[] keys) Asynchronously check if multiple record keys exist in one batch call.voidIAerospikeClient.exists(EventLoop eventLoop, ExistsListener listener, Policy policy, Key key) Asynchronously determine if a record key exists.voidIAerospikeClient.exists(EventLoop eventLoop, ExistsSequenceListener listener, BatchPolicy policy, Key[] keys) Asynchronously check if multiple record keys exist in one batch call.boolean[]IAerospikeClient.exists(BatchPolicy policy, Key[] keys) Check if multiple record keys exist in one batch call.booleanDetermine if a record key exists.final voidAerospikeClient.get(EventLoop eventLoop, RecordArrayListener listener, BatchPolicy policy, Key[] keys) Asynchronously read multiple records for specified keys in one batch call.final voidAerospikeClient.get(EventLoop eventLoop, RecordArrayListener listener, BatchPolicy policy, Key[] keys, Operation... ops) Asynchronously read multiple records for specified keys using read operations in one batch call.final voidAerospikeClient.get(EventLoop eventLoop, RecordArrayListener listener, BatchPolicy policy, Key[] keys, String... binNames) Asynchronously read multiple record headers and bins for specified keys in one batch call.final voidAerospikeClient.get(EventLoop eventLoop, RecordListener listener, Policy policy, Key key) Asynchronously read entire record for specified key.final voidAerospikeClient.get(EventLoop eventLoop, RecordListener listener, Policy policy, Key key, String... binNames) Asynchronously read record header and bins for specified key.final voidAerospikeClient.get(EventLoop eventLoop, RecordSequenceListener listener, BatchPolicy policy, Key[] keys) Asynchronously read multiple records for specified keys in one batch call.final voidAerospikeClient.get(EventLoop eventLoop, RecordSequenceListener listener, BatchPolicy policy, Key[] keys, Operation... ops) Asynchronously read multiple records for specified keys using read operations in one batch call.final voidAerospikeClient.get(EventLoop eventLoop, RecordSequenceListener listener, BatchPolicy policy, Key[] keys, String... binNames) Asynchronously read multiple record headers and bins for specified keys in one batch call.final Record[]AerospikeClient.get(BatchPolicy policy, Key[] keys) Read multiple records for specified keys in one batch call.final Record[]AerospikeClient.get(BatchPolicy policy, Key[] keys, Operation... ops) Read multiple records for specified keys using read operations in one batch call.final Record[]AerospikeClient.get(BatchPolicy policy, Key[] keys, String... binNames) Read multiple record headers and bins for specified keys in one batch call.final RecordRead entire record for specified key.final RecordRead record header and bins for specified key.voidIAerospikeClient.get(EventLoop eventLoop, RecordArrayListener listener, BatchPolicy policy, Key[] keys) Asynchronously read multiple records for specified keys in one batch call.voidIAerospikeClient.get(EventLoop eventLoop, RecordArrayListener listener, BatchPolicy policy, Key[] keys, Operation... ops) Asynchronously read multiple records for specified keys using read operations in one batch call.voidIAerospikeClient.get(EventLoop eventLoop, RecordArrayListener listener, BatchPolicy policy, Key[] keys, String... binNames) Asynchronously read multiple record headers and bins for specified keys in one batch call.voidIAerospikeClient.get(EventLoop eventLoop, RecordListener listener, Policy policy, Key key) Asynchronously read entire record for specified key.voidIAerospikeClient.get(EventLoop eventLoop, RecordListener listener, Policy policy, Key key, String... binNames) Asynchronously read record header and bins for specified key.voidIAerospikeClient.get(EventLoop eventLoop, RecordSequenceListener listener, BatchPolicy policy, Key[] keys) Asynchronously read multiple records for specified keys in one batch call.voidIAerospikeClient.get(EventLoop eventLoop, RecordSequenceListener listener, BatchPolicy policy, Key[] keys, Operation... ops) Asynchronously read multiple records for specified keys using read operations in one batch call.voidIAerospikeClient.get(EventLoop eventLoop, RecordSequenceListener listener, BatchPolicy policy, Key[] keys, String... binNames) Asynchronously read multiple record headers and bins for specified keys in one batch call.Record[]IAerospikeClient.get(BatchPolicy policy, Key[] keys) Read multiple records for specified keys in one batch call.Record[]IAerospikeClient.get(BatchPolicy policy, Key[] keys, Operation... ops) Read multiple records for specified keys using read operations in one batch call.Record[]IAerospikeClient.get(BatchPolicy policy, Key[] keys, String... binNames) Read multiple record headers and bins for specified keys in one batch call.Read entire record for specified key.Read record header and bins for specified key.final voidAerospikeClient.getHeader(EventLoop eventLoop, RecordArrayListener listener, BatchPolicy policy, Key[] keys) Asynchronously read multiple record header data for specified keys in one batch call.final voidAerospikeClient.getHeader(EventLoop eventLoop, RecordListener listener, Policy policy, Key key) Asynchronously read record generation and expiration only for specified key.final voidAerospikeClient.getHeader(EventLoop eventLoop, RecordSequenceListener listener, BatchPolicy policy, Key[] keys) Asynchronously read multiple record header data for specified keys in one batch call.final Record[]AerospikeClient.getHeader(BatchPolicy policy, Key[] keys) Read multiple record header data for specified keys in one batch call.final RecordRead record generation and expiration only for specified key.voidIAerospikeClient.getHeader(EventLoop eventLoop, RecordArrayListener listener, BatchPolicy policy, Key[] keys) Asynchronously read multiple record header data for specified keys in one batch call.voidIAerospikeClient.getHeader(EventLoop eventLoop, RecordListener listener, Policy policy, Key key) Asynchronously read record generation and expiration only for specified key.voidIAerospikeClient.getHeader(EventLoop eventLoop, RecordSequenceListener listener, BatchPolicy policy, Key[] keys) Asynchronously read multiple record header data for specified keys in one batch call.Record[]IAerospikeClient.getHeader(BatchPolicy policy, Key[] keys) Read multiple record header data for specified keys in one batch call.Read record generation and expiration only for specified key.Txn.getReadVersion(Key key) Get record version for a given key.voidProcess the results of a record read.voidProcess the results of a record write.voidTxn.onWriteInDoubt(Key key) Add key to write hash when write command is in doubt (usually caused by timeout).final voidAerospikeClient.operate(EventLoop eventLoop, BatchRecordArrayListener listener, BatchPolicy batchPolicy, BatchWritePolicy writePolicy, Key[] keys, Operation... ops) Asynchronously perform read/write operations on multiple keys.final voidAerospikeClient.operate(EventLoop eventLoop, BatchRecordSequenceListener listener, BatchPolicy batchPolicy, BatchWritePolicy writePolicy, Key[] keys, Operation... ops) Asynchronously perform read/write operations on multiple keys.final voidAerospikeClient.operate(EventLoop eventLoop, RecordListener listener, WritePolicy policy, Key key, Operation... operations) Asynchronously perform multiple read/write operations on a single key in one batch call.final BatchResultsAerospikeClient.operate(BatchPolicy batchPolicy, BatchWritePolicy writePolicy, Key[] keys, Operation... ops) Perform read/write operations on multiple keys.final RecordAerospikeClient.operate(WritePolicy policy, Key key, Operation... operations) Perform multiple read/write operations on a single key in one batch call.voidIAerospikeClient.operate(EventLoop eventLoop, BatchRecordArrayListener listener, BatchPolicy batchPolicy, BatchWritePolicy writePolicy, Key[] keys, Operation... ops) Asynchronously perform read/write operations on multiple keys.voidIAerospikeClient.operate(EventLoop eventLoop, BatchRecordSequenceListener listener, BatchPolicy batchPolicy, BatchWritePolicy writePolicy, Key[] keys, Operation... ops) Asynchronously perform read/write operations on multiple keys.voidIAerospikeClient.operate(EventLoop eventLoop, RecordListener listener, WritePolicy policy, Key key, Operation... operations) Asynchronously perform multiple read/write operations on a single key in one batch call.IAerospikeClient.operate(BatchPolicy batchPolicy, BatchWritePolicy writePolicy, Key[] keys, Operation... ops) Perform read/write operations on multiple keys.IAerospikeClient.operate(WritePolicy policy, Key key, Operation... operations) Perform multiple read/write operations on a single key in one batch call.final voidAerospikeClient.prepend(EventLoop eventLoop, WriteListener listener, WritePolicy policy, Key key, Bin... bins) Asynchronously prepend bin string values to existing record bin values.final voidAerospikeClient.prepend(WritePolicy policy, Key key, Bin... bins) Prepend bin string values to existing record bin values.voidIAerospikeClient.prepend(EventLoop eventLoop, WriteListener listener, WritePolicy policy, Key key, Bin... bins) Asynchronously prepend bin string values to existing record bin values.voidIAerospikeClient.prepend(WritePolicy policy, Key key, Bin... bins) Prepend bin string values to existing record bin values.final voidAerospikeClient.put(EventLoop eventLoop, WriteListener listener, WritePolicy policy, Key key, Bin... bins) Asynchronously write record bin(s).final voidAerospikeClient.put(WritePolicy policy, Key key, Bin... bins) Write record bin(s).voidIAerospikeClient.put(EventLoop eventLoop, WriteListener listener, WritePolicy policy, Key key, Bin... bins) Asynchronously write record bin(s).voidIAerospikeClient.put(WritePolicy policy, Key key, Bin... bins) Write record bin(s).voidScanCallback.scanCallback(Key key, Record record) This method will be called for each record returned from a scan.final voidAerospikeClient.touch(EventLoop eventLoop, WriteListener listener, WritePolicy policy, Key key) Asynchronously reset record's time to expiration using the policy's expiration.final voidAerospikeClient.touch(WritePolicy policy, Key key) Reset record's time to expiration using the policy's expiration.voidIAerospikeClient.touch(EventLoop eventLoop, WriteListener listener, WritePolicy policy, Key key) Asynchronously reset record's time to expiration using the policy's expiration.voidIAerospikeClient.touch(WritePolicy policy, Key key) Reset record's time to expiration using the policy's expiration.final voidAerospikeClient.touched(EventLoop eventLoop, ExistsListener listener, WritePolicy policy, Key key) Asynchronously reset record's time to expiration using the policy's expiration.final booleanAerospikeClient.touched(WritePolicy policy, Key key) Reset record's time to expiration using the policy's expiration.voidIAerospikeClient.touched(EventLoop eventLoop, ExistsListener listener, WritePolicy policy, Key key) Asynchronously reset record's time to expiration using the policy's expiration.booleanIAerospikeClient.touched(WritePolicy policy, Key key) Reset record's time to expiration using the policy's expiration.Constructors in com.aerospike.client with parameters of type KeyModifierConstructorDescriptionBatchDelete(Key key) Initialize key.BatchDelete(BatchDeletePolicy policy, Key key) Initialize policy and key.Initialize batch key and readAllBins indicator.Initialize batch key and read operations.Initialize batch key and bins to retrieve.BatchRead(BatchReadPolicy policy, Key key, boolean readAllBins) Initialize batch policy, key and readAllBins indicator.BatchRead(BatchReadPolicy policy, Key key, Operation[] ops) Initialize batch policy, key and read operations.BatchRead(BatchReadPolicy policy, Key key, String[] binNames) Initialize batch policy, key and bins to retrieve.BatchRecord(Key key, boolean hasWrite) Initialize batch key.BatchRecord(Key key, Record record, boolean hasWrite) Initialize batch key and record.BatchRecord(Key key, Record record, int resultCode, boolean inDoubt, boolean hasWrite) Error constructor.Constructor using default policy.BatchUDF(BatchUDFPolicy policy, Key key, String packageName, String functionName, Value[] functionArgs) Constructor using specified policy.BatchWrite(Key key, Operation[] ops) Initialize batch key and read/write operations.BatchWrite(BatchWritePolicy policy, Key key, Operation[] ops) Initialize policy, batch key and read/write operations. -
Uses of Key in com.aerospike.client.listener
Methods in com.aerospike.client.listener with parameters of type KeyModifier and TypeMethodDescriptionvoidThis method is called when an asynchronous batch exists result is received from the server.voidThis method is called when an asynchronous record is received from the server.voidThis method is called when an asynchronous delete command completes successfully.voidThis method is called when an asynchronous execute command completes successfully.voidThis method is called when the command completes successfully.voidThis method is called when an asynchronous exists command completes successfully.voidThis method is called when the command completes successfully.voidThis method is called when an asynchronous get or operate command completes successfully.voidThis method is called when an asynchronous write command completes successfully. -
Uses of Key in com.aerospike.client.query
Methods in com.aerospike.client.query that return KeyMethods in com.aerospike.client.query with parameters of type Key