| Package | Description |
|---|---|
| org.apache.hadoop.hive.metastore | |
| org.apache.hadoop.hive.metastore.api | |
| org.apache.hadoop.hive.metastore.utils |
Package consisting the utility methods for metastore.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<FieldSchema> |
HiveMetaStoreClient.deepCopyFieldSchemas(List<FieldSchema> schemas) |
List<FieldSchema> |
AbstractThriftHiveMetastore.get_fields_with_environment_context(String db_name,
String table_name,
EnvironmentContext environment_context) |
List<FieldSchema> |
AbstractThriftHiveMetastore.get_fields(String db_name,
String table_name) |
List<FieldSchema> |
AbstractThriftHiveMetastore.get_schema_with_environment_context(String db_name,
String table_name,
EnvironmentContext environment_context) |
List<FieldSchema> |
AbstractThriftHiveMetastore.get_schema(String db_name,
String table_name) |
List<FieldSchema> |
HiveMetaStoreClient.getFields(String db,
String tableName) |
List<FieldSchema> |
IMetaStoreClient.getFields(String db,
String tableName)
Get schema for a table, excluding the partition columns.
|
List<FieldSchema> |
HiveMetaStoreClient.getFields(String catName,
String db,
String tableName) |
List<FieldSchema> |
IMetaStoreClient.getFields(String catName,
String db,
String tableName)
Get schema for a table, excluding the partition columns.
|
List<FieldSchema> |
HiveMetaStoreClient.getSchema(String db,
String tableName) |
List<FieldSchema> |
IMetaStoreClient.getSchema(String db,
String tableName)
Get schema for a table, including the partition columns.
|
List<FieldSchema> |
HiveMetaStoreClient.getSchema(String catName,
String db,
String tableName) |
List<FieldSchema> |
IMetaStoreClient.getSchema(String catName,
String db,
String tableName)
Get schema for a table, including the partition columns.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<FieldSchema> |
HiveMetaStoreClient.deepCopyFieldSchemas(List<FieldSchema> schemas) |
boolean |
PartitionExpressionProxy.filterPartitionsByExpr(List<FieldSchema> partColumns,
byte[] expr,
String defaultPartitionName,
List<String> partitionNames)
Filters the partition names via serialized Hive expression.
|
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) |
| 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> |
SchemaVersion.getCols() |
List<FieldSchema> |
StorageDescriptor.getCols() |
Iterator<FieldSchema> |
SchemaVersion.getColsIterator() |
Iterator<FieldSchema> |
StorageDescriptor.getColsIterator() |
List<FieldSchema> |
GetSchemaResponse.getFields() |
List<FieldSchema> |
GetFieldsResponse.getFields() |
List<FieldSchema> |
Type.getFields() |
List<FieldSchema> |
Schema.getFieldSchemas() |
Iterator<FieldSchema> |
Schema.getFieldSchemasIterator() |
Iterator<FieldSchema> |
GetSchemaResponse.getFieldsIterator() |
Iterator<FieldSchema> |
GetFieldsResponse.getFieldsIterator() |
Iterator<FieldSchema> |
Type.getFieldsIterator() |
List<FieldSchema> |
AddPartitionsRequest.getPartitionColSchema() |
List<FieldSchema> |
AddPartitionsResult.getPartitionColSchema() |
List<FieldSchema> |
AlterPartitionsRequest.getPartitionColSchema() |
Iterator<FieldSchema> |
AddPartitionsRequest.getPartitionColSchemaIterator() |
Iterator<FieldSchema> |
AddPartitionsResult.getPartitionColSchemaIterator() |
Iterator<FieldSchema> |
AlterPartitionsRequest.getPartitionColSchemaIterator() |
List<FieldSchema> |
PartitionValuesRequest.getPartitionKeys() |
List<FieldSchema> |
Table.getPartitionKeys() |
Iterator<FieldSchema> |
PartitionValuesRequest.getPartitionKeysIterator() |
Iterator<FieldSchema> |
Table.getPartitionKeysIterator() |
List<FieldSchema> |
PartitionValuesRequest.getPartitionOrder() |
Iterator<FieldSchema> |
PartitionValuesRequest.getPartitionOrderIterator() |
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() |
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> |
ThriftHiveMetastore.AsyncProcessor.get_fields.getResultHandler(org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb,
int seqid) |
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> |
ThriftHiveMetastore.AsyncProcessor.get_fields_with_environment_context.getResultHandler(org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb,
int seqid) |
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> |
ThriftHiveMetastore.AsyncProcessor.get_schema.getResultHandler(org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb,
int seqid) |
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> |
ThriftHiveMetastore.AsyncProcessor.get_schema_with_environment_context.getResultHandler(org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb,
int seqid) |
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 |
SchemaVersion.addToCols(FieldSchema elem) |
void |
StorageDescriptor.addToCols(FieldSchema elem) |
void |
GetSchemaResponse.addToFields(FieldSchema elem) |
void |
GetFieldsResponse.addToFields(FieldSchema elem) |
void |
Type.addToFields(FieldSchema elem) |
void |
Schema.addToFieldSchemas(FieldSchema elem) |
void |
AddPartitionsRequest.addToPartitionColSchema(FieldSchema elem) |
void |
AddPartitionsResult.addToPartitionColSchema(FieldSchema elem) |
void |
AlterPartitionsRequest.addToPartitionColSchema(FieldSchema elem) |
void |
PartitionValuesRequest.addToPartitionKeys(FieldSchema elem) |
void |
Table.addToPartitionKeys(FieldSchema elem) |
void |
PartitionValuesRequest.addToPartitionOrder(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 |
ThriftHiveMetastore.AsyncIface.get_fields_with_environment_context(String db_name,
String table_name,
EnvironmentContext environment_context,
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> resultHandler) |
void |
ThriftHiveMetastore.AsyncClient.get_fields_with_environment_context(String db_name,
String table_name,
EnvironmentContext environment_context,
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> resultHandler) |
void |
ThriftHiveMetastore.AsyncIface.get_fields(String db_name,
String table_name,
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> resultHandler) |
void |
ThriftHiveMetastore.AsyncClient.get_fields(String db_name,
String table_name,
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> resultHandler) |
void |
ThriftHiveMetastore.AsyncIface.get_schema_with_environment_context(String db_name,
String table_name,
EnvironmentContext environment_context,
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> resultHandler) |
void |
ThriftHiveMetastore.AsyncClient.get_schema_with_environment_context(String db_name,
String table_name,
EnvironmentContext environment_context,
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> resultHandler) |
void |
ThriftHiveMetastore.AsyncIface.get_schema(String db_name,
String table_name,
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> resultHandler) |
void |
ThriftHiveMetastore.AsyncClient.get_schema(String db_name,
String table_name,
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> resultHandler) |
void |
SchemaVersion.setCols(List<FieldSchema> cols) |
void |
StorageDescriptor.setCols(List<FieldSchema> cols) |
void |
GetSchemaResponse.setFields(List<FieldSchema> fields) |
void |
GetFieldsResponse.setFields(List<FieldSchema> fields) |
void |
Type.setFields(List<FieldSchema> fields) |
void |
Schema.setFieldSchemas(List<FieldSchema> fieldSchemas) |
void |
AddPartitionsRequest.setPartitionColSchema(List<FieldSchema> partitionColSchema) |
void |
AddPartitionsResult.setPartitionColSchema(List<FieldSchema> partitionColSchema) |
void |
AlterPartitionsRequest.setPartitionColSchema(List<FieldSchema> partitionColSchema) |
void |
PartitionValuesRequest.setPartitionKeys(List<FieldSchema> partitionKeys) |
void |
Table.setPartitionKeys(List<FieldSchema> partitionKeys) |
void |
PartitionValuesRequest.setPartitionOrder(List<FieldSchema> partitionOrder) |
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) |
void |
ThriftHiveMetastore.AsyncProcessor.get_fields.start(I iface,
ThriftHiveMetastore.get_fields_args args,
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> resultHandler) |
void |
ThriftHiveMetastore.AsyncProcessor.get_fields_with_environment_context.start(I iface,
ThriftHiveMetastore.get_fields_with_environment_context_args args,
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> resultHandler) |
void |
ThriftHiveMetastore.AsyncProcessor.get_schema.start(I iface,
ThriftHiveMetastore.get_schema_args args,
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> resultHandler) |
void |
ThriftHiveMetastore.AsyncProcessor.get_schema_with_environment_context.start(I iface,
ThriftHiveMetastore.get_schema_with_environment_context_args args,
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> resultHandler) |
| Constructor and Description |
|---|
FieldSchema(FieldSchema other)
Performs a deep copy on other.
|
| Constructor and Description |
|---|
get_fields_call(String db_name,
String table_name,
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
get_fields_result(List<FieldSchema> success,
MetaException o1,
UnknownTableException o2,
UnknownDBException o3) |
get_fields_with_environment_context_call(String db_name,
String table_name,
EnvironmentContext environment_context,
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
get_fields_with_environment_context_result(List<FieldSchema> success,
MetaException o1,
UnknownTableException o2,
UnknownDBException o3) |
get_schema_call(String db_name,
String table_name,
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
get_schema_result(List<FieldSchema> success,
MetaException o1,
UnknownTableException o2,
UnknownDBException o3) |
get_schema_with_environment_context_call(String db_name,
String table_name,
EnvironmentContext environment_context,
org.apache.thrift.async.AsyncMethodCallback<List<FieldSchema>> resultHandler,
org.apache.thrift.async.TAsyncClient client,
org.apache.thrift.protocol.TProtocolFactory protocolFactory,
org.apache.thrift.transport.TNonblockingTransport transport) |
get_schema_with_environment_context_result(List<FieldSchema> success,
MetaException o1,
UnknownTableException o2,
UnknownDBException o3) |
GetFieldsResponse(List<FieldSchema> fields) |
GetSchemaResponse(List<FieldSchema> fields) |
PartitionValuesRequest(String dbName,
String tblName,
List<FieldSchema> partitionKeys) |
Schema(List<FieldSchema> fieldSchemas,
Map<String,String> properties) |
SchemaVersion(ISchemaName schema,
int version,
long createdAt,
List<FieldSchema> cols) |
StorageDescriptor(List<FieldSchema> cols,
String location,
String inputFormat,
String outputFormat,
boolean compressed,
int numBuckets,
SerDeInfo serdeInfo,
List<String> bucketCols,
List<Order> sortCols,
Map<String,String> parameters) |
Table(String tableName,
String dbName,
String owner,
int createTime,
int lastAccessTime,
int retention,
StorageDescriptor sd,
List<FieldSchema> partitionKeys,
Map<String,String> parameters,
String viewOriginalText,
String viewExpandedText,
String tableType) |
| 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) |
static String |
MetaStoreUtils.getColumnCommentsFromFieldSchema(List<FieldSchema> fieldSchemas) |
static String |
MetaStoreUtils.getColumnNameDelimiter(List<FieldSchema> fieldSchemas) |
static List<String> |
MetaStoreUtils.getColumnNames(List<FieldSchema> schema) |
static String |
MetaStoreUtils.getColumnNamesFromFieldSchema(List<FieldSchema> fieldSchemas)
Convert FieldSchemas to columnNames.
|
static String |
MetaStoreUtils.getColumnTypesFromFieldSchema(List<FieldSchema> fieldSchemas) |
static String |
MetaStoreUtils.getColumnTypesFromFieldSchema(List<FieldSchema> fieldSchemas,
String delimiter)
Convert FieldSchemas to columnTypes.
|
static String |
MetaStoreUtils.getDDLFromFieldSchema(String structName,
List<FieldSchema> fieldSchemas)
Convert FieldSchemas to Thrift DDL.
|
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 Properties |
MetaStoreUtils.getSchemaWithoutCols(StorageDescriptor sd,
Map<String,String> parameters,
String databaseName,
String tableName,
List<FieldSchema> partitionKeys) |
Copyright © 2024 The Apache Software Foundation. All rights reserved.