@Generated(value="Autogenerated by Thrift Compiler (0.12.0)", date="2020-07-29") public class TimestampType extends Object implements org.apache.thrift.TBase<TimestampType,TimestampType._Fields>, Serializable, Cloneable, Comparable<TimestampType>
| Modifier and Type | Class and Description |
|---|---|
static class |
TimestampType._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
boolean |
isAdjustedToUTC |
static Map<TimestampType._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
TimeUnit |
unit |
| Constructor and Description |
|---|
TimestampType() |
TimestampType(boolean isAdjustedToUTC,
TimeUnit unit) |
TimestampType(TimestampType other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(TimestampType other) |
TimestampType |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TimestampType that) |
TimestampType._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(TimestampType._Fields field) |
TimeUnit |
getUnit() |
int |
hashCode() |
boolean |
isIsAdjustedToUTC() |
boolean |
isSet(TimestampType._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetIsAdjustedToUTC()
Returns true if field isAdjustedToUTC is set (has been assigned a value) and false otherwise
|
boolean |
isSetUnit()
Returns true if field unit is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(TimestampType._Fields field,
Object value) |
TimestampType |
setIsAdjustedToUTC(boolean isAdjustedToUTC) |
void |
setIsAdjustedToUTCIsSet(boolean value) |
TimestampType |
setUnit(TimeUnit unit) |
void |
setUnitIsSet(boolean value) |
String |
toString() |
void |
unsetIsAdjustedToUTC() |
void |
unsetUnit() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public boolean isAdjustedToUTC
public TimeUnit unit
public static final Map<TimestampType._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TimestampType()
public TimestampType(boolean isAdjustedToUTC,
TimeUnit unit)
public TimestampType(TimestampType other)
public TimestampType deepCopy()
deepCopy in interface org.apache.thrift.TBase<TimestampType,TimestampType._Fields>public void clear()
clear in interface org.apache.thrift.TBase<TimestampType,TimestampType._Fields>public boolean isIsAdjustedToUTC()
public TimestampType setIsAdjustedToUTC(boolean isAdjustedToUTC)
public void unsetIsAdjustedToUTC()
public boolean isSetIsAdjustedToUTC()
public void setIsAdjustedToUTCIsSet(boolean value)
public TimeUnit getUnit()
public TimestampType setUnit(TimeUnit unit)
public void unsetUnit()
public boolean isSetUnit()
public void setUnitIsSet(boolean value)
public void setFieldValue(TimestampType._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<TimestampType,TimestampType._Fields>public Object getFieldValue(TimestampType._Fields field)
getFieldValue in interface org.apache.thrift.TBase<TimestampType,TimestampType._Fields>public boolean isSet(TimestampType._Fields field)
isSet in interface org.apache.thrift.TBase<TimestampType,TimestampType._Fields>public boolean equals(TimestampType that)
public int compareTo(TimestampType other)
compareTo in interface Comparable<TimestampType>public TimestampType._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<TimestampType,TimestampType._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2020 The Apache Software Foundation. All rights reserved.