Package com.aerospike.client
Class BatchUDF
java.lang.Object
com.aerospike.client.BatchRecord
com.aerospike.client.BatchUDF
Batch user defined functions.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.aerospike.client.BatchRecord
BatchRecord.Type
-
Field Summary
Modifier and TypeFieldDescriptionbyte[]
Wire protocol bytes for function args.final Value[]
Optional arguments to lua function.final String
Lua function name.final String
Package or lua module name.final BatchUDFPolicy
Optional UDF policy.Fields inherited from class com.aerospike.client.BatchRecord
hasWrite, inDoubt, key, record, resultCode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
equals
(BatchRecord obj) Optimized reference equality check to determine batch wire protocol repeat flag.getType()
Return batch command type.int
Return wire protocol size.Methods inherited from class com.aerospike.client.BatchRecord
prepare, setError, setRecord, toString
-
Field Details
-
policy
Optional UDF policy. -
packageName
Package or lua module name. -
functionName
Lua function name. -
functionArgs
Optional arguments to lua function. -
argBytes
public byte[] argBytesWire protocol bytes for function args. For internal use only.
-
-
Constructor Details
-
BatchUDF
Constructor using default policy. -
BatchUDF
public BatchUDF(BatchUDFPolicy policy, Key key, String packageName, String functionName, Value[] functionArgs) Constructor using specified policy.
-
-
Method Details
-
getType
Return batch command type.- Overrides:
getType
in classBatchRecord
-
equals
Optimized reference equality check to determine batch wire protocol repeat flag. For internal use only.- Overrides:
equals
in classBatchRecord
-
size
Return wire protocol size. For internal use only.- Overrides:
size
in classBatchRecord
-