| Package | Description |
|---|---|
| org.apache.hadoop.hive.metastore | |
| org.apache.hadoop.hive.metastore.api |
| Modifier and Type | Method and Description |
|---|---|
static FieldSchema |
MetaStoreUtils.getFieldSchemaFromTypeInfo(String fieldName,
TypeInfo typeInfo)
Convert TypeInfo to FieldSchema.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<FieldSchema> |
HiveMetaStoreClient.deepCopyFieldSchemas(List<FieldSchema> schemas) |
List<FieldSchema> |
HiveMetaStore.HMSHandler.get_fields_with_environment_context(String db,
String tableName,
EnvironmentContext envContext) |
List<FieldSchema> |
HiveMetaStore.HMSHandler.get_fields(String db,
String tableName) |
List<FieldSchema> |
HiveMetaStore.HMSHandler.get_schema_with_environment_context(String db,
String tableName,
EnvironmentContext envContext)
Return the schema of the table.
|
List<FieldSchema> |
HiveMetaStore.HMSHandler.get_schema(String db,
String tableName)
Return the schema of the table.
|
List<FieldSchema> |
HiveMetaStoreClient.getFields(String db,
String tableName) |
List<FieldSchema> |
IMetaStoreClient.getFields(String db,
String tableName) |
static List<FieldSchema> |
MetaStoreUtils.getFieldsFromDeserializer(String tableName,
Deserializer deserializer) |
List<FieldSchema> |
HiveMetaStoreClient.getSchema(String db,
String tableName) |
List<FieldSchema> |
IMetaStoreClient.getSchema(String db,
String tableName) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
MetaStoreUtils.compareFieldColumns(List<FieldSchema> schema1,
List<FieldSchema> schema2) |
static boolean |
MetaStoreUtils.compareFieldColumns(List<FieldSchema> schema1,
List<FieldSchema> schema2) |
protected List<FieldSchema> |
HiveMetaStoreClient.deepCopyFieldSchemas(List<FieldSchema> schemas) |
static String |
MetaStoreUtils.getColumnNamesFromFieldSchema(List<FieldSchema> fieldSchemas)
Convert FieldSchemas to columnNames.
|
static String |
MetaStoreUtils.getColumnTypesFromFieldSchema(List<FieldSchema> fieldSchemas)
Convert FieldSchemas to columnTypes.
|
static String |
MetaStoreUtils.getDDLFromFieldSchema(String structName,
List<FieldSchema> fieldSchemas)
Convert FieldSchemas to Thrift DDL.
|
static String |
MetaStoreUtils.getFullDDLFromFieldSchema(String structName,
List<FieldSchema> fieldSchemas)
Convert FieldSchemas to Thrift DDL + column names and column types
|
static Properties |
MetaStoreUtils.getPartSchemaFromTableSchema(StorageDescriptor sd,
StorageDescriptor tblsd,
Map<String,String> parameters,
String databaseName,
String tableName,
List<FieldSchema> partitionKeys,
Properties tblSchema)
Get partition level schema from table level schema.
|
static List<String> |
MetaStoreUtils.getPvals(List<FieldSchema> partCols,
Map<String,String> partSpec)
Given a list of partition columns and a partial mapping from
some partition columns to values the function returns the values
for the column.
|
static Properties |
MetaStoreUtils.getSchema(StorageDescriptor sd,
StorageDescriptor tblsd,
Map<String,String> parameters,
String databaseName,
String tableName,
List<FieldSchema> partitionKeys) |
static String |
Warehouse.makePartName(List<FieldSchema> partCols,
List<String> vals) |
static String |
Warehouse.makePartName(List<FieldSchema> partCols,
List<String> vals,
String defaultStr)
Makes a valid partition name.
|
static Map<String,String> |
Warehouse.makeSpecFromValues(List<FieldSchema> partCols,
List<String> values) |
static String |
MetaStoreUtils.validateSkewedColNamesSubsetCol(List<String> skewedColNames,
List<FieldSchema> cols) |
static String |
MetaStoreUtils.validateTblColumns(List<FieldSchema> cols) |
| Modifier and Type | Method and Description |
|---|---|
FieldSchema |
FieldSchema.deepCopy() |
| Modifier and Type | Method and Description |
|---|---|
List<FieldSchema> |
ThriftHiveMetastore.Iface.get_fields_with_environment_context(String db_name,
String table_name,
EnvironmentContext environment_context) |
List<FieldSchema> |
ThriftHiveMetastore.Client.get_fields_with_environment_context(String db_name,
String table_name,
EnvironmentContext environment_context) |
List<FieldSchema> |
ThriftHiveMetastore.Iface.get_fields(String db_name,
String table_name) |
List<FieldSchema> |
ThriftHiveMetastore.Client.get_fields(String db_name,
String table_name) |
List<FieldSchema> |
ThriftHiveMetastore.Iface.get_schema_with_environment_context(String db_name,
String table_name,
EnvironmentContext environment_context) |
List<FieldSchema> |
ThriftHiveMetastore.Client.get_schema_with_environment_context(String db_name,
String table_name,
EnvironmentContext environment_context) |
List<FieldSchema> |
ThriftHiveMetastore.Iface.get_schema(String db_name,
String table_name) |
List<FieldSchema> |
ThriftHiveMetastore.Client.get_schema(String db_name,
String table_name) |
List<FieldSchema> |
StorageDescriptor.getCols() |
Iterator<FieldSchema> |
StorageDescriptor.getColsIterator() |
List<FieldSchema> |
Type.getFields() |
List<FieldSchema> |
Schema.getFieldSchemas() |
Iterator<FieldSchema> |
Schema.getFieldSchemasIterator() |
Iterator<FieldSchema> |
Type.getFieldsIterator() |
List<FieldSchema> |
Table.getPartitionKeys() |
Iterator<FieldSchema> |
Table.getPartitionKeysIterator() |
List<FieldSchema> |
ThriftHiveMetastore.AsyncClient.get_fields_call.getResult() |
List<FieldSchema> |
ThriftHiveMetastore.AsyncClient.get_fields_with_environment_context_call.getResult() |
List<FieldSchema> |
ThriftHiveMetastore.AsyncClient.get_schema_call.getResult() |
List<FieldSchema> |
ThriftHiveMetastore.AsyncClient.get_schema_with_environment_context_call.getResult() |
List<FieldSchema> |
ThriftHiveMetastore.get_fields_result.getSuccess() |
List<FieldSchema> |
ThriftHiveMetastore.get_fields_with_environment_context_result.getSuccess() |
List<FieldSchema> |
ThriftHiveMetastore.get_schema_result.getSuccess() |
List<FieldSchema> |
ThriftHiveMetastore.get_schema_with_environment_context_result.getSuccess() |
Iterator<FieldSchema> |
ThriftHiveMetastore.get_fields_result.getSuccessIterator() |
Iterator<FieldSchema> |
ThriftHiveMetastore.get_fields_with_environment_context_result.getSuccessIterator() |
Iterator<FieldSchema> |
ThriftHiveMetastore.get_schema_result.getSuccessIterator() |
Iterator<FieldSchema> |
ThriftHiveMetastore.get_schema_with_environment_context_result.getSuccessIterator() |
List<FieldSchema> |
ThriftHiveMetastore.Client.recv_get_fields_with_environment_context() |
List<FieldSchema> |
ThriftHiveMetastore.Client.recv_get_fields() |
List<FieldSchema> |
ThriftHiveMetastore.Client.recv_get_schema_with_environment_context() |
List<FieldSchema> |
ThriftHiveMetastore.Client.recv_get_schema() |
| Modifier and Type | Method and Description |
|---|---|
void |
StorageDescriptor.addToCols(FieldSchema elem) |
void |
Type.addToFields(FieldSchema elem) |
void |
Schema.addToFieldSchemas(FieldSchema elem) |
void |
Table.addToPartitionKeys(FieldSchema elem) |
void |
ThriftHiveMetastore.get_fields_result.addToSuccess(FieldSchema elem) |
void |
ThriftHiveMetastore.get_fields_with_environment_context_result.addToSuccess(FieldSchema elem) |
void |
ThriftHiveMetastore.get_schema_result.addToSuccess(FieldSchema elem) |
void |
ThriftHiveMetastore.get_schema_with_environment_context_result.addToSuccess(FieldSchema elem) |
int |
FieldSchema.compareTo(FieldSchema other) |
boolean |
FieldSchema.equals(FieldSchema that) |
| Modifier and Type | Method and Description |
|---|---|
void |
StorageDescriptor.setCols(List<FieldSchema> cols) |
void |
Type.setFields(List<FieldSchema> fields) |
void |
Schema.setFieldSchemas(List<FieldSchema> fieldSchemas) |
void |
Table.setPartitionKeys(List<FieldSchema> partitionKeys) |
void |
ThriftHiveMetastore.get_fields_result.setSuccess(List<FieldSchema> success) |
void |
ThriftHiveMetastore.get_fields_with_environment_context_result.setSuccess(List<FieldSchema> success) |
void |
ThriftHiveMetastore.get_schema_result.setSuccess(List<FieldSchema> success) |
void |
ThriftHiveMetastore.get_schema_with_environment_context_result.setSuccess(List<FieldSchema> success) |
| Constructor and Description |
|---|
FieldSchema(FieldSchema other)
Performs a deep copy on other.
|
Copyright © 2016 Cloudera. All rights reserved.