public class NullablePartitionWritable extends PigNullableWritable
idxSpace, mqFlag, mValue| Constructor and Description |
|---|
NullablePartitionWritable() |
NullablePartitionWritable(PigNullableWritable k) |
| Modifier and Type | Method and Description |
|---|---|
NullablePartitionWritable |
clone() |
int |
compareTo(Object o)
Compare two nullable objects.
|
byte |
getIndex() |
PigNullableWritable |
getKey() |
int |
getPartition() |
Object |
getValueAsPigType() |
int |
hashCode() |
boolean |
isNull() |
void |
readFields(DataInput in) |
void |
setIndex(byte index) |
void |
setKey(PigNullableWritable k) |
void |
setNull(boolean isNull) |
void |
setPartition(int n) |
String |
toString() |
void |
write(DataOutput out) |
equalspublic NullablePartitionWritable()
public NullablePartitionWritable(PigNullableWritable k)
public void setKey(PigNullableWritable k)
public PigNullableWritable getKey()
public void setPartition(int n)
public int getPartition()
public NullablePartitionWritable clone() throws CloneNotSupportedException
clone in class PigNullableWritableCloneNotSupportedExceptionpublic int compareTo(Object o)
PigNullableWritablecompareTo in interface ComparablecompareTo in class PigNullableWritablepublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.WritablereadFields in class PigNullableWritableIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.Writablewrite in class PigNullableWritableIOExceptionpublic boolean isNull()
isNull in class PigNullableWritablepublic void setNull(boolean isNull)
setNull in class PigNullableWritableisNull - the isNull to setpublic byte getIndex()
getIndex in class PigNullableWritablepublic void setIndex(byte index)
setIndex in class PigNullableWritableindex - for this value.public Object getValueAsPigType()
getValueAsPigType in class PigNullableWritablepublic int hashCode()
hashCode in class PigNullableWritablepublic String toString()
toString in class PigNullableWritableCopyright © 2007-2017 The Apache Software Foundation