public class DruidSerDe extends AbstractSerDe
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
configErrors| Constructor and Description |
|---|
DruidSerDe() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(org.apache.hadoop.io.Writable writable)
Deserialize an object out of a Writable blob.
|
ObjectInspector |
getObjectInspector()
Get the object inspector that can be used to navigate through the internal
structure of the Object returned from deserialize(...).
|
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.
|
void |
initialize(org.apache.hadoop.conf.Configuration configuration,
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.
|
boolean |
shouldStoreFieldsInMetastore(Map<String,String> tableParams) |
protected io.druid.query.metadata.metadata.SegmentAnalysis |
submitMetadataRequest(String address,
io.druid.query.metadata.metadata.SegmentMetadataQuery query) |
getConfigurationErrors, initializepublic void initialize(org.apache.hadoop.conf.Configuration configuration,
Properties properties)
throws SerDeException
AbstractSerDeinitialize in interface Deserializerinitialize in interface Serializerinitialize in class AbstractSerDeconfiguration - System properties. Can be null in compile timeproperties - table propertiesSerDeExceptionprotected io.druid.query.metadata.metadata.SegmentAnalysis submitMetadataRequest(String address, io.druid.query.metadata.metadata.SegmentMetadataQuery query) throws SerDeException, IOException
SerDeExceptionIOExceptionpublic 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 SerDeStats getSerDeStats()
AbstractSerDegetSerDeStats in interface DeserializergetSerDeStats in interface SerializergetSerDeStats in class AbstractSerDepublic 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()
AbstractSerDegetObjectInspector in interface DeserializergetObjectInspector in class AbstractSerDepublic boolean shouldStoreFieldsInMetastore(Map<String,String> tableParams)
shouldStoreFieldsInMetastore in class AbstractSerDeCopyright © 2019 The Apache Software Foundation. All Rights Reserved.