org.apache.hadoop.hive.metastore.model
Class MFieldSchema

java.lang.Object
  extended by org.apache.hadoop.hive.metastore.model.MFieldSchema

public class MFieldSchema
extends Object

Represent a column or a type of a table or object


Constructor Summary
MFieldSchema()
           
MFieldSchema(String name, String type, String comment)
           
 
Method Summary
 String getComment()
           
 String getName()
           
 String getType()
           
 void setComment(String comment)
           
 void setName(String name)
           
 void setType(String field)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MFieldSchema

public MFieldSchema()

MFieldSchema

public MFieldSchema(String name,
                    String type,
                    String comment)
Parameters:
comment -
name -
type -
Method Detail

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

getComment

public String getComment()
Returns:
the comment

setComment

public void setComment(String comment)
Parameters:
comment - the comment to set

getType

public String getType()
Returns:
the type

setType

public void setType(String field)
Parameters:
field - the type to set


Copyright © 2011 The Apache Software Foundation