public class S3LogDeserializer extends AbstractDeserializer
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
S3LogDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
deserialize(S3LogStruct c,
String row) |
Object |
deserialize(org.apache.hadoop.io.Writable field)
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
|
void |
initialize(org.apache.hadoop.conf.Configuration job,
Properties tbl)
Initialize the HiveDeserializer.
|
static void |
main(String[] args) |
static Integer |
toInt(String s) |
String |
toString() |
public S3LogDeserializer()
throws SerDeException
SerDeExceptionpublic void initialize(org.apache.hadoop.conf.Configuration job,
Properties tbl)
throws SerDeException
AbstractDeserializerinitialize in interface Deserializerinitialize in class AbstractDeserializerjob - System propertiestbl - table propertiesSerDeExceptionpublic static Object deserialize(S3LogStruct c, String row) throws Exception
Exceptionpublic Object deserialize(org.apache.hadoop.io.Writable field) throws SerDeException
AbstractDeserializerdeserialize in interface Deserializerdeserialize in class AbstractDeserializerfield - The Writable object containing a serialized objectSerDeExceptionpublic ObjectInspector getObjectInspector() throws SerDeException
AbstractDeserializergetObjectInspector in interface DeserializergetObjectInspector in class AbstractDeserializerSerDeExceptionpublic static void main(String[] args)
args - public SerDeStats getSerDeStats()
AbstractDeserializergetSerDeStats in interface DeserializergetSerDeStats in class AbstractDeserializerCopyright © 2019 The Apache Software Foundation. All Rights Reserved.