public class HCatSchemaUtils
extends java.lang.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 FieldSchema |
getFieldSchema(HCatFieldSchema hcatFieldSchema) |
static java.util.List<FieldSchema> |
getFieldSchemas(java.util.List<HCatFieldSchema> hcatFieldSchemas) |
static HCatFieldSchema |
getHCatFieldSchema(FieldSchema fs)
Convert a HCatFieldSchema to a FieldSchema
|
static HCatSchema |
getHCatSchema(java.util.List<? extends FieldSchema> fslist) |
static HCatSchema |
getHCatSchema(Schema schema) |
static HCatSchema |
getHCatSchema(java.lang.String schemaString) |
static HCatSchema |
getHCatSchema(TypeInfo typeInfo) |
static HCatSchema |
getHCatSchemaFromTypeString(java.lang.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(FieldSchema fs) throws HCatException
fs
- FieldSchema to convertHCatException
public static HCatSchema getHCatSchema(Schema schema) throws HCatException
HCatException
public static HCatSchema getHCatSchema(java.util.List<? extends FieldSchema> fslist) throws HCatException
HCatException
public static HCatSchema getHCatSchema(TypeInfo typeInfo) throws HCatException
HCatException
public static HCatSchema getHCatSchemaFromTypeString(java.lang.String typeString) throws HCatException
HCatException
public static HCatSchema getHCatSchema(java.lang.String schemaString) throws HCatException
HCatException
public static FieldSchema getFieldSchema(HCatFieldSchema hcatFieldSchema)
public static java.util.List<FieldSchema> getFieldSchemas(java.util.List<HCatFieldSchema> hcatFieldSchemas)
Copyright © 2012 The Apache Software Foundation