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

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

public class HCatSchemaUtils.MapBuilder
extends HCatSchemaUtils.HCatSchemaBuilder


Constructor Summary
HCatSchemaUtils.MapBuilder()
           
 
Method Summary
 HCatSchema build()
           
 HCatSchemaUtils.MapBuilder withKeyType(HCatFieldSchema.Type keyType)
           
 HCatSchemaUtils.MapBuilder withValueSchema(HCatSchema valueSchema)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HCatSchemaUtils.MapBuilder

public HCatSchemaUtils.MapBuilder()
Method Detail

build

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

withValueSchema

public HCatSchemaUtils.MapBuilder withValueSchema(HCatSchema valueSchema)

withKeyType

public HCatSchemaUtils.MapBuilder withKeyType(HCatFieldSchema.Type keyType)