public abstract class BaseJsonSerDe extends AbstractSerDe
| Modifier and Type | Field and Description |
|---|---|
protected String |
attrLabel |
protected ArrayList<String> |
columnNames |
protected ArrayList<ObjectInspector> |
columnOIs |
protected boolean[] |
columnSet |
protected int |
geometryColumn |
protected static com.fasterxml.jackson.core.JsonFactory |
jsonFactory |
protected int |
numColumns |
protected StructObjectInspector |
rowOI |
protected static TimeZone |
tz |
configuration, log, partitionProperties, properties, tableProperties| Constructor and Description |
|---|
BaseJsonSerDe() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(org.apache.hadoop.io.Writable json_in) |
ObjectInspector |
getObjectInspector() |
SerDeStats |
getSerDeStats() |
Class<? extends org.apache.hadoop.io.Writable> |
getSerializedClass() |
void |
initialize(org.apache.hadoop.conf.Configuration cfg,
Properties tbl,
Properties partitionProperties) |
protected abstract String |
outGeom(com.esri.core.geometry.ogc.OGCGeometry geom) |
protected abstract com.esri.core.geometry.ogc.OGCGeometry |
parseGeom(com.fasterxml.jackson.core.JsonParser parser) |
org.apache.hadoop.io.Writable |
serialize(Object obj,
ObjectInspector oi) |
getColumnComments, getColumnNames, getColumnTypes, getConfiguration, getPartitionColumnComments, getPartitionColumnNames, getPartitionColumnTypes, parseColumnComments, parseColumnNames, parseColumnNames, parseColumnTypes, parseColumnTypes, shouldStoreFieldsInMetastore, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithandleJobLevelConfigurationprotected static com.fasterxml.jackson.core.JsonFactory jsonFactory
protected static TimeZone tz
protected int numColumns
protected int geometryColumn
protected ArrayList<ObjectInspector> columnOIs
protected boolean[] columnSet
protected StructObjectInspector rowOI
protected String attrLabel
public void initialize(org.apache.hadoop.conf.Configuration cfg,
Properties tbl,
Properties partitionProperties)
throws SerDeException
initialize in class AbstractSerDeSerDeExceptionpublic Object deserialize(org.apache.hadoop.io.Writable json_in) throws SerDeException
deserialize in interface Deserializerdeserialize in class AbstractSerDeSerDeExceptionpublic ObjectInspector getObjectInspector() throws SerDeException
SerDeExceptionpublic SerDeStats getSerDeStats()
getSerDeStats in interface SerDegetSerDeStats in class AbstractSerDepublic Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
getSerializedClass in interface SerializergetSerializedClass in class AbstractSerDepublic org.apache.hadoop.io.Writable serialize(Object obj, ObjectInspector oi) throws SerDeException
serialize in interface Serializerserialize in class AbstractSerDeSerDeExceptionprotected abstract String outGeom(com.esri.core.geometry.ogc.OGCGeometry geom)
protected abstract com.esri.core.geometry.ogc.OGCGeometry parseGeom(com.fasterxml.jackson.core.JsonParser parser)
Copyright © 2022 The Apache Software Foundation. All rights reserved.