public abstract class PigNullableWritable extends Object implements org.apache.hadoop.io.WritableComparable, Cloneable
Modifier and Type | Field and Description |
---|---|
static byte |
idxSpace
regular indices used in group and cogroup
can only go from 0x00 to 0x7F
|
static byte |
mqFlag
indices in multiquery optimized maps
will have the Most Significant Bit set
This is a bitmask used in those cases.
|
protected org.apache.hadoop.io.WritableComparable |
mValue |
Constructor and Description |
---|
PigNullableWritable() |
Modifier and Type | Method and Description |
---|---|
PigNullableWritable |
clone() |
int |
compareTo(Object o)
Compare two nullable objects.
|
boolean |
equals(Object arg0) |
byte |
getIndex() |
abstract Object |
getValueAsPigType() |
int |
hashCode() |
boolean |
isNull() |
void |
readFields(DataInput in) |
void |
setIndex(byte index) |
void |
setNull(boolean isNull) |
String |
toString() |
void |
write(DataOutput out) |
public static final byte mqFlag
public static final byte idxSpace
protected org.apache.hadoop.io.WritableComparable mValue
public PigNullableWritable clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public int compareTo(Object o)
compareTo
in interface Comparable
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public boolean isNull()
public void setNull(boolean isNull)
isNull
- the isNull to setpublic byte getIndex()
public void setIndex(byte index)
index
- for this value.public abstract Object getValueAsPigType()
Copyright © 2007-2017 The Apache Software Foundation