public final class ExpOperation extends Object
Constructor and Description |
---|
ExpOperation() |
Modifier and Type | Method and Description |
---|---|
static Operation |
read(String name,
Expression exp,
int flags)
Create operation that performs a read expression.
|
static Operation |
write(String binName,
Expression exp,
int flags)
Create operation that performs an expression that writes to a record bin.
|
public static Operation write(String binName, Expression exp, int flags)
binName
- name of bin to store expression resultexp
- expression to evaluateflags
- expression write flags. See ExpWriteFlags
public static Operation read(String name, Expression exp, int flags)
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. See ExpReadFlags
Copyright © 2012–2024 Aerospike, Inc. All rights reserved.