@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class Timestamp extends Object implements org.apache.thrift.TBase<Timestamp,Timestamp._Fields>, Serializable, Cloneable, Comparable<Timestamp>
| Modifier and Type | Class and Description |
|---|---|
static class |
Timestamp._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static Map<Timestamp._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
Timestamp() |
Timestamp(long secondsSinceEpoch) |
Timestamp(Timestamp other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(Timestamp other) |
Timestamp |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(Timestamp that) |
Timestamp._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(Timestamp._Fields field) |
long |
getSecondsSinceEpoch() |
int |
hashCode() |
boolean |
isSet(Timestamp._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetSecondsSinceEpoch()
Returns true if field secondsSinceEpoch is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(Timestamp._Fields field,
Object value) |
void |
setSecondsSinceEpoch(long secondsSinceEpoch) |
void |
setSecondsSinceEpochIsSet(boolean value) |
String |
toString() |
void |
unsetSecondsSinceEpoch() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<Timestamp._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Timestamp()
public Timestamp(long secondsSinceEpoch)
public Timestamp(Timestamp other)
public Timestamp deepCopy()
deepCopy in interface org.apache.thrift.TBase<Timestamp,Timestamp._Fields>public void clear()
clear in interface org.apache.thrift.TBase<Timestamp,Timestamp._Fields>public long getSecondsSinceEpoch()
public void setSecondsSinceEpoch(long secondsSinceEpoch)
public void unsetSecondsSinceEpoch()
public boolean isSetSecondsSinceEpoch()
public void setSecondsSinceEpochIsSet(boolean value)
public void setFieldValue(Timestamp._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<Timestamp,Timestamp._Fields>public Object getFieldValue(Timestamp._Fields field)
getFieldValue in interface org.apache.thrift.TBase<Timestamp,Timestamp._Fields>public boolean isSet(Timestamp._Fields field)
isSet in interface org.apache.thrift.TBase<Timestamp,Timestamp._Fields>public boolean equals(Timestamp that)
public int compareTo(Timestamp other)
compareTo in interface Comparable<Timestamp>public Timestamp._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<Timestamp,Timestamp._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 © 2024 The Apache Software Foundation. All rights reserved.