public class TableDesc extends Object implements Serializable, Cloneable
Constructor and Description |
---|
TableDesc() |
TableDesc(Class<? extends org.apache.hadoop.mapred.InputFormat> inputFormatClass,
Class<?> outputFormatClass,
Properties properties) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
equals(Object o) |
Deserializer |
getDeserializer() |
Deserializer |
getDeserializer(org.apache.hadoop.conf.Configuration conf)
Return a deserializer object corresponding to the tableDesc.
|
Deserializer |
getDeserializer(org.apache.hadoop.conf.Configuration conf,
boolean ignoreError) |
Class<? extends Deserializer> |
getDeserializerClass() |
Class<? extends org.apache.hadoop.mapred.InputFormat> |
getInputFileFormatClass() |
String |
getInputFileFormatClassName() |
Map<String,String> |
getJobProperties() |
Class<? extends org.apache.hadoop.mapred.OutputFormat> |
getOutputFileFormatClass() |
String |
getOutputFileFormatClassName() |
Properties |
getProperties() |
Map |
getPropertiesExplain() |
String |
getSerdeClassName() |
String |
getTableName() |
int |
hashCode() |
boolean |
isNonNative() |
void |
setInputFileFormatClass(Class<? extends org.apache.hadoop.mapred.InputFormat> inputFileFormatClass) |
void |
setJobProperties(Map<String,String> jobProperties) |
void |
setOutputFileFormatClass(Class<?> outputFileFormatClass) |
void |
setProperties(Properties properties) |
public TableDesc()
public TableDesc(Class<? extends org.apache.hadoop.mapred.InputFormat> inputFormatClass, Class<?> outputFormatClass, Properties properties)
inputFormatClass
- outputFormatClass
- properties
- must contain serde class name associate with this table.public Class<? extends Deserializer> getDeserializerClass()
public Class<? extends org.apache.hadoop.mapred.InputFormat> getInputFileFormatClass()
public Deserializer getDeserializer() throws Exception
Exception
public Deserializer getDeserializer(org.apache.hadoop.conf.Configuration conf) throws Exception
Exception
public Deserializer getDeserializer(org.apache.hadoop.conf.Configuration conf, boolean ignoreError) throws Exception
Exception
public void setInputFileFormatClass(Class<? extends org.apache.hadoop.mapred.InputFormat> inputFileFormatClass)
public Class<? extends org.apache.hadoop.mapred.OutputFormat> getOutputFileFormatClass()
public void setOutputFileFormatClass(Class<?> outputFileFormatClass)
public Properties getProperties()
public Map getPropertiesExplain()
public void setProperties(Properties properties)
public String getSerdeClassName()
public String getTableName()
public String getInputFileFormatClassName()
public String getOutputFileFormatClassName()
public boolean isNonNative()
Copyright © 2017 The Apache Software Foundation. All rights reserved.