Package com.aerospike.client.exp
Class ExpOperation
java.lang.Object
com.aerospike.client.exp.ExpOperation
Expression operations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Operationread(String name, Expression exp, int flags) Create operation that performs a read expression.static Operationwrite(String binName, Expression exp, int flags) Create operation that performs an expression that writes to a record bin.
-
Constructor Details
-
ExpOperation
public ExpOperation()
-
-
Method Details
-
write
Create operation that performs an expression that writes to a record bin. Requires server version 5.6.0+.- Parameters:
binName- name of bin to store expression resultexp- expression to evaluateflags- expression write flags. SeeExpWriteFlags
-
read
Create operation that performs a read expression. Requires server version 5.6.0+.- Parameters:
name- variable name of read expression result. This name can be used as the bin name when retrieving bin results from the record.exp- expression to evaluateflags- expression read flags. SeeExpReadFlags
-