org.apache.hadoop.hive.metastore.model
Class MType
java.lang.Object
org.apache.hadoop.hive.metastore.model.MType
public class MType
- extends Object
Represents a Hive type
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MType
public MType(String name,
String type1,
String type2,
List<MFieldSchema> fields)
- Parameters:
name - type1 - type2 - fields -
MType
public MType()
getName
public String getName()
- Returns:
- the name
setName
public void setName(String name)
- Parameters:
name - the name to set
getType1
public String getType1()
- Returns:
- the type1
setType1
public void setType1(String type1)
- Parameters:
type1 - the type1 to set
getType2
public String getType2()
- Returns:
- the type2
setType2
public void setType2(String type2)
- Parameters:
type2 - the type2 to set
getFields
public List<MFieldSchema> getFields()
- Returns:
- the fields
setFields
public void setFields(List<MFieldSchema> fields)
- Parameters:
fields - the fields to set
Copyright © 2011 The Apache Software Foundation