public abstract class DdlGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
NON_PARTITIONED_TABLE_LOCATION_CUSTOM_DDL_TOKEN |
static String |
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,
BusinessObjectDataStatusEntity businessObjectDataStatusEntity,
List<String> storageNames,
List<StorageEntity> requestedStorageEntities,
Map<String,StorageEntity> cachedStorageEntities,
Map<String,String> cachedS3BucketNames)
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 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, BusinessObjectDataStatusEntity businessObjectDataStatusEntity, List<String> storageNames, List<StorageEntity> requestedStorageEntities, Map<String,StorageEntity> cachedStorageEntities, Map<String,String> cachedS3BucketNames)
request - the business object data DDL requestbusinessObjectFormatEntity - the business object format entitycustomDdlEntity - the optional custom DDL entitybusinessObjectDataStatusEntity - the business object data status for available business object datastorageNames - the list of storage names, maybe emptyrequestedStorageEntities - the list of storage entities per storage names specified in the requestcachedStorageEntities - the map of storage names in upper case to the relative storage entitiescachedS3BucketNames - 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 © 2021. All rights reserved.