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

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

public class MType
extends Object

Represents a Hive type


Constructor Summary
MType()
           
MType(String name, String type1, String type2, List<MFieldSchema> fields)
           
 
Method Summary
 List<MFieldSchema> getFields()
           
 String getName()
           
 String getType1()
           
 String getType2()
           
 void setFields(List<MFieldSchema> fields)
           
 void setName(String name)
           
 void setType1(String type1)
           
 void setType2(String type2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MType

public MType(String name,
             String type1,
             String type2,
             List<MFieldSchema> fields)
Parameters:
name -
type1 -
type2 -
fields -

MType

public MType()
Method Detail

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