@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_DECODE_BINARY_AS_BASE64 |
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 |
isDecodeBinaryAsBase64() |
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 static final String SERIALIZATION_DECODE_BINARY_AS_BASE64
public LazySerDeParameters(org.apache.hadoop.conf.Configuration job, Properties tbl, String serdeName) throws SerDeException
SerDeException
public void extractColumnInfo(org.apache.hadoop.conf.Configuration conf) throws SerDeException
SerDeException
public byte[] getSeparators()
getSeparators
in interface LazyObjectInspectorParameters
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 boolean isDecodeBinaryAsBase64()
public List<String> getTimestampFormats()
getTimestampFormats
in interface LazyObjectInspectorParameters
public void setSeparator(int index, byte separator) throws SerDeException
SerDeException
Copyright © 2023 The Apache Software Foundation. All rights reserved.