public class ThriftByteStreamTypedSerDe extends ByteStreamTypedSerDe
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.thrift.protocol.TProtocol |
inProtocol |
protected org.apache.thrift.transport.TIOStreamTransport |
inTransport |
protected org.apache.thrift.protocol.TProtocol |
outProtocol |
protected org.apache.thrift.transport.TIOStreamTransport |
outTransport |
bis, bosdeserializeCache, objectClass, objectType| Constructor and Description |
|---|
ThriftByteStreamTypedSerDe(java.lang.reflect.Type objectType,
org.apache.thrift.protocol.TProtocolFactory inFactory,
org.apache.thrift.protocol.TProtocolFactory outFactory) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
deserialize(Writable field)
Deserialize an object out of a Writable blob.
|
protected ObjectInspectorFactory.ObjectInspectorOptions |
getObjectInspectorOptions() |
void |
initialize(Configuration job,
java.util.Properties tbl)
Initialize the HiveSerializer.
|
getObjectInspector, getSerDeStats, getSerializedClass, serializeprotected org.apache.thrift.transport.TIOStreamTransport outTransport
protected org.apache.thrift.transport.TIOStreamTransport inTransport
protected org.apache.thrift.protocol.TProtocol outProtocol
protected org.apache.thrift.protocol.TProtocol inProtocol
public ThriftByteStreamTypedSerDe(java.lang.reflect.Type objectType,
org.apache.thrift.protocol.TProtocolFactory inFactory,
org.apache.thrift.protocol.TProtocolFactory outFactory)
throws SerDeException
SerDeExceptionpublic void initialize(Configuration job,
java.util.Properties tbl)
throws SerDeException
AbstractSerDeinitialize in interface Deserializerinitialize in interface Serializerinitialize in class TypedSerDejob - System propertiestbl - table propertiesSerDeExceptionprotected ObjectInspectorFactory.ObjectInspectorOptions getObjectInspectorOptions()
getObjectInspectorOptions in class TypedSerDepublic java.lang.Object deserialize(Writable field)
throws SerDeException
AbstractSerDedeserialize in interface Deserializerdeserialize in class ByteStreamTypedSerDefield - The Writable object containing a serialized objectSerDeExceptionCopyright © 2012 The Apache Software Foundation