Package io.tarantool.driver.core.proxy
Class TruncateProxyOperation.Builder
- java.lang.Object
-
- io.tarantool.driver.core.proxy.TruncateProxyOperation.Builder
-
- Enclosing class:
- TruncateProxyOperation
public static final class TruncateProxyOperation.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TruncateProxyOperationbuild()Prepare request of truncate operation to Tarantool serverTruncateProxyOperation.BuilderwithClient(TarantoolCallOperations client)Specify a client for sending and receiving requests from Tarantool serverTruncateProxyOperation.BuilderwithFunctionName(String functionName)Specify name of the Tarantool server function called through preparing requestTruncateProxyOperation.BuilderwithRequestTimeout(int requestTimeout)Specify response reading timeout.TruncateProxyOperation.BuilderwithSpaceName(String spaceName)Specify name of Tarantool server space to work with
-
-
-
Method Detail
-
withClient
public TruncateProxyOperation.Builder withClient(TarantoolCallOperations client)
Specify a client for sending and receiving requests from Tarantool server- Parameters:
client- Tarantool server client- Returns:
- builder
-
withSpaceName
public TruncateProxyOperation.Builder withSpaceName(String spaceName)
Specify name of Tarantool server space to work with- Parameters:
spaceName- name of Tarantool server space- Returns:
- builder
-
withFunctionName
public TruncateProxyOperation.Builder withFunctionName(String functionName)
Specify name of the Tarantool server function called through preparing request- Parameters:
functionName- name of Tarantool server function- Returns:
- builder
-
withRequestTimeout
public TruncateProxyOperation.Builder withRequestTimeout(int requestTimeout)
Specify response reading timeout.- Parameters:
requestTimeout- the timeout for reading the responses from Tarantool server, in milliseconds- Returns:
- builder
-
build
public TruncateProxyOperation build()
Prepare request of truncate operation to Tarantool server- Returns:
- TruncateProxyOperation instance
-
-