public static class TarantoolSelectRequest.Builder extends TarantoolRequest.Builder<TarantoolSelectRequest.Builder>
signature
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TarantoolSelectRequest |
build(MessagePackObjectMapper mapper)
Build a
TarantoolSelectRequest instance |
protected TarantoolSelectRequest.Builder |
self() |
TarantoolSelectRequest.Builder |
withIndexId(int indexId)
Specify tarantool index ID for operation
|
TarantoolSelectRequest.Builder |
withIteratorType(TarantoolIteratorType iteratorType)
Specify iterator type
|
TarantoolSelectRequest.Builder |
withKeyValues(List<?> keyValues)
Specify key values to be matched against the index key
|
TarantoolSelectRequest.Builder |
withLimit(long limit)
Specify the maximum number of tuples returned by the request.
|
TarantoolSelectRequest.Builder |
withOffset(long offset)
Specify the offset of the first tuple returned by the request
|
TarantoolSelectRequest.Builder |
withSpaceId(int spaceId)
Specify tarantool space ID for operation
|
withSignature
protected TarantoolSelectRequest.Builder self()
self
in class TarantoolRequest.Builder<TarantoolSelectRequest.Builder>
public TarantoolSelectRequest.Builder withSpaceId(int spaceId)
spaceId
- tarantool space IDpublic TarantoolSelectRequest.Builder withIndexId(int indexId)
indexId
- tarantool index IDpublic TarantoolSelectRequest.Builder withLimit(long limit)
limit
- numberpublic TarantoolSelectRequest.Builder withOffset(long offset)
offset
- numberpublic TarantoolSelectRequest.Builder withIteratorType(TarantoolIteratorType iteratorType)
iteratorType
- iterator typepublic TarantoolSelectRequest.Builder withKeyValues(List<?> keyValues)
keyValues
- key valuepublic TarantoolSelectRequest build(MessagePackObjectMapper mapper) throws TarantoolProtocolException
TarantoolSelectRequest
instancemapper
- configured MessagePackObjectMapper
instanceTarantoolProtocolException
- if some required params is missingCopyright © 2025 Picodata. All rights reserved.