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 classProxyOperationsMappingConfig.BuilderBuilder for theProxyOperationsMappingConfig
-
Field Summary
Fields Modifier and Type Field Description static StringCRUD_PREFIXstatic StringDELETE_FUNCTIONstatic StringINSERT_FUNCTIONstatic StringREPLACE_FUNCTIONstatic StringSCHEMA_FUNCTIONstatic StringSELECT_FUNCTIONstatic StringTRUNCATE_FUNCTIONstatic StringUPDATE_FUNCTIONstatic StringUPSERT_FUNCTION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProxyOperationsMappingConfig.Builderbuilder()Create newProxyOperationsMappingConfig.BuilderinstanceStringgetDeleteFunctionName()Get API function name for performing the delete operation.StringgetGetSchemaFunctionName()Get API function name for getting the spaces and indexes schema.StringgetInsertFunctionName()Get API function name for performing the insert operation.StringgetReplaceFunctionName()Get API function name for performing the replace operation.StringgetSelectFunctionName()Get API function name for performing the select operation.StringgetTruncateFunctionName()Get API function name for performing the select operation.StringgetUpdateFunctionName()Get API function name for performing the update operation.StringgetUpsertFunctionName()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.Builderinstance- Returns:
- new config builder instance
-
-