org.apache.pig
Class ResourceSchema.ResourceFieldSchema

java.lang.Object
  extended by org.apache.pig.ResourceSchema.ResourceFieldSchema
All Implemented Interfaces:
Serializable
Enclosing class:
ResourceSchema

public static class ResourceSchema.ResourceFieldSchema
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
ResourceSchema.ResourceFieldSchema()
           
ResourceSchema.ResourceFieldSchema(Schema.FieldSchema fieldSchema)
           
 
Method Summary
 String calcCastString()
           
 String getDescription()
           
 String getName()
           
 ResourceSchema getSchema()
           
 byte getType()
           
 ResourceSchema.ResourceFieldSchema setDescription(String description)
           
 ResourceSchema.ResourceFieldSchema setName(String name)
           
 ResourceSchema.ResourceFieldSchema setSchema(ResourceSchema schema)
           
 ResourceSchema.ResourceFieldSchema setType(byte type)
           
static void throwInvalidSchemaException()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceSchema.ResourceFieldSchema

public ResourceSchema.ResourceFieldSchema()

ResourceSchema.ResourceFieldSchema

public ResourceSchema.ResourceFieldSchema(Schema.FieldSchema fieldSchema)
Method Detail

getName

public String getName()

setName

public ResourceSchema.ResourceFieldSchema setName(String name)

getType

public byte getType()

setType

public ResourceSchema.ResourceFieldSchema setType(byte type)

getDescription

public String getDescription()

setDescription

public ResourceSchema.ResourceFieldSchema setDescription(String description)

getSchema

public ResourceSchema getSchema()

setSchema

public ResourceSchema.ResourceFieldSchema setSchema(ResourceSchema schema)
                                             throws IOException
Throws:
IOException

throwInvalidSchemaException

public static void throwInvalidSchemaException()
                                        throws FrontendException
Throws:
FrontendException

toString

public String toString()
Overrides:
toString in class Object

calcCastString

public String calcCastString()


Copyright © ${year} The Apache Software Foundation