Package io.tarantool.driver.api.proxy
Class ProxyOperationsMappingConfig
- java.lang.Object
-
- io.tarantool.driver.api.proxy.ProxyOperationsMappingConfig
-
public final class ProxyOperationsMappingConfig extends Object
Provides methods for function names in a Tarantool instance or a Tarantool Cartridge role for CRUD operations.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProxyOperationsMappingConfig.Builder
Builder for theProxyOperationsMappingConfig
-
Field Summary
Fields Modifier and Type Field Description static String
CRUD_PREFIX
static String
DELETE_FUNCTION
static String
INSERT_FUNCTION
static String
REPLACE_FUNCTION
static String
SCHEMA_FUNCTION
static String
SELECT_FUNCTION
static String
TRUNCATE_FUNCTION
static String
UPDATE_FUNCTION
static String
UPSERT_FUNCTION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProxyOperationsMappingConfig.Builder
builder()
Create newProxyOperationsMappingConfig.Builder
instanceString
getDeleteFunctionName()
Get API function name for performing the delete operation.String
getGetSchemaFunctionName()
Get API function name for getting the spaces and indexes schema.String
getInsertFunctionName()
Get API function name for performing the insert operation.String
getReplaceFunctionName()
Get API function name for performing the replace operation.String
getSelectFunctionName()
Get API function name for performing the select operation.String
getTruncateFunctionName()
Get API function name for performing the select operation.String
getUpdateFunctionName()
Get API function name for performing the update operation.String
getUpsertFunctionName()
Get API function name for performing the upsert operation.
-
-
-
Field Detail
-
CRUD_PREFIX
public static final String CRUD_PREFIX
- See Also:
- Constant Field Values
-
SCHEMA_FUNCTION
public static final String SCHEMA_FUNCTION
- See Also:
- Constant Field Values
-
DELETE_FUNCTION
public static final String DELETE_FUNCTION
- See Also:
- Constant Field Values
-
INSERT_FUNCTION
public static final String INSERT_FUNCTION
- See Also:
- Constant Field Values
-
REPLACE_FUNCTION
public static final String REPLACE_FUNCTION
- See Also:
- Constant Field Values
-
SELECT_FUNCTION
public static final String SELECT_FUNCTION
- See Also:
- Constant Field Values
-
UPDATE_FUNCTION
public static final String UPDATE_FUNCTION
- See Also:
- Constant Field Values
-
UPSERT_FUNCTION
public static final String UPSERT_FUNCTION
- See Also:
- Constant Field Values
-
TRUNCATE_FUNCTION
public static final String TRUNCATE_FUNCTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getGetSchemaFunctionName
public String getGetSchemaFunctionName()
Get API function name for getting the spaces and indexes schema. The default value isddl.get_schema
. See the DDL module API for details on the desired schema metadata format.- Returns:
- a callable API function name
-
getDeleteFunctionName
public String getDeleteFunctionName()
Get API function name for performing the delete operation. The default value iscrud.delete
.- Returns:
- a callable API function name
-
getInsertFunctionName
public String getInsertFunctionName()
Get API function name for performing the insert operation. The default value iscrud.insert
.- Returns:
- a callable API function name
-
getReplaceFunctionName
public String getReplaceFunctionName()
Get API function name for performing the replace operation. The default value iscrud.replace
.- Returns:
- a callable API function name
-
getUpdateFunctionName
public String getUpdateFunctionName()
Get API function name for performing the update operation. The default value iscrud.update
.- Returns:
- a callable API function name
-
getUpsertFunctionName
public String getUpsertFunctionName()
Get API function name for performing the upsert operation. The default value iscrud.upsert
.- Returns:
- a callable API function name
-
getSelectFunctionName
public String getSelectFunctionName()
Get API function name for performing the select operation. The default value iscrud.select
.- Returns:
- a callable API function name
-
getTruncateFunctionName
public String getTruncateFunctionName()
Get API function name for performing the select operation. The default value iscrud.truncate
.- Returns:
- a callable API function name
-
builder
public static ProxyOperationsMappingConfig.Builder builder()
Create newProxyOperationsMappingConfig.Builder
instance- Returns:
- new config builder instance
-
-