Package ai.heavy.thrift.server
Class TTableRefreshInfo
- java.lang.Object
-
- ai.heavy.thrift.server.TTableRefreshInfo
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TTableRefreshInfo>,org.apache.thrift.TBase<TTableRefreshInfo,TTableRefreshInfo._Fields>,org.apache.thrift.TSerializable
public class TTableRefreshInfo extends Object implements org.apache.thrift.TBase<TTableRefreshInfo,TTableRefreshInfo._Fields>, Serializable, Cloneable, Comparable<TTableRefreshInfo>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTTableRefreshInfo._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description longinterval_countTTableRefreshIntervalTypeinterval_typeStringlast_refresh_timestatic Map<TTableRefreshInfo._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringnext_refresh_timeStringstart_date_timeTTableRefreshTimingTypetiming_typeTTableRefreshUpdateTypeupdate_type
-
Constructor Summary
Constructors Constructor Description TTableRefreshInfo()TTableRefreshInfo(TTableRefreshInfo other)Performs a deep copy on other.TTableRefreshInfo(TTableRefreshUpdateType update_type, TTableRefreshTimingType timing_type, String start_date_time, TTableRefreshIntervalType interval_type, long interval_count, String last_refresh_time, String next_refresh_time)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TTableRefreshInfo other)TTableRefreshInfodeepCopy()booleanequals(TTableRefreshInfo that)booleanequals(Object that)TTableRefreshInfo._FieldsfieldForId(int fieldId)ObjectgetFieldValue(TTableRefreshInfo._Fields field)longgetInterval_count()TTableRefreshIntervalTypegetInterval_type()StringgetLast_refresh_time()StringgetNext_refresh_time()StringgetStart_date_time()TTableRefreshTimingTypegetTiming_type()TTableRefreshUpdateTypegetUpdate_type()inthashCode()booleanisSet(TTableRefreshInfo._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetInterval_count()Returns true if field interval_count is set (has been assigned a value) and false otherwisebooleanisSetInterval_type()Returns true if field interval_type is set (has been assigned a value) and false otherwisebooleanisSetLast_refresh_time()Returns true if field last_refresh_time is set (has been assigned a value) and false otherwisebooleanisSetNext_refresh_time()Returns true if field next_refresh_time is set (has been assigned a value) and false otherwisebooleanisSetStart_date_time()Returns true if field start_date_time is set (has been assigned a value) and false otherwisebooleanisSetTiming_type()Returns true if field timing_type is set (has been assigned a value) and false otherwisebooleanisSetUpdate_type()Returns true if field update_type is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)voidsetFieldValue(TTableRefreshInfo._Fields field, Object value)TTableRefreshInfosetInterval_count(long interval_count)voidsetInterval_countIsSet(boolean value)TTableRefreshInfosetInterval_type(TTableRefreshIntervalType interval_type)voidsetInterval_typeIsSet(boolean value)TTableRefreshInfosetLast_refresh_time(String last_refresh_time)voidsetLast_refresh_timeIsSet(boolean value)TTableRefreshInfosetNext_refresh_time(String next_refresh_time)voidsetNext_refresh_timeIsSet(boolean value)TTableRefreshInfosetStart_date_time(String start_date_time)voidsetStart_date_timeIsSet(boolean value)TTableRefreshInfosetTiming_type(TTableRefreshTimingType timing_type)voidsetTiming_typeIsSet(boolean value)TTableRefreshInfosetUpdate_type(TTableRefreshUpdateType update_type)voidsetUpdate_typeIsSet(boolean value)StringtoString()voidunsetInterval_count()voidunsetInterval_type()voidunsetLast_refresh_time()voidunsetNext_refresh_time()voidunsetStart_date_time()voidunsetTiming_type()voidunsetUpdate_type()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
update_type
public TTableRefreshUpdateType update_type
- See Also:
TTableRefreshUpdateType
-
timing_type
public TTableRefreshTimingType timing_type
- See Also:
TTableRefreshTimingType
-
start_date_time
public String start_date_time
-
interval_type
public TTableRefreshIntervalType interval_type
- See Also:
TTableRefreshIntervalType
-
interval_count
public long interval_count
-
last_refresh_time
public String last_refresh_time
-
next_refresh_time
public String next_refresh_time
-
metaDataMap
public static final Map<TTableRefreshInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TTableRefreshInfo
public TTableRefreshInfo()
-
TTableRefreshInfo
public TTableRefreshInfo(TTableRefreshUpdateType update_type, TTableRefreshTimingType timing_type, String start_date_time, TTableRefreshIntervalType interval_type, long interval_count, String last_refresh_time, String next_refresh_time)
-
TTableRefreshInfo
public TTableRefreshInfo(TTableRefreshInfo other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TTableRefreshInfo deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TTableRefreshInfo,TTableRefreshInfo._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TTableRefreshInfo,TTableRefreshInfo._Fields>
-
getUpdate_type
public TTableRefreshUpdateType getUpdate_type()
- See Also:
TTableRefreshUpdateType
-
setUpdate_type
public TTableRefreshInfo setUpdate_type(TTableRefreshUpdateType update_type)
- See Also:
TTableRefreshUpdateType
-
unsetUpdate_type
public void unsetUpdate_type()
-
isSetUpdate_type
public boolean isSetUpdate_type()
Returns true if field update_type is set (has been assigned a value) and false otherwise
-
setUpdate_typeIsSet
public void setUpdate_typeIsSet(boolean value)
-
getTiming_type
public TTableRefreshTimingType getTiming_type()
- See Also:
TTableRefreshTimingType
-
setTiming_type
public TTableRefreshInfo setTiming_type(TTableRefreshTimingType timing_type)
- See Also:
TTableRefreshTimingType
-
unsetTiming_type
public void unsetTiming_type()
-
isSetTiming_type
public boolean isSetTiming_type()
Returns true if field timing_type is set (has been assigned a value) and false otherwise
-
setTiming_typeIsSet
public void setTiming_typeIsSet(boolean value)
-
getStart_date_time
public String getStart_date_time()
-
setStart_date_time
public TTableRefreshInfo setStart_date_time(String start_date_time)
-
unsetStart_date_time
public void unsetStart_date_time()
-
isSetStart_date_time
public boolean isSetStart_date_time()
Returns true if field start_date_time is set (has been assigned a value) and false otherwise
-
setStart_date_timeIsSet
public void setStart_date_timeIsSet(boolean value)
-
getInterval_type
public TTableRefreshIntervalType getInterval_type()
- See Also:
TTableRefreshIntervalType
-
setInterval_type
public TTableRefreshInfo setInterval_type(TTableRefreshIntervalType interval_type)
- See Also:
TTableRefreshIntervalType
-
unsetInterval_type
public void unsetInterval_type()
-
isSetInterval_type
public boolean isSetInterval_type()
Returns true if field interval_type is set (has been assigned a value) and false otherwise
-
setInterval_typeIsSet
public void setInterval_typeIsSet(boolean value)
-
getInterval_count
public long getInterval_count()
-
setInterval_count
public TTableRefreshInfo setInterval_count(long interval_count)
-
unsetInterval_count
public void unsetInterval_count()
-
isSetInterval_count
public boolean isSetInterval_count()
Returns true if field interval_count is set (has been assigned a value) and false otherwise
-
setInterval_countIsSet
public void setInterval_countIsSet(boolean value)
-
getLast_refresh_time
public String getLast_refresh_time()
-
setLast_refresh_time
public TTableRefreshInfo setLast_refresh_time(String last_refresh_time)
-
unsetLast_refresh_time
public void unsetLast_refresh_time()
-
isSetLast_refresh_time
public boolean isSetLast_refresh_time()
Returns true if field last_refresh_time is set (has been assigned a value) and false otherwise
-
setLast_refresh_timeIsSet
public void setLast_refresh_timeIsSet(boolean value)
-
getNext_refresh_time
public String getNext_refresh_time()
-
setNext_refresh_time
public TTableRefreshInfo setNext_refresh_time(String next_refresh_time)
-
unsetNext_refresh_time
public void unsetNext_refresh_time()
-
isSetNext_refresh_time
public boolean isSetNext_refresh_time()
Returns true if field next_refresh_time is set (has been assigned a value) and false otherwise
-
setNext_refresh_timeIsSet
public void setNext_refresh_timeIsSet(boolean value)
-
setFieldValue
public void setFieldValue(TTableRefreshInfo._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TTableRefreshInfo,TTableRefreshInfo._Fields>
-
getFieldValue
public Object getFieldValue(TTableRefreshInfo._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TTableRefreshInfo,TTableRefreshInfo._Fields>
-
isSet
public boolean isSet(TTableRefreshInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TTableRefreshInfo,TTableRefreshInfo._Fields>
-
equals
public boolean equals(TTableRefreshInfo that)
-
compareTo
public int compareTo(TTableRefreshInfo other)
- Specified by:
compareToin interfaceComparable<TTableRefreshInfo>
-
fieldForId
public TTableRefreshInfo._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TTableRefreshInfo,TTableRefreshInfo._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-