|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@InterfaceAudience.Private @InterfaceStability.Evolving public interface InterSedes
A class to handle reading and writing of intermediate results of data types. The serialization format used by this class more efficient than what was used in DataReaderWriter . The format used by the functions in this class is subject to change, so it should be used ONLY to store intermediate results within a pig query.
Method Summary | |
---|---|
void |
addColsToTuple(DataInput in,
Tuple t)
The type of next object has been determined to be of type Tuple, add the columns that belong to the tuple to given tuple argument t |
Class<? extends TupleRawComparator> |
getTupleRawComparatorClass()
|
Object |
readDatum(DataInput in)
Get the next object from DataInput in |
Object |
readDatum(DataInput in,
byte type)
Get the next object from DataInput in of the type of type argument The type information has been read from DataInput. |
void |
writeDatum(DataOutput out,
Object val)
Write given object val to DataOutput out |
Method Detail |
---|
Object readDatum(DataInput in) throws IOException, ExecException
in
-
IOException
ExecException
Object readDatum(DataInput in, byte type) throws IOException, ExecException
in
- type
-
IOException
ExecException
void addColsToTuple(DataInput in, Tuple t) throws IOException
in
- t
-
IOException
void writeDatum(DataOutput out, Object val) throws IOException
out
- val
-
IOException
Class<? extends TupleRawComparator> getTupleRawComparatorClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |