|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Deprecated public interface Serializer
HiveSerializer is used to serialize data to a Hadoop Writable object. The serialize In addition to the interface below, all implementations are assume to have a ctor that takes a single 'Table' object as argument. All serializers should extend the abstract class AbstractSerializer, and eventually Serializer interface should be removed
| Method Summary | |
|---|---|
SerDeStats |
getSerDeStats()
Deprecated. Returns statistics collected when serializing |
Class<? extends Writable> |
getSerializedClass()
Deprecated. Returns the Writable class that would be returned by the serialize method. |
void |
initialize(Configuration conf,
Properties tbl)
Deprecated. Initialize the HiveSerializer. |
Writable |
serialize(Object obj,
ObjectInspector objInspector)
Deprecated. Serialize an object by navigating inside the Object with the ObjectInspector. |
| Method Detail |
|---|
void initialize(Configuration conf,
Properties tbl)
throws SerDeException
conf - System propertiestbl - table properties
SerDeExceptionClass<? extends Writable> getSerializedClass()
Writable serialize(Object obj,
ObjectInspector objInspector)
throws SerDeException
SerDeExceptionSerDeStats getSerDeStats()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||