| Package | Description |
|---|---|
| com.facebook.presto.hive | |
| com.facebook.presto.hive.metastore | |
| com.facebook.presto.hive.metastore.file |
| Modifier and Type | Field and Description |
|---|---|
static HiveType |
HiveColumnHandle.BUCKET_HIVE_TYPE |
static HiveType |
HiveType.HIVE_BINARY |
static HiveType |
HiveType.HIVE_BOOLEAN |
static HiveType |
HiveType.HIVE_BYTE |
static HiveType |
HiveType.HIVE_DATE |
static HiveType |
HiveType.HIVE_DOUBLE |
static HiveType |
HiveType.HIVE_FLOAT |
static HiveType |
HiveType.HIVE_INT |
static HiveType |
HiveType.HIVE_LONG |
static HiveType |
HiveType.HIVE_SHORT |
static HiveType |
HiveType.HIVE_STRING |
static HiveType |
HiveType.HIVE_TIMESTAMP |
static HiveType |
HiveColumnHandle.PATH_HIVE_TYPE |
| Modifier and Type | Method and Description |
|---|---|
HiveType |
HiveColumnHandle.getHiveType() |
HiveType |
HiveTypeName.toHiveType() |
static HiveType |
HiveType.toHiveType(TypeTranslator typeTranslator,
Type type) |
static HiveType |
HiveType.valueOf(String hiveTypeName) |
| Modifier and Type | Method and Description |
|---|---|
Optional<HiveType> |
HivePageSourceProvider.ColumnMapping.getCoercionFrom() |
Map<Integer,HiveType> |
HiveSplit.getColumnCoercions() |
List<HiveType> |
HivePartitioningHandle.getHiveTypes() |
static List<HiveType> |
HiveType.toHiveTypes(String hiveTypes) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
HiveCoercionPolicy.canCoerce(HiveType fromHiveType,
HiveType toHiveType) |
boolean |
CoercionPolicy.canCoerce(HiveType fromType,
HiveType toType) |
static Optional<DecimalType> |
HiveUtil.getDecimalType(HiveType hiveType) |
static boolean |
HiveUtil.isStructuralType(HiveType hiveType) |
static boolean |
HiveWriteUtils.isWritableType(HiveType hiveType) |
| Modifier and Type | Method and Description |
|---|---|
static List<HivePageSourceProvider.ColumnMapping> |
HivePageSourceProvider.ColumnMapping.buildColumnMappings(List<HivePartitionKey> partitionKeys,
List<HiveColumnHandle> columns,
Map<Integer,HiveType> columnCoercions,
org.apache.hadoop.fs.Path path,
OptionalInt bucketNumber) |
static Optional<ConnectorPageSource> |
HivePageSourceProvider.createHivePageSource(Set<HiveRecordCursorProvider> cursorProviders,
Set<HivePageSourceFactory> pageSourceFactories,
String clientId,
org.apache.hadoop.conf.Configuration configuration,
ConnectorSession session,
org.apache.hadoop.fs.Path path,
OptionalInt bucketNumber,
long start,
long length,
long fileSize,
Properties schema,
TupleDomain<HiveColumnHandle> effectivePredicate,
List<HiveColumnHandle> hiveColumns,
List<HivePartitionKey> partitionKeys,
org.joda.time.DateTimeZone hiveStorageTimeZone,
TypeManager typeManager,
Map<Integer,HiveType> columnCoercions) |
| Constructor and Description |
|---|
HiveColumnHandle(String clientId,
String name,
HiveType hiveType,
TypeSignature typeSignature,
int hiveColumnIndex,
HiveColumnHandle.ColumnType columnType,
Optional<String> comment) |
| Constructor and Description |
|---|
HiveBucketFunction(int bucketCount,
List<HiveType> hiveTypes) |
HivePartitioningHandle(String clientId,
int bucketCount,
List<HiveType> hiveTypes) |
HiveSplit(String clientId,
String database,
String table,
String partitionName,
String path,
long start,
long length,
long fileSize,
Properties schema,
List<HivePartitionKey> partitionKeys,
List<HostAddress> addresses,
OptionalInt bucketNumber,
boolean forceLocalScheduling,
TupleDomain<HiveColumnHandle> effectivePredicate,
Map<Integer,HiveType> columnCoercions) |
| Modifier and Type | Method and Description |
|---|---|
HiveType |
Column.getType() |
| Modifier and Type | Method and Description |
|---|---|
void |
SemiTransactionalHiveMetastore.addColumn(String databaseName,
String tableName,
String columnName,
HiveType columnType,
String columnComment) |
void |
ExtendedHiveMetastore.addColumn(String databaseName,
String tableName,
String columnName,
HiveType columnType,
String columnComment) |
void |
CachingHiveMetastore.addColumn(String databaseName,
String tableName,
String columnName,
HiveType columnType,
String columnComment) |
void |
BridgingHiveMetastore.addColumn(String databaseName,
String tableName,
String columnName,
HiveType columnType,
String columnComment) |
| Constructor and Description |
|---|
Column(String name,
HiveType type,
Optional<String> comment) |
| Modifier and Type | Method and Description |
|---|---|
void |
FileHiveMetastore.addColumn(String databaseName,
String tableName,
String columnName,
HiveType columnType,
String columnComment) |
Copyright © 2012-2017. All Rights Reserved.