public class AccumuloSerDe extends AbstractSerDe
configErrors| Constructor and Description |
|---|
AccumuloSerDe() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(org.apache.hadoop.io.Writable writable)
Deserialize an object out of a Writable blob.
|
LazyAccumuloRow |
getCachedRow()
For testing purposes.
|
protected ArrayList<ObjectInspector> |
getColumnObjectInspectors(List<TypeInfo> columnTypes,
LazySerDeParameters serDeParams,
List<ColumnMapping> mappings,
AccumuloRowIdFactory factory) |
boolean |
getIteratorPushdown() |
ObjectInspector |
getObjectInspector()
Get the object inspector that can be used to navigate through the internal
structure of the Object returned from deserialize(...).
|
AccumuloSerDeParameters |
getParams() |
SerDeStats |
getSerDeStats()
Returns statistics collected when serializing
|
Class<? extends org.apache.hadoop.io.Writable> |
getSerializedClass()
Returns the Writable class that would be returned by the serialize method.
|
protected AccumuloRowSerializer |
getSerializer() |
void |
initialize(org.apache.hadoop.conf.Configuration conf,
Properties properties)
Initialize the HiveSerializer.
|
org.apache.hadoop.io.Writable |
serialize(Object o,
ObjectInspector objectInspector)
Serialize an object by navigating inside the Object with the
ObjectInspector.
|
getConfigurationErrors, initialize, shouldStoreFieldsInMetastorepublic void initialize(org.apache.hadoop.conf.Configuration conf,
Properties properties)
throws SerDeException
AbstractSerDeinitialize in interface Deserializerinitialize in interface Serializerinitialize in class AbstractSerDeconf - System properties. Can be null in compile timeproperties - table propertiesSerDeExceptionprotected ArrayList<ObjectInspector> getColumnObjectInspectors(List<TypeInfo> columnTypes, LazySerDeParameters serDeParams, List<ColumnMapping> mappings, AccumuloRowIdFactory factory) throws SerDeException
SerDeExceptionpublic LazyAccumuloRow getCachedRow()
public Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
AbstractSerDegetSerializedClass in interface SerializergetSerializedClass in class AbstractSerDepublic org.apache.hadoop.io.Writable serialize(Object o, ObjectInspector objectInspector) throws SerDeException
AbstractSerDeserialize in interface Serializerserialize in class AbstractSerDeSerDeExceptionpublic Object deserialize(org.apache.hadoop.io.Writable writable) throws SerDeException
AbstractSerDedeserialize in interface Deserializerdeserialize in class AbstractSerDewritable - The Writable object containing a serialized objectSerDeExceptionpublic ObjectInspector getObjectInspector() throws SerDeException
AbstractSerDegetObjectInspector in interface DeserializergetObjectInspector in class AbstractSerDeSerDeExceptionpublic SerDeStats getSerDeStats()
AbstractSerDegetSerDeStats in interface DeserializergetSerDeStats in interface SerializergetSerDeStats in class AbstractSerDepublic AccumuloSerDeParameters getParams()
public boolean getIteratorPushdown()
protected AccumuloRowSerializer getSerializer()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.