@InterfaceAudience.Public @InterfaceStability.Stable public class LazySerDeParameters extends Object implements LazyObjectInspectorParameters
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
DefaultSeparators |
static org.slf4j.Logger |
LOG |
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(org.apache.hadoop.conf.Configuration conf)
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() |
TypeInfo |
getRowTypeInfo() |
byte[] |
getSeparators() |
List<String> |
getTimestampFormats() |
boolean |
isEscaped() |
boolean |
isExtendedBooleanLiteral() |
boolean |
isLastColumnTakesRest() |
void |
setSeparator(int index,
byte separator) |
public static final org.slf4j.Logger LOG
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(org.apache.hadoop.conf.Configuration conf)
throws SerDeException
SerDeExceptionpublic byte[] getSeparators()
getSeparators in interface LazyObjectInspectorParameterspublic 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 © 2019 The Apache Software Foundation. All Rights Reserved.