org.apache.hadoop.hive.ql.plan
Class TableDesc
java.lang.Object
org.apache.hadoop.hive.ql.plan.TableDesc
- All Implemented Interfaces:
- Serializable, Cloneable
public class TableDesc
- extends Object
- implements Serializable, Cloneable
TableDesc.
- See Also:
- Serialized Form
TableDesc
public TableDesc()
TableDesc
public TableDesc(Class<? extends Deserializer> serdeClass,
Class<? extends InputFormat> inputFileFormatClass,
Class<?> class1,
Properties properties)
getDeserializerClass
public Class<? extends Deserializer> getDeserializerClass()
setDeserializerClass
public void setDeserializerClass(Class<? extends Deserializer> serdeClass)
getInputFileFormatClass
public Class<? extends InputFormat> getInputFileFormatClass()
getDeserializer
public Deserializer getDeserializer()
throws Exception
- Return a deserializer object corresponding to the tableDesc.
- Throws:
Exception
setInputFileFormatClass
public void setInputFileFormatClass(Class<? extends InputFormat> inputFileFormatClass)
getOutputFileFormatClass
public Class<? extends HiveOutputFormat> getOutputFileFormatClass()
setOutputFileFormatClass
public void setOutputFileFormatClass(Class<?> outputFileFormatClass)
getProperties
public Properties getProperties()
setProperties
public void setProperties(Properties properties)
setJobProperties
public void setJobProperties(Map<String,String> jobProperties)
getJobProperties
public Map<String,String> getJobProperties()
getSerdeClassName
public String getSerdeClassName()
- Returns:
- the serdeClassName
setSerdeClassName
public void setSerdeClassName(String serdeClassName)
- Parameters:
serdeClassName
- the serde Class Name to set
getTableName
public String getTableName()
getInputFileFormatClassName
public String getInputFileFormatClassName()
getOutputFileFormatClassName
public String getOutputFileFormatClassName()
isNonNative
public boolean isNonNative()
clone
public Object clone()
- Overrides:
clone
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
Copyright © 2012 The Apache Software Foundation