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
SerDeExceptionpublic void extractColumnInfo()
throws SerDeException
SerDeExceptionpublic byte[] getSeparators()
getSeparators in interface LazyObjectInspectorParameterspublic String getNullString()
public org.apache.hadoop.io.Text getNullSequence()
getNullSequence in interface LazyObjectInspectorParameterspublic TypeInfo getRowTypeInfo()
public boolean isLastColumnTakesRest()
isLastColumnTakesRest in interface LazyObjectInspectorParameterspublic boolean isEscaped()
isEscaped in interface LazyObjectInspectorParameterspublic byte getEscapeChar()
getEscapeChar in interface LazyObjectInspectorParameterspublic boolean[] getNeedsEscape()
public boolean isExtendedBooleanLiteral()
isExtendedBooleanLiteral in interface LazyObjectInspectorParameterspublic List<String> getTimestampFormats()
getTimestampFormats in interface LazyObjectInspectorParameterspublic void setSeparator(int index,
byte separator)
throws SerDeException
SerDeExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.