public class HiveIntervalDayTimeWritable extends Object implements org.apache.hadoop.io.WritableComparable<HiveIntervalDayTimeWritable>
Modifier and Type | Field and Description |
---|---|
protected HiveIntervalDayTime |
intervalValue |
Constructor and Description |
---|
HiveIntervalDayTimeWritable() |
HiveIntervalDayTimeWritable(HiveIntervalDayTime value) |
HiveIntervalDayTimeWritable(HiveIntervalDayTimeWritable writable) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(HiveIntervalDayTimeWritable other) |
boolean |
equals(Object obj) |
HiveIntervalDayTime |
getHiveIntervalDayTime() |
int |
hashCode() |
void |
readFields(DataInput in) |
void |
set(HiveIntervalDayTime value) |
void |
set(HiveIntervalDayTimeWritable writable) |
void |
set(int days,
int hours,
int minutes,
int seconds,
int nanos) |
void |
set(long totalSeconds,
int nanos) |
void |
setFromBytes(byte[] bytes,
int offset,
int length,
LazyBinaryUtils.VInt vInt,
LazyBinaryUtils.VLong vLong) |
String |
toString() |
void |
write(DataOutput out) |
void |
writeToByteStream(ByteStream.RandomAccessOutput byteStream) |
protected HiveIntervalDayTime intervalValue
public HiveIntervalDayTimeWritable()
public HiveIntervalDayTimeWritable(HiveIntervalDayTime value)
public HiveIntervalDayTimeWritable(HiveIntervalDayTimeWritable writable)
public void set(int days, int hours, int minutes, int seconds, int nanos)
public void set(HiveIntervalDayTime value)
public void set(HiveIntervalDayTimeWritable writable)
public void set(long totalSeconds, int nanos)
public HiveIntervalDayTime getHiveIntervalDayTime()
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 void writeToByteStream(ByteStream.RandomAccessOutput byteStream)
public void setFromBytes(byte[] bytes, int offset, int length, LazyBinaryUtils.VInt vInt, LazyBinaryUtils.VLong vLong)
public int compareTo(HiveIntervalDayTimeWritable other)
compareTo
in interface Comparable<HiveIntervalDayTimeWritable>
Copyright © 2017 The Apache Software Foundation. All rights reserved.