@InterfaceAudience.Private @InterfaceStability.Stable public class BinInterSedes extends Object implements InterSedes
Modifier and Type | Class and Description |
---|---|
static class |
BinInterSedes.BinInterSedesTupleRawComparator |
Modifier and Type | Field and Description |
---|---|
static byte |
BAG |
static byte |
BIGDECIMAL |
static byte |
BIGINTEGER |
static byte |
BOOLEAN_FALSE |
static byte |
BOOLEAN_TRUE |
static byte |
BYTE |
static byte |
BYTEARRAY |
static byte |
CHARARRAY |
static byte |
DATETIME |
static byte |
DOUBLE |
static byte |
FLOAT |
static byte |
GENERIC_WRITABLECOMPARABLE |
static byte |
INTEGER |
static byte |
INTEGER_0 |
static byte |
INTEGER_1 |
static byte |
INTEGER_INBYTE |
static byte |
INTEGER_INSHORT |
static byte |
INTERNALMAP |
static byte |
LONG |
static byte |
LONG_0 |
static byte |
LONG_1 |
static byte |
LONG_INBYTE |
static byte |
LONG_ININT |
static byte |
LONG_INSHORT |
static byte |
MAP |
static byte |
NULL |
static byte |
SCHEMA_TUPLE |
static byte |
SCHEMA_TUPLE_BYTE_INDEX |
static byte |
SCHEMA_TUPLE_SHORT_INDEX |
static byte |
SMALLBAG |
static byte |
SMALLBYTEARRAY |
static byte |
SMALLCHARARRAY |
static byte |
SMALLMAP |
static byte |
SMALLTUPLE |
static byte |
TINYBAG |
static byte |
TINYBYTEARRAY |
static byte |
TINYMAP |
static byte |
TINYTUPLE |
static byte |
TUPLE |
static byte |
TUPLE_0 |
static byte |
TUPLE_1 |
static byte |
TUPLE_2 |
static byte |
TUPLE_3 |
static byte |
TUPLE_4 |
static byte |
TUPLE_5 |
static byte |
TUPLE_6 |
static byte |
TUPLE_7 |
static byte |
TUPLE_8 |
static byte |
TUPLE_9 |
static int |
UNSIGNED_BYTE_MAX |
static int |
UNSIGNED_SHORT_MAX |
static String |
UTF8 |
Constructor and Description |
---|
BinInterSedes() |
Modifier and Type | Method and Description |
---|---|
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() |
int |
getTupleSize(DataInput in,
byte type) |
static boolean |
isTupleByte(byte b) |
Object |
readDatum(DataInput in)
Get the next object from DataInput in
|
Object |
readDatum(DataInput in,
byte type)
Expects binInterSedes data types (NOT DataType types!)
|
Tuple |
readTuple(DataInput in) |
Tuple |
readTuple(DataInput in,
byte type) |
void |
writeDatum(DataOutput out,
Object val)
Write given object val to DataOutput out
|
void |
writeDatum(DataOutput out,
Object val,
byte type)
Write given object val of DataType type to DataOutput out
|
public static final byte BOOLEAN_TRUE
public static final byte BOOLEAN_FALSE
public static final byte BYTE
public static final byte INTEGER
public static final byte INTEGER_0
public static final byte INTEGER_1
public static final byte INTEGER_INSHORT
public static final byte INTEGER_INBYTE
public static final byte LONG
public static final byte FLOAT
public static final byte DOUBLE
public static final byte BYTEARRAY
public static final byte SMALLBYTEARRAY
public static final byte TINYBYTEARRAY
public static final byte CHARARRAY
public static final byte SMALLCHARARRAY
public static final byte MAP
public static final byte SMALLMAP
public static final byte TINYMAP
public static final byte TUPLE
public static final byte SMALLTUPLE
public static final byte TINYTUPLE
public static final byte BAG
public static final byte SMALLBAG
public static final byte TINYBAG
public static final byte GENERIC_WRITABLECOMPARABLE
public static final byte INTERNALMAP
public static final byte NULL
public static final byte SCHEMA_TUPLE_BYTE_INDEX
public static final byte SCHEMA_TUPLE_SHORT_INDEX
public static final byte SCHEMA_TUPLE
public static final byte LONG_INBYTE
public static final byte LONG_INSHORT
public static final byte LONG_ININT
public static final byte LONG_0
public static final byte LONG_1
public static final byte TUPLE_0
public static final byte TUPLE_1
public static final byte TUPLE_2
public static final byte TUPLE_3
public static final byte TUPLE_4
public static final byte TUPLE_5
public static final byte TUPLE_6
public static final byte TUPLE_7
public static final byte TUPLE_8
public static final byte TUPLE_9
public static final byte BIGINTEGER
public static final byte BIGDECIMAL
public static final byte DATETIME
public static final int UNSIGNED_SHORT_MAX
public static final int UNSIGNED_BYTE_MAX
public static final String UTF8
public Tuple readTuple(DataInput in, byte type) throws IOException
IOException
public int getTupleSize(DataInput in, byte type) throws IOException
IOException
public Object readDatum(DataInput in) throws IOException, ExecException
InterSedes
readDatum
in interface InterSedes
IOException
ExecException
public Object readDatum(DataInput in, byte type) throws IOException, ExecException
readDatum
in interface InterSedes
IOException
ExecException
InterSedes.readDatum(java.io.DataInput, byte)
public void writeDatum(DataOutput out, Object val) throws IOException
InterSedes
writeDatum
in interface InterSedes
IOException
public void writeDatum(DataOutput out, Object val, byte type) throws IOException
InterSedes
writeDatum
in interface InterSedes
out
- outputval
- value to writetype
- type, as defined in DataType
IOException
public void addColsToTuple(DataInput in, Tuple t) throws IOException
InterSedes
addColsToTuple
in interface InterSedes
IOException
public Class<? extends TupleRawComparator> getTupleRawComparatorClass()
getTupleRawComparatorClass
in interface InterSedes
public Tuple readTuple(DataInput in) throws IOException
IOException
public static boolean isTupleByte(byte b)
Copyright © 2007-2017 The Apache Software Foundation