Package io.tarantool.driver.api.proxy
Class ProxyOperationsMappingConfig.Builder
- java.lang.Object
-
- io.tarantool.driver.api.proxy.ProxyOperationsMappingConfig.Builder
-
- Enclosing class:
- ProxyOperationsMappingConfig
public static final class ProxyOperationsMappingConfig.Builder extends Object
Builder for theProxyOperationsMappingConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProxyOperationsMappingConfigbuild()Build a newProxyOperationsMappingConfiginstanceProxyOperationsMappingConfig.BuilderwithDeleteFunctionName(String deleteFunctionName)Set API function name for performing the delete operationProxyOperationsMappingConfig.BuilderwithInsertFunctionName(String insertFunctionName)Get API function name for performing the insert operationProxyOperationsMappingConfig.BuilderwithReplaceFunctionName(String replaceFunctionName)Get API function name for performing the replace operationProxyOperationsMappingConfig.BuilderwithSchemaFunctionName(String schemaFunctionName)Set API function name for getting the spaces and indexes schema.ProxyOperationsMappingConfig.BuilderwithSelectFunctionName(String selectFunctionName)Get API function name for performing the select operationProxyOperationsMappingConfig.BuilderwithTruncateFunctionName(String truncateFunctionName)Get API function name for performing the truncate operationProxyOperationsMappingConfig.BuilderwithUpdateFunctionName(String updateFunctionName)Get API function name for performing the update operationProxyOperationsMappingConfig.BuilderwithUpsertFunctionName(String upsertFunctionName)Get API function name for performing the upsert operation
-
-
-
Method Detail
-
withSchemaFunctionName
public ProxyOperationsMappingConfig.Builder withSchemaFunctionName(String schemaFunctionName)
Set API function name for getting the spaces and indexes schema. See the DDL module API for details on the desired schema metadata format.- Parameters:
schemaFunctionName- name for stored function returning spaces and indexes schema- Returns:
- a callable API function name
-
withDeleteFunctionName
public ProxyOperationsMappingConfig.Builder withDeleteFunctionName(String deleteFunctionName)
Set API function name for performing the delete operation- Parameters:
deleteFunctionName- name for stored function performing delete operation- Returns:
- a callable API function name
-
withInsertFunctionName
public ProxyOperationsMappingConfig.Builder withInsertFunctionName(String insertFunctionName)
Get API function name for performing the insert operation- Parameters:
insertFunctionName- name for stored function performing insert operation- Returns:
- a callable API function name
-
withReplaceFunctionName
public ProxyOperationsMappingConfig.Builder withReplaceFunctionName(String replaceFunctionName)
Get API function name for performing the replace operation- Parameters:
replaceFunctionName- name for stored function performing replace operation- Returns:
- a callable API function name
-
withUpdateFunctionName
public ProxyOperationsMappingConfig.Builder withUpdateFunctionName(String updateFunctionName)
Get API function name for performing the update operation- Parameters:
updateFunctionName- name for stored function performing update operation- Returns:
- a callable API function name
-
withUpsertFunctionName
public ProxyOperationsMappingConfig.Builder withUpsertFunctionName(String upsertFunctionName)
Get API function name for performing the upsert operation- Parameters:
upsertFunctionName- name for stored function performing upsert operation- Returns:
- a callable API function name
-
withSelectFunctionName
public ProxyOperationsMappingConfig.Builder withSelectFunctionName(String selectFunctionName)
Get API function name for performing the select operation- Parameters:
selectFunctionName- name for stored function performing select operation- Returns:
- a callable API function name
-
withTruncateFunctionName
public ProxyOperationsMappingConfig.Builder withTruncateFunctionName(String truncateFunctionName)
Get API function name for performing the truncate operation- Parameters:
truncateFunctionName- name for stored function performing select operation- Returns:
- a callable API function name
-
build
public ProxyOperationsMappingConfig build()
Build a newProxyOperationsMappingConfiginstance- Returns:
- new config instance
-
-