public class HiveTableProperties extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
AVRO_SCHEMA_URL |
static String |
BUCKET_COUNT_PROPERTY |
static String |
BUCKETED_BY_PROPERTY |
static String |
CSV_ESCAPE |
static String |
CSV_QUOTE |
static String |
CSV_SEPARATOR |
static String |
DWRF_ENCRYPTION_ALGORITHM |
static String |
DWRF_ENCRYPTION_PROVIDER |
static String |
ENCRYPT_COLUMNS |
static String |
ENCRYPT_TABLE |
static String |
EXTERNAL_LOCATION_PROPERTY |
static String |
ORC_BLOOM_FILTER_COLUMNS |
static String |
ORC_BLOOM_FILTER_FPP |
static String |
PARTITIONED_BY_PROPERTY |
static String |
PREFERRED_ORDERING_COLUMNS |
static String |
SORTED_BY_PROPERTY |
static String |
STORAGE_FORMAT_PROPERTY |
| Constructor and Description |
|---|
HiveTableProperties(com.facebook.presto.common.type.TypeManager typeManager,
HiveClientConfig config) |
| Modifier and Type | Method and Description |
|---|---|
static String |
getAvroSchemaUrl(Map<String,Object> tableProperties) |
static Optional<com.facebook.presto.hive.HiveBucketProperty> |
getBucketProperty(Map<String,Object> tableProperties) |
static Optional<Character> |
getCsvProperty(Map<String,Object> tableProperties,
String key) |
static String |
getDwrfEncryptionAlgorithm(Map<String,Object> tableProperties) |
static String |
getDwrfEncryptionProvider(Map<String,Object> tableProperties) |
static com.facebook.presto.hive.ColumnEncryptionInformation |
getEncryptColumns(Map<String,Object> tableProperties) |
static String |
getEncryptTable(Map<String,Object> tableProperties) |
static String |
getExternalLocation(Map<String,Object> tableProperties) |
static com.facebook.presto.hive.HiveStorageFormat |
getHiveStorageFormat(Map<String,Object> tableProperties) |
static List<String> |
getOrcBloomFilterColumns(Map<String,Object> tableProperties) |
static Double |
getOrcBloomFilterFpp(Map<String,Object> tableProperties) |
static List<String> |
getPartitionedBy(Map<String,Object> tableProperties) |
static List<com.facebook.presto.hive.metastore.SortingColumn> |
getPreferredOrderingColumns(Map<String,Object> tableProperties) |
List<com.facebook.presto.spi.session.PropertyMetadata<?>> |
getTableProperties() |
static boolean |
isExternalTable(Map<String,Object> tableProperties) |
public static final String EXTERNAL_LOCATION_PROPERTY
public static final String STORAGE_FORMAT_PROPERTY
public static final String PARTITIONED_BY_PROPERTY
public static final String BUCKETED_BY_PROPERTY
public static final String BUCKET_COUNT_PROPERTY
public static final String SORTED_BY_PROPERTY
public static final String ORC_BLOOM_FILTER_COLUMNS
public static final String ORC_BLOOM_FILTER_FPP
public static final String AVRO_SCHEMA_URL
public static final String PREFERRED_ORDERING_COLUMNS
public static final String ENCRYPT_COLUMNS
public static final String ENCRYPT_TABLE
public static final String DWRF_ENCRYPTION_ALGORITHM
public static final String DWRF_ENCRYPTION_PROVIDER
public static final String CSV_SEPARATOR
public static final String CSV_QUOTE
public static final String CSV_ESCAPE
@Inject
public HiveTableProperties(com.facebook.presto.common.type.TypeManager typeManager,
HiveClientConfig config)
public List<com.facebook.presto.spi.session.PropertyMetadata<?>> getTableProperties()
public static com.facebook.presto.hive.HiveStorageFormat getHiveStorageFormat(Map<String,Object> tableProperties)
public static Optional<com.facebook.presto.hive.HiveBucketProperty> getBucketProperty(Map<String,Object> tableProperties)
public static List<String> getOrcBloomFilterColumns(Map<String,Object> tableProperties)
public static Optional<Character> getCsvProperty(Map<String,Object> tableProperties, String key)
public static List<com.facebook.presto.hive.metastore.SortingColumn> getPreferredOrderingColumns(Map<String,Object> tableProperties)
public static String getDwrfEncryptionAlgorithm(Map<String,Object> tableProperties)
public static String getDwrfEncryptionProvider(Map<String,Object> tableProperties)
Copyright © 2012–2023. All rights reserved.