org.apache.hcatalog.data.schema
Class HCatSchemaUtils.CollectionBuilder

java.lang.Object
  extended by org.apache.hcatalog.data.schema.HCatSchemaUtils.HCatSchemaBuilder
      extended by org.apache.hcatalog.data.schema.HCatSchemaUtils.CollectionBuilder
Enclosing class:
HCatSchemaUtils

public class HCatSchemaUtils.CollectionBuilder
extends HCatSchemaUtils.HCatSchemaBuilder


Method Summary
 HCatSchemaUtils.CollectionBuilder addField(org.apache.hadoop.hive.metastore.api.FieldSchema fieldSchema)
           
 HCatSchemaUtils.CollectionBuilder addField(HCatFieldSchema fieldColumnSchema)
           
 HCatSchema build()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addField

public HCatSchemaUtils.CollectionBuilder addField(org.apache.hadoop.hive.metastore.api.FieldSchema fieldSchema)
                                           throws HCatException
Throws:
HCatException

addField

public HCatSchemaUtils.CollectionBuilder addField(HCatFieldSchema fieldColumnSchema)

build

public HCatSchema build()
                 throws HCatException
Specified by:
build in class HCatSchemaUtils.HCatSchemaBuilder
Throws:
HCatException