public class LazySerDeParameters extends Object implements LazyObjectInspectorParameters
Modifier and Type | Field and Description |
---|---|
static byte[] |
DefaultSeparators |
static String |
SERIALIZATION_EXTEND_ADDITIONAL_NESTING_LEVELS |
static String |
SERIALIZATION_EXTEND_NESTING_LEVELS |
Constructor and Description |
---|
LazySerDeParameters(org.apache.hadoop.conf.Configuration job,
Properties tbl,
String serdeName) |
Modifier and Type | Method and Description |
---|---|
void |
extractColumnInfo()
Extracts and set column names and column types from the table properties
|
List<String> |
getColumnNames() |
List<TypeInfo> |
getColumnTypes() |
byte |
getEscapeChar() |
boolean[] |
getNeedsEscape() |
org.apache.hadoop.io.Text |
getNullSequence() |
String |
getNullString() |
TypeInfo |
getRowTypeInfo() |
byte[] |
getSeparators() |
List<String> |
getTimestampFormats() |
boolean |
isEscaped() |
boolean |
isExtendedBooleanLiteral() |
boolean |
isLastColumnTakesRest() |
void |
setSeparator(int index,
byte separator) |
public static final byte[] DefaultSeparators
public static final String SERIALIZATION_EXTEND_NESTING_LEVELS
public static final String SERIALIZATION_EXTEND_ADDITIONAL_NESTING_LEVELS
public LazySerDeParameters(org.apache.hadoop.conf.Configuration job, Properties tbl, String serdeName) throws SerDeException
SerDeException
public void extractColumnInfo() throws SerDeException
SerDeException
public byte[] getSeparators()
getSeparators
in interface LazyObjectInspectorParameters
public String getNullString()
public org.apache.hadoop.io.Text getNullSequence()
getNullSequence
in interface LazyObjectInspectorParameters
public TypeInfo getRowTypeInfo()
public boolean isLastColumnTakesRest()
isLastColumnTakesRest
in interface LazyObjectInspectorParameters
public boolean isEscaped()
isEscaped
in interface LazyObjectInspectorParameters
public byte getEscapeChar()
getEscapeChar
in interface LazyObjectInspectorParameters
public boolean[] getNeedsEscape()
public boolean isExtendedBooleanLiteral()
isExtendedBooleanLiteral
in interface LazyObjectInspectorParameters
public List<String> getTimestampFormats()
getTimestampFormats
in interface LazyObjectInspectorParameters
public void setSeparator(int index, byte separator) throws SerDeException
SerDeException
Copyright © 2017 The Apache Software Foundation. All rights reserved.