public class HCatSchemaUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HCatSchemaUtils.CollectionBuilder |
static class |
HCatSchemaUtils.HCatSchemaBuilder |
static class |
HCatSchemaUtils.MapBuilder |
| Constructor and Description |
|---|
HCatSchemaUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.hive.metastore.api.FieldSchema |
getFieldSchema(HCatFieldSchema hcatFieldSchema) |
static List<org.apache.hadoop.hive.metastore.api.FieldSchema> |
getFieldSchemas(List<HCatFieldSchema> hcatFieldSchemas) |
static HCatFieldSchema |
getHCatFieldSchema(org.apache.hadoop.hive.metastore.api.FieldSchema fs)
Convert a HCatFieldSchema to a FieldSchema
|
static HCatSchema |
getHCatSchema(List<? extends org.apache.hadoop.hive.metastore.api.FieldSchema> fslist) |
static HCatSchema |
getHCatSchema(org.apache.hadoop.hive.metastore.api.Schema schema) |
static HCatSchema |
getHCatSchema(String schemaString) |
static HCatSchema |
getHCatSchema(TypeInfo typeInfo) |
static HCatSchema |
getHCatSchemaFromTypeString(String typeString) |
static HCatSchemaUtils.CollectionBuilder |
getListSchemaBuilder() |
static HCatSchemaUtils.MapBuilder |
getMapSchemaBuilder() |
static HCatSchemaUtils.CollectionBuilder |
getStructSchemaBuilder() |
public static HCatSchemaUtils.CollectionBuilder getStructSchemaBuilder()
public static HCatSchemaUtils.CollectionBuilder getListSchemaBuilder()
public static HCatSchemaUtils.MapBuilder getMapSchemaBuilder()
public static HCatFieldSchema getHCatFieldSchema(org.apache.hadoop.hive.metastore.api.FieldSchema fs) throws HCatException
fs - FieldSchema to convertHCatExceptionpublic static HCatSchema getHCatSchema(org.apache.hadoop.hive.metastore.api.Schema schema) throws HCatException
HCatExceptionpublic static HCatSchema getHCatSchema(List<? extends org.apache.hadoop.hive.metastore.api.FieldSchema> fslist) throws HCatException
HCatExceptionpublic static HCatSchema getHCatSchema(TypeInfo typeInfo) throws HCatException
HCatExceptionpublic static HCatSchema getHCatSchemaFromTypeString(String typeString) throws HCatException
HCatExceptionpublic static HCatSchema getHCatSchema(String schemaString) throws HCatException
HCatExceptionpublic static org.apache.hadoop.hive.metastore.api.FieldSchema getFieldSchema(HCatFieldSchema hcatFieldSchema)
public static List<org.apache.hadoop.hive.metastore.api.FieldSchema> getFieldSchemas(List<HCatFieldSchema> hcatFieldSchemas)
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.