Uses of Class
com.aerospike.client.AerospikeException
Packages that use AerospikeException
Package
Description
-
Uses of AerospikeException in com.aerospike.client
Subclasses of AerospikeException in com.aerospike.clientModifier and TypeClassDescriptionstatic final classException thrown when async command was rejected because the async delay queue is full.static classException thrown when node is in backoff mode due to excessive number of errors.static final classException thrown when a batch exists method fails.static final classException thrown when a batch write method fails.static final classException thrown when a batch read method fails.static final classException thrown when a multi-record transaction commit fails.static final classException thrown when client can't connect to the server.static final classException thrown when namespace is invalid.static final classException thrown when chosen node is not active.static final classException thrown when client can't parse data returned from server.static final classException thrown when query was terminated prematurely.static final classException thrown when scan was terminated prematurely.static final classException thrown when a Java serialization error occurs.static final classException thrown when database request expires before completing.Methods in com.aerospike.client that return types with arguments of type AerospikeExceptionModifier and TypeMethodDescriptionfinal List<AerospikeException> AerospikeException.getSubExceptions()Get sub exceptions.Method parameters in com.aerospike.client with type arguments of type AerospikeExceptionModifier and TypeMethodDescriptionfinal voidAerospikeException.setSubExceptions(List<AerospikeException> subExceptions) Set sub exceptions.Methods in com.aerospike.client that throw AerospikeExceptionModifier and TypeMethodDescriptionfinal voidAerospikeClient.abort(EventLoop eventLoop, AbortListener listener, Txn txn) Asynchronously abort and rollback the given multi-record transaction.voidIAerospikeClient.abort(EventLoop eventLoop, AbortListener listener, Txn txn) Asynchronously abort and rollback the given multi-record transaction.final 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.changePassword(AdminPolicy policy, String user, String password) Change user's password.voidIAerospikeClient.changePassword(AdminPolicy policy, String user, String password) Change user's password.final voidAerospikeClient.commit(EventLoop eventLoop, CommitListener listener, Txn txn) Asynchronously attempt to commit the given multi-record transaction.voidIAerospikeClient.commit(EventLoop eventLoop, CommitListener listener, Txn txn) Asynchronously attempt to commit the given multi-record transaction.static byte[]Key.computeDigest(String setName, Value key) Generate unique server hash value from set name, key type and user defined key.final voidAerospikeClient.createIndex(EventLoop eventLoop, IndexListener listener, Policy policy, String namespace, String setName, String indexName, String binName, IndexType indexType, IndexCollectionType indexCollectionType, CTX... ctx) Asynchronously create complex secondary index to be used on bins containing collections.final IndexTaskAerospikeClient.createIndex(Policy policy, String namespace, String setName, String indexName, String binName, IndexType indexType) Create scalar secondary index.final IndexTaskAerospikeClient.createIndex(Policy policy, String namespace, String setName, String indexName, String binName, IndexType indexType, IndexCollectionType indexCollectionType, CTX... ctx) Create complex secondary index to be used on bins containing collections.voidIAerospikeClient.createIndex(EventLoop eventLoop, IndexListener listener, Policy policy, String namespace, String setName, String indexName, String binName, IndexType indexType, IndexCollectionType indexCollectionType, CTX... ctx) Asynchronously create complex secondary index to be used on bins containing collections.IAerospikeClient.createIndex(Policy policy, String namespace, String setName, String indexName, String binName, IndexType indexType) Create scalar secondary index.IAerospikeClient.createIndex(Policy policy, String namespace, String setName, String indexName, String binName, IndexType indexType, IndexCollectionType indexCollectionType, CTX... ctx) Create complex secondary index to be used on bins containing collections.final voidAerospikeClient.createRole(AdminPolicy policy, String roleName, List<Privilege> privileges) Create user defined role.final voidAerospikeClient.createRole(AdminPolicy policy, String roleName, List<Privilege> privileges, List<String> whitelist) Create user defined role with optional privileges and whitelist.final voidAerospikeClient.createRole(AdminPolicy policy, String roleName, List<Privilege> privileges, List<String> whitelist, int readQuota, int writeQuota) Create user defined role with optional privileges, whitelist and read/write quotas.voidIAerospikeClient.createRole(AdminPolicy policy, String roleName, List<Privilege> privileges) Create user defined role.voidIAerospikeClient.createRole(AdminPolicy policy, String roleName, List<Privilege> privileges, List<String> whitelist) Create user defined role with optional privileges and whitelist.voidIAerospikeClient.createRole(AdminPolicy policy, String roleName, List<Privilege> privileges, List<String> whitelist, int readQuota, int writeQuota) Create user defined role with optional privileges, whitelist and read/write quotas.final voidAerospikeClient.createUser(AdminPolicy policy, String user, String password, List<String> roles) Create user with password and roles.voidIAerospikeClient.createUser(AdminPolicy policy, String user, String password, List<String> roles) Create user with password and roles.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.dropIndex(EventLoop eventLoop, IndexListener listener, Policy policy, String namespace, String setName, String indexName) Asynchronously delete secondary index.final IndexTaskDelete secondary index.voidIAerospikeClient.dropIndex(EventLoop eventLoop, IndexListener listener, Policy policy, String namespace, String setName, String indexName) Asynchronously delete secondary index.Delete secondary index.final voidAerospikeClient.dropRole(AdminPolicy policy, String roleName) Drop user defined role.voidIAerospikeClient.dropRole(AdminPolicy policy, String roleName) Drop user defined role.final voidAerospikeClient.dropUser(AdminPolicy policy, String user) Remove user from cluster.voidIAerospikeClient.dropUser(AdminPolicy policy, String user) Remove user from cluster.abstract intValue.estimateSize()Calculate number of bytes necessary to serialize the value in the wire protocol.intValue.ListValue.estimateSize()intValue.MapValue.estimateSize()intValue.SortedMapValue.estimateSize()intValue.ValueArray.estimateSize()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.final ExecuteTaskAerospikeClient.execute(WritePolicy policy, Statement statement, Operation... operations) Apply operations on records that match the background query statement filter.final ExecuteTaskAerospikeClient.execute(WritePolicy policy, Statement statement, String packageName, String functionName, Value... functionArgs) Apply user defined function on records that match the background query statement filter.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.IAerospikeClient.execute(WritePolicy policy, Statement statement, Operation... operations) Apply operations on records that match the background query statement filter.IAerospikeClient.execute(WritePolicy policy, Statement statement, String packageName, String functionName, Value... functionArgs) Apply user defined function on records that match the background query statement filter.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, BatchListListener listener, BatchPolicy policy, List<BatchRead> records) Asynchronously read multiple records for specified batch keys in one batch call.final voidAerospikeClient.get(EventLoop eventLoop, BatchSequenceListener listener, BatchPolicy policy, List<BatchRead> records) Asynchronously read multiple records for specified batch keys in one batch call.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 booleanAerospikeClient.get(BatchPolicy policy, List<BatchRead> records) Read multiple records for specified batch 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, BatchListListener listener, BatchPolicy policy, List<BatchRead> records) Asynchronously read multiple records for specified batch keys in one batch call.voidIAerospikeClient.get(EventLoop eventLoop, BatchSequenceListener listener, BatchPolicy policy, List<BatchRead> records) Asynchronously read multiple records for specified batch keys in one batch call.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.booleanIAerospikeClient.get(BatchPolicy policy, List<BatchRead> records) Read multiple records for specified batch 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.final voidAerospikeClient.grantPrivileges(AdminPolicy policy, String roleName, List<Privilege> privileges) Grant privileges to an user defined role.voidIAerospikeClient.grantPrivileges(AdminPolicy policy, String roleName, List<Privilege> privileges) Grant privileges to an user defined role.final voidAerospikeClient.grantRoles(AdminPolicy policy, String user, List<String> roles) Add roles to user's list of roles.voidIAerospikeClient.grantRoles(AdminPolicy policy, String user, List<String> roles) Add roles to user's list of roles.final voidAerospikeClient.info(EventLoop eventLoop, InfoListener listener, InfoPolicy policy, Node node, String... commands) Asynchronously make info commands.voidIAerospikeClient.info(EventLoop eventLoop, InfoListener listener, InfoPolicy policy, Node node, String... commands) Asynchronously make info commands.final voidAerospikeClient.operate(EventLoop eventLoop, BatchOperateListListener listener, BatchPolicy policy, List<BatchRecord> records) Asynchronously read/write multiple records for specified batch keys in one batch call.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, BatchRecordSequenceListener listener, BatchPolicy policy, List<BatchRecord> records) Asynchronously read/write multiple records for specified batch keys in one batch call.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 booleanAerospikeClient.operate(BatchPolicy policy, List<BatchRecord> records) Read/Write multiple records for specified batch keys in one batch call.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, BatchOperateListListener listener, BatchPolicy policy, List<BatchRecord> records) Asynchronously read/write multiple records for specified batch keys 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, BatchRecordSequenceListener listener, BatchPolicy policy, List<BatchRecord> records) Asynchronously read/write multiple records for specified batch keys in one batch call.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.booleanIAerospikeClient.operate(BatchPolicy policy, List<BatchRecord> records) Read/Write multiple records for specified batch keys in one batch call.IAerospikeClient.operate(WritePolicy policy, Key key, Operation... operations) Perform multiple read/write operations on a single key in one batch call.Info.parseMultiResponse()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).final voidAerospikeClient.query(EventLoop eventLoop, RecordSequenceListener listener, QueryPolicy policy, Statement statement) Asynchronously execute query on all server nodes.final RecordSetAerospikeClient.query(QueryPolicy policy, Statement statement) Execute query on all server nodes and return record iterator.final voidAerospikeClient.query(QueryPolicy policy, Statement statement, PartitionFilter partitionFilter, QueryListener listener) Execute query for specified partitions and return records via the listener.final voidAerospikeClient.query(QueryPolicy policy, Statement statement, QueryListener listener) Execute query on all server nodes and return records via the listener.voidIAerospikeClient.query(EventLoop eventLoop, RecordSequenceListener listener, QueryPolicy policy, Statement statement) Asynchronously execute query on all server nodes.IAerospikeClient.query(QueryPolicy policy, Statement statement) Execute query on all server nodes and return record iterator.voidIAerospikeClient.query(QueryPolicy policy, Statement statement, PartitionFilter partitionFilter, QueryListener listener) Execute query for specified partitions and return records via the listener.voidIAerospikeClient.query(QueryPolicy policy, Statement statement, QueryListener listener) Execute query on all server nodes and return records via the listener.final ResultSetAerospikeClient.queryAggregate(QueryPolicy policy, Statement statement) Execute query, apply statement's aggregation function, and return result iterator.final ResultSetAerospikeClient.queryAggregate(QueryPolicy policy, Statement statement, String packageName, String functionName, Value... functionArgs) Execute query, apply statement's aggregation function, and return result iterator.IAerospikeClient.queryAggregate(QueryPolicy policy, Statement statement) Execute query, apply statement's aggregation function, and return result iterator.IAerospikeClient.queryAggregate(QueryPolicy policy, Statement statement, String packageName, String functionName, Value... functionArgs) Execute query, apply statement's aggregation function, and return result iterator.final ResultSetAerospikeClient.queryAggregateNode(QueryPolicy policy, Statement statement, Node node) Execute query on a single server node, apply statement's aggregation function, and return result iterator.IAerospikeClient.queryAggregateNode(QueryPolicy policy, Statement statement, Node node) Execute query on a single server node, apply statement's aggregation function, and return result iterator.final RecordSetAerospikeClient.queryNode(QueryPolicy policy, Statement statement, Node node) Execute query on a single server node and return record iterator.IAerospikeClient.queryNode(QueryPolicy policy, Statement statement, Node node) Execute query on a single server node and return record iterator.final voidAerospikeClient.queryPartitions(EventLoop eventLoop, RecordSequenceListener listener, QueryPolicy policy, Statement statement, PartitionFilter partitionFilter) Asynchronously execute query for specified partitions.final RecordSetAerospikeClient.queryPartitions(QueryPolicy policy, Statement statement, PartitionFilter partitionFilter) Execute query for specified partitions and return record iterator.voidIAerospikeClient.queryPartitions(EventLoop eventLoop, RecordSequenceListener listener, QueryPolicy policy, Statement statement, PartitionFilter partitionFilter) Asynchronously execute query for specified partitions.IAerospikeClient.queryPartitions(QueryPolicy policy, Statement statement, PartitionFilter partitionFilter) Execute query for specified partitions and return record iterator.final RoleAerospikeClient.queryRole(AdminPolicy policy, String roleName) Retrieve role definition.IAerospikeClient.queryRole(AdminPolicy policy, String roleName) Retrieve role definition.AerospikeClient.queryRoles(AdminPolicy policy) Retrieve all roles.IAerospikeClient.queryRoles(AdminPolicy policy) Retrieve all roles.final UserAerospikeClient.queryUser(AdminPolicy policy, String user) Retrieve roles for a given user.IAerospikeClient.queryUser(AdminPolicy policy, String user) Retrieve roles for a given user.AerospikeClient.queryUsers(AdminPolicy policy) Retrieve all users and their roles.IAerospikeClient.queryUsers(AdminPolicy policy) Retrieve all users and their roles.final RegisterTaskAerospikeClient.register(Policy policy, ClassLoader resourceLoader, String resourcePath, String serverPath, Language language) Register package located in a resource containing user defined functions with server.final RegisterTaskRegister package located in a file containing user defined functions with server.IAerospikeClient.register(Policy policy, ClassLoader resourceLoader, String resourcePath, String serverPath, Language language) Register package located in a resource containing user defined functions with server.Register package located in a file containing user defined functions with server.final RegisterTaskAerospikeClient.registerUdfString(Policy policy, String code, String serverPath, Language language) Register UDF functions located in a code string with server.IAerospikeClient.registerUdfString(Policy policy, String code, String serverPath, Language language) Register UDF functions located in a code string with server.final voidAerospikeClient.removeUdf(InfoPolicy policy, String serverPath) Remove user defined function from server nodes.voidIAerospikeClient.removeUdf(InfoPolicy policy, String serverPath) Remove user defined function from server nodes.Info.request(com.aerospike.client.cluster.Connection conn) Get all the default info from the specified database server node.static StringGet one info value by name from the specified database server node.Get many info values by name from the specified database server node.Get many info values by name from the specified database server node.static StringGet one info value by name from the specified database server node.Info.request(InfoPolicy policy, Node node) Get default info values from the specified database server node.static StringInfo.request(InfoPolicy policy, Node node, String name) Get one info value by name from the specified database server node.Info.request(InfoPolicy policy, Node node, String... names) Get many info values by name from the specified database server node.Get default info from the specified database server node, using host name and port.static StringGet one info value by name from the specified database server node, using host name and port.Get many info values by name from the specified database server node, using host name and port.Info.request(InetSocketAddress socketAddress) Get all the default info from the specified database server node.static StringInfo.request(InetSocketAddress socketAddress, String name) Get one info value by name from the specified database server node.Info.request(InetSocketAddress socketAddress, String... names) Get many info values by name from the specified database server node.final voidAerospikeClient.revokePrivileges(AdminPolicy policy, String roleName, List<Privilege> privileges) Revoke privileges from an user defined role.voidIAerospikeClient.revokePrivileges(AdminPolicy policy, String roleName, List<Privilege> privileges) Revoke privileges from an user defined role.final voidAerospikeClient.revokeRoles(AdminPolicy policy, String user, List<String> roles) Remove roles from user's list of roles.voidIAerospikeClient.revokeRoles(AdminPolicy policy, String user, List<String> roles) Remove roles from user's list of roles.final voidAerospikeClient.scanAll(EventLoop eventLoop, RecordSequenceListener listener, ScanPolicy policy, String namespace, String setName, String... binNames) Asynchronously read all records in specified namespace and set.final voidAerospikeClient.scanAll(ScanPolicy policy, String namespace, String setName, ScanCallback callback, String... binNames) Read all records in specified namespace and set.voidIAerospikeClient.scanAll(EventLoop eventLoop, RecordSequenceListener listener, ScanPolicy policy, String namespace, String setName, String... binNames) Asynchronously read all records in specified namespace and set.voidIAerospikeClient.scanAll(ScanPolicy policy, String namespace, String setName, ScanCallback callback, String... binNames) Read all records in specified namespace and set.voidScanCallback.scanCallback(Key key, Record record) This method will be called for each record returned from a scan.final voidAerospikeClient.scanNode(ScanPolicy policy, Node node, String namespace, String setName, ScanCallback callback, String... binNames) Read all records in specified namespace and set for one node only.final voidAerospikeClient.scanNode(ScanPolicy policy, String nodeName, String namespace, String setName, ScanCallback callback, String... binNames) Read all records in specified namespace and set for one node only.voidIAerospikeClient.scanNode(ScanPolicy policy, Node node, String namespace, String setName, ScanCallback callback, String... binNames) Read all records in specified namespace and set for one node only.voidIAerospikeClient.scanNode(ScanPolicy policy, String nodeName, String namespace, String setName, ScanCallback callback, String... binNames) Read all records in specified namespace and set for one node only.final voidAerospikeClient.scanPartitions(EventLoop eventLoop, RecordSequenceListener listener, ScanPolicy policy, PartitionFilter partitionFilter, String namespace, String setName, String... binNames) Asynchronously read records in specified namespace, set and partition filter.final voidAerospikeClient.scanPartitions(ScanPolicy policy, PartitionFilter partitionFilter, String namespace, String setName, ScanCallback callback, String... binNames) Read records in specified namespace, set and partition filter.voidIAerospikeClient.scanPartitions(EventLoop eventLoop, RecordSequenceListener listener, ScanPolicy policy, PartitionFilter partitionFilter, String namespace, String setName, String... binNames) Asynchronously read records in specified namespace, set and partition filter.voidIAerospikeClient.scanPartitions(ScanPolicy policy, PartitionFilter partitionFilter, String namespace, String setName, ScanCallback callback, String... binNames) Read records in specified namespace, set and partition filter.final voidAerospikeClient.setQuotas(AdminPolicy policy, String roleName, int readQuota, int writeQuota) Set maximum reads/writes per second limits for a role.voidIAerospikeClient.setQuotas(AdminPolicy policy, String roleName, int readQuota, int writeQuota) Set maximum reads/writes per second limits for a role.final voidAerospikeClient.setWhitelist(AdminPolicy policy, String roleName, List<String> whitelist) Set IP address whitelist for a role.voidIAerospikeClient.setWhitelist(AdminPolicy policy, String roleName, List<String> whitelist) Set IP address whitelist for a role.final voidAerospikeClient.setXDRFilter(InfoPolicy policy, String datacenter, String namespace, Expression filter) Set XDR filter for given datacenter name and namespace.voidIAerospikeClient.setXDRFilter(InfoPolicy policy, String datacenter, String namespace, Expression filter) Set XDR filter for given datacenter name and namespace.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.final voidAerospikeClient.truncate(InfoPolicy policy, String ns, String set, Calendar beforeLastUpdate) Remove records in specified namespace/set efficiently.voidIAerospikeClient.truncate(InfoPolicy policy, String ns, String set, Calendar beforeLastUpdate) Remove records in specified namespace/set efficiently.voidValue.validateKeyType()Validate if value type can be used as a key.abstract intValue.write(byte[] buffer, int offset) Serialize the value in the wire protocol.Constructors in com.aerospike.client that throw AerospikeExceptionModifierConstructorDescriptionAerospikeClient(ClientPolicy policy, Host... hosts) Initialize Aerospike client with suitable hosts to seed the cluster map.AerospikeClient(ClientPolicy policy, String hostname, int port) Initialize Aerospike client.AerospikeClient(String hostname, int port) Initialize Aerospike client.Info(com.aerospike.client.cluster.Connection conn) Send default empty command to server and store results.Send single command to server and store results.Send multiple commands to server and store results.Send multiple commands to server and store results.Initialize key from namespace, optional set name and user key.Initialize key from namespace, optional set name and user key.Initialize key from namespace, optional set name and user key.Initialize key from namespace, optional set name and user key.Initialize key from namespace, optional set name and user key.Initialize key from namespace, optional set name and user key. -
Uses of AerospikeException in com.aerospike.client.async
Constructors in com.aerospike.client.async that throw AerospikeExceptionModifierConstructorDescriptionCreate direct NIO event loops, one per CPU core.NioEventLoops(int size) Create direct NIO event loops.NioEventLoops(EventPolicy policy, int size) Create direct NIO event loops.NioEventLoops(EventPolicy policy, int size, boolean daemon, String poolName) Create direct NIO event loops. -
Uses of AerospikeException in com.aerospike.client.listener
Methods in com.aerospike.client.listener with parameters of type AerospikeExceptionModifier and TypeMethodDescriptionvoidBatchListListener.onFailure(AerospikeException ae) This method is called when the command fails.voidBatchOperateListListener.onFailure(AerospikeException ae) This method is called when the command fails.voidBatchRecordArrayListener.onFailure(BatchRecord[] records, AerospikeException ae) This method is called when one or more keys fail.voidBatchRecordSequenceListener.onFailure(AerospikeException ae) This method is called when the command fails.voidBatchSequenceListener.onFailure(AerospikeException ae) This method is called when the command fails.voidClusterStatsListener.onFailure(AerospikeException ae) This method is called when command fails.voidDeleteListener.onFailure(AerospikeException ae) This method is called when an asynchronous delete command fails.voidExecuteListener.onFailure(AerospikeException ae) This method is called when an asynchronous execute command fails.voidExistsArrayListener.onFailure(AerospikeException ae) This method is called when the command fails.voidExistsListener.onFailure(AerospikeException ae) This method is called when an asynchronous exists command fails.voidExistsSequenceListener.onFailure(AerospikeException ae) This method is called when an asynchronous batch exists command fails.voidIndexListener.onFailure(AerospikeException ae) This method is called when an asynchronous command fails.voidInfoListener.onFailure(AerospikeException ae) This method is called when an asynchronous info command fails.voidRecordArrayListener.onFailure(AerospikeException ae) This method is called when the command fails.voidRecordListener.onFailure(AerospikeException ae) This method is called when an asynchronous get or operate command fails.voidRecordSequenceListener.onFailure(AerospikeException ae) This method is called when an asynchronous batch get or scan command fails.voidTaskStatusListener.onFailure(AerospikeException ae) This method is called when an asynchronous command fails.voidWriteListener.onFailure(AerospikeException ae) This method is called when an asynchronous write command fails.Methods in com.aerospike.client.listener that throw AerospikeException -
Uses of AerospikeException in com.aerospike.client.query
Methods in com.aerospike.client.query that throw AerospikeException -
Uses of AerospikeException in com.aerospike.client.task
Methods in com.aerospike.client.task that throw AerospikeExceptionModifier and TypeMethodDescriptionintExecuteTask.queryStatus()Query all nodes for task completion status.intRegisterTask.queryStatus()Query all nodes for task completion status.