public final class BatchRead extends BatchRecord
BatchRecord.Type
Modifier and Type | Field and Description |
---|---|
String[] |
binNames
Bins to retrieve for this key.
|
Operation[] |
ops
Optional operations for this key.
|
BatchReadPolicy |
policy
Optional read policy.
|
boolean |
readAllBins
If true, ignore binNames and read all bins.
|
hasWrite, inDoubt, key, record, resultCode
Constructor and Description |
---|
BatchRead(BatchReadPolicy policy,
Key key,
boolean readAllBins)
Initialize batch policy, key and readAllBins indicator.
|
BatchRead(BatchReadPolicy policy,
Key key,
Operation[] ops)
Initialize batch policy, key and read operations.
|
BatchRead(BatchReadPolicy policy,
Key key,
String[] binNames)
Initialize batch policy, key and bins to retrieve.
|
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(BatchRecord obj)
Optimized reference equality check to determine batch wire protocol repeat flag.
|
BatchRecord.Type |
getType()
Return batch command type.
|
int |
size(Policy parentPolicy)
Return wire protocol size.
|
prepare, setError, setRecord, toString
public final BatchReadPolicy policy
public final String[] binNames
ops
.public final Operation[] ops
binNames
. A binName can be emulated with
Operation.get(String)
public final boolean readAllBins
public BatchRead(Key key, boolean readAllBins)
public BatchRead(BatchReadPolicy policy, Key key, String[] binNames)
public BatchRead(BatchReadPolicy policy, Key key, boolean readAllBins)
public BatchRead(BatchReadPolicy policy, Key key, Operation[] ops)
public BatchRecord.Type getType()
getType
in class BatchRecord
public boolean equals(BatchRecord obj)
equals
in class BatchRecord
public int size(Policy parentPolicy)
size
in class BatchRecord
Copyright © 2012–2024 Aerospike, Inc. All rights reserved.