public final class BatchRead extends Object
Modifier and Type | Field and Description |
---|---|
String[] |
binNames
Bins to retrieve for this key.
|
Key |
key
Key.
|
Operation[] |
ops
Read operations for this key.
|
boolean |
readAllBins
If true, ignore binNames and read all bins.
|
Record |
record
Record result after batch command has completed.
|
Constructor and Description |
---|
BatchRead(Key key,
boolean readAllBins)
Initialize batch key and readAllBins indicator.
|
BatchRead(Key key,
Operation[] ops)
Initialize batch key and read operations.
|
BatchRead(Key key,
String[] binNames)
Initialize batch key and bins to retrieve.
|
public final Key key
public final String[] binNames
public final Operation[] ops
Operation.get(String)
public final boolean readAllBins
public Record record
public BatchRead(Key key, String[] binNames)
key
- record keybinNames
- array of bins to retrieve.public BatchRead(Key key, Operation[] ops)
key
- record keyops
- read operations to run.public BatchRead(Key key, boolean readAllBins)
key
- record keyreadAllBins
- should all bins in record be retrieved.Copyright © 2012–2023 Aerospike, Inc. All rights reserved.