org.apache.hadoop.hive.metastore.model
Class MFieldSchema
java.lang.Object
org.apache.hadoop.hive.metastore.model.MFieldSchema
public class MFieldSchema
- extends Object
Represent a column or a type of a table or object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MFieldSchema
public MFieldSchema()
MFieldSchema
public MFieldSchema(String name,
String type,
String comment)
- Parameters:
comment
- name
- type
-
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 © 2010 The Apache Software Foundation