Package | Description |
---|---|
org.apache.hive.hcatalog.api | |
org.apache.hive.hcatalog.common | |
org.apache.hive.hcatalog.data.schema |
Modifier and Type | Method and Description |
---|---|
List<HCatFieldSchema> |
HCatTable.getCols()
Gets the columns.
|
List<HCatFieldSchema> |
HCatCreateTableDesc.getCols()
Deprecated.
|
List<HCatFieldSchema> |
HCatPartition.getColumns()
Gets the columns of the table.
|
List<HCatFieldSchema> |
HCatTable.getPartCols()
Gets the part columns.
|
List<HCatFieldSchema> |
HCatPartition.getPartColumns()
Gets the partition columns of the table.
|
List<HCatFieldSchema> |
HCatCreateTableDesc.getPartitionCols()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HCatTable |
HCatTable.partCol(HCatFieldSchema partCol)
Setter for individual partition columns.
|
Modifier and Type | Method and Description |
---|---|
HCatTable |
HCatTable.cols(List<HCatFieldSchema> cols)
Setter for Column schemas.
|
static HCatCreateTableDesc.Builder |
HCatCreateTableDesc.create(String dbName,
String tableName,
List<HCatFieldSchema> columns)
Deprecated.
|
HCatTable |
HCatTable.partCols(List<HCatFieldSchema> partCols)
Setter for list of partition columns.
|
HCatCreateTableDesc.Builder |
HCatCreateTableDesc.Builder.partCols(List<HCatFieldSchema> partCols)
Deprecated.
|
abstract void |
HCatClient.updateTableSchema(String dbName,
String tableName,
List<HCatFieldSchema> columnSchema)
Updates the Table's column schema to the specified definition.
|
void |
HCatClientHMSImpl.updateTableSchema(String dbName,
String tableName,
List<HCatFieldSchema> columnSchema) |
Modifier and Type | Method and Description |
---|---|
static List<HCatFieldSchema> |
HCatUtil.getHCatFieldSchemaList(FieldSchema... fields) |
static List<HCatFieldSchema> |
HCatUtil.getHCatFieldSchemaList(List<FieldSchema> fields) |
Modifier and Type | Method and Description |
---|---|
static List<FieldSchema> |
HCatUtil.getFieldSchemaList(List<HCatFieldSchema> hcatFields) |
Modifier and Type | Method and Description |
---|---|
static HCatFieldSchema |
HCatFieldSchema.createMapTypeFieldSchema(String fieldName,
PrimitiveTypeInfo mapKeyType,
HCatSchema mapValueSchema,
String comment) |
HCatFieldSchema |
HCatSchema.get(int position) |
HCatFieldSchema |
HCatSchema.get(String fieldName) |
static HCatFieldSchema |
HCatSchemaUtils.getHCatFieldSchema(FieldSchema fs)
Convert a HCatFieldSchema to a FieldSchema
|
Modifier and Type | Method and Description |
---|---|
List<HCatFieldSchema> |
HCatSchema.getFields()
Users are not allowed to modify the list directly, since HCatSchema
maintains internal state.
|
Modifier and Type | Method and Description |
---|---|
HCatSchemaUtils.CollectionBuilder |
HCatSchemaUtils.CollectionBuilder.addField(HCatFieldSchema fieldColumnSchema) |
void |
HCatSchema.append(HCatFieldSchema hfs) |
static FieldSchema |
HCatSchemaUtils.getFieldSchema(HCatFieldSchema hcatFieldSchema) |
void |
HCatSchema.remove(HCatFieldSchema hcatFieldSchema) |
Modifier and Type | Method and Description |
---|---|
static List<FieldSchema> |
HCatSchemaUtils.getFieldSchemas(List<HCatFieldSchema> hcatFieldSchemas) |
Constructor and Description |
---|
HCatSchema(List<HCatFieldSchema> fieldSchemas) |
Copyright © 2021 The Apache Software Foundation. All rights reserved.