public abstract class DdlGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
NON_PARTITIONED_TABLE_LOCATION_CUSTOM_DDL_TOKEN |
static String |
TABLE_NAME_CUSTOM_DDL_TOKEN |
| Constructor and Description |
|---|
DdlGenerator() |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
generateCreateTableDdl(BusinessObjectDataDdlRequest request,
BusinessObjectFormatEntity businessObjectFormatEntity,
CustomDdlEntity customDdlEntity,
List<String> storageNames,
Map<String,StorageEntity> storageEntities,
Map<String,String> s3BucketNames)
This method generates the create table DDL as per specified business object data DDL request.
|
abstract String |
generateCreateTableDdl(BusinessObjectFormatDdlRequest request,
BusinessObjectFormatEntity businessObjectFormatEntity,
CustomDdlEntity customDdlEntity)
This method generates the create table DDL as per specified business object format DDL request.
|
abstract String |
generateReplaceColumnsStatement(BusinessObjectFormatDdlRequest request,
BusinessObjectFormatEntity businessObjectFormatEntity) |
abstract BusinessObjectDataDdlOutputFormatEnum |
getDdlOutputFormat()
Gets the supported DDL output format that this generator can support.
|
public static final String NON_PARTITIONED_TABLE_LOCATION_CUSTOM_DDL_TOKEN
public static final String TABLE_NAME_CUSTOM_DDL_TOKEN
public abstract String generateCreateTableDdl(BusinessObjectFormatDdlRequest request, BusinessObjectFormatEntity businessObjectFormatEntity, CustomDdlEntity customDdlEntity)
request - the business object format DDL requestbusinessObjectFormatEntity - the business object format entitycustomDdlEntity - the optional custom DDL entitypublic abstract String generateCreateTableDdl(BusinessObjectDataDdlRequest request, BusinessObjectFormatEntity businessObjectFormatEntity, CustomDdlEntity customDdlEntity, List<String> storageNames, Map<String,StorageEntity> storageEntities, Map<String,String> s3BucketNames)
request - the business object data DDL requestbusinessObjectFormatEntity - the business object format entitycustomDdlEntity - the optional custom DDL entitystorageNames - the list of storage names, maybe emptystorageEntities - the map of storage names in upper case to the relative storage entitiess3BucketNames - the map of storage names in upper case to the relative S3 bucket namespublic abstract String generateReplaceColumnsStatement(BusinessObjectFormatDdlRequest request, BusinessObjectFormatEntity businessObjectFormatEntity)
public abstract BusinessObjectDataDdlOutputFormatEnum getDdlOutputFormat()
Copyright © 2019. All rights reserved.