@InterfaceAudience.Private @InterfaceStability.Stable public class BinInterSedes extends java.lang.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 java.lang.String |
UTF8 |
Constructor and Description |
---|
BinInterSedes() |
Modifier and Type | Method and Description |
---|---|
void |
addColsToTuple(java.io.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
|
java.lang.Class<? extends TupleRawComparator> |
getTupleRawComparatorClass() |
int |
getTupleSize(java.io.DataInput in,
byte type) |
static boolean |
isTupleByte(byte b) |
java.lang.Object |
readDatum(java.io.DataInput in)
Get the next object from DataInput in
|
java.lang.Object |
readDatum(java.io.DataInput in,
byte type)
Expects binInterSedes data types (NOT DataType types!)
|
Tuple |
readTuple(java.io.DataInput in) |
Tuple |
readTuple(java.io.DataInput in,
byte type) |
void |
writeDatum(java.io.DataOutput out,
java.lang.Object val)
Write given object val to DataOutput out
|
void |
writeDatum(java.io.DataOutput out,
java.lang.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 java.lang.String UTF8
public Tuple readTuple(java.io.DataInput in, byte type) throws java.io.IOException
java.io.IOException
public int getTupleSize(java.io.DataInput in, byte type) throws java.io.IOException
java.io.IOException
public java.lang.Object readDatum(java.io.DataInput in) throws java.io.IOException, ExecException
InterSedes
readDatum
in interface InterSedes
java.io.IOException
ExecException
public java.lang.Object readDatum(java.io.DataInput in, byte type) throws java.io.IOException, ExecException
readDatum
in interface InterSedes
java.io.IOException
ExecException
InterSedes.readDatum(java.io.DataInput, byte)
public void writeDatum(java.io.DataOutput out, java.lang.Object val) throws java.io.IOException
InterSedes
writeDatum
in interface InterSedes
java.io.IOException
public void writeDatum(java.io.DataOutput out, java.lang.Object val, byte type) throws java.io.IOException
InterSedes
writeDatum
in interface InterSedes
out
- outputval
- value to writetype
- type, as defined in DataType
java.io.IOException
public void addColsToTuple(java.io.DataInput in, Tuple t) throws java.io.IOException
InterSedes
addColsToTuple
in interface InterSedes
java.io.IOException
public java.lang.Class<? extends TupleRawComparator> getTupleRawComparatorClass()
getTupleRawComparatorClass
in interface InterSedes
public Tuple readTuple(java.io.DataInput in) throws java.io.IOException
java.io.IOException
public static boolean isTupleByte(byte b)
Copyright © 2007-2017 The Apache Software Foundation