public class HiveIntervalDayTimeWritable extends Object implements org.apache.hadoop.io.WritableComparable<HiveIntervalDayTimeWritable>
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.hive.common.type.HiveIntervalDayTime |
intervalValue |
Constructor and Description |
---|
HiveIntervalDayTimeWritable() |
HiveIntervalDayTimeWritable(org.apache.hadoop.hive.common.type.HiveIntervalDayTime value) |
HiveIntervalDayTimeWritable(HiveIntervalDayTimeWritable writable) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(HiveIntervalDayTimeWritable other) |
boolean |
equals(Object obj) |
org.apache.hadoop.hive.common.type.HiveIntervalDayTime |
getHiveIntervalDayTime() |
int |
hashCode() |
void |
readFields(DataInput in) |
void |
set(org.apache.hadoop.hive.common.type.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 org.apache.hadoop.hive.common.type.HiveIntervalDayTime intervalValue
public HiveIntervalDayTimeWritable()
public HiveIntervalDayTimeWritable(org.apache.hadoop.hive.common.type.HiveIntervalDayTime value)
public HiveIntervalDayTimeWritable(HiveIntervalDayTimeWritable writable)
public void set(int days, int hours, int minutes, int seconds, int nanos)
public void set(org.apache.hadoop.hive.common.type.HiveIntervalDayTime value)
public void set(HiveIntervalDayTimeWritable writable)
public void set(long totalSeconds, int nanos)
public org.apache.hadoop.hive.common.type.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 © 2022 The Apache Software Foundation. All rights reserved.