@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class NotificationEventsCountRequest extends Object implements org.apache.thrift.TBase<NotificationEventsCountRequest,NotificationEventsCountRequest._Fields>, Serializable, Cloneable, Comparable<NotificationEventsCountRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
NotificationEventsCountRequest._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<NotificationEventsCountRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
NotificationEventsCountRequest() |
NotificationEventsCountRequest(long fromEventId,
String dbName) |
NotificationEventsCountRequest(NotificationEventsCountRequest other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addToTableNames(String elem) |
void |
clear() |
int |
compareTo(NotificationEventsCountRequest other) |
NotificationEventsCountRequest |
deepCopy() |
boolean |
equals(NotificationEventsCountRequest that) |
boolean |
equals(Object that) |
NotificationEventsCountRequest._Fields |
fieldForId(int fieldId) |
String |
getCatName() |
String |
getDbName() |
Object |
getFieldValue(NotificationEventsCountRequest._Fields field) |
long |
getFromEventId() |
long |
getLimit() |
List<String> |
getTableNames() |
Iterator<String> |
getTableNamesIterator() |
int |
getTableNamesSize() |
long |
getToEventId() |
int |
hashCode() |
boolean |
isSet(NotificationEventsCountRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCatName()
Returns true if field catName is set (has been assigned a value) and false otherwise
|
boolean |
isSetDbName()
Returns true if field dbName is set (has been assigned a value) and false otherwise
|
boolean |
isSetFromEventId()
Returns true if field fromEventId is set (has been assigned a value) and false otherwise
|
boolean |
isSetLimit()
Returns true if field limit is set (has been assigned a value) and false otherwise
|
boolean |
isSetTableNames()
Returns true if field tableNames is set (has been assigned a value) and false otherwise
|
boolean |
isSetToEventId()
Returns true if field toEventId is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setCatName(String catName) |
void |
setCatNameIsSet(boolean value) |
void |
setDbName(String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setFieldValue(NotificationEventsCountRequest._Fields field,
Object value) |
void |
setFromEventId(long fromEventId) |
void |
setFromEventIdIsSet(boolean value) |
void |
setLimit(long limit) |
void |
setLimitIsSet(boolean value) |
void |
setTableNames(List<String> tableNames) |
void |
setTableNamesIsSet(boolean value) |
void |
setToEventId(long toEventId) |
void |
setToEventIdIsSet(boolean value) |
String |
toString() |
void |
unsetCatName() |
void |
unsetDbName() |
void |
unsetFromEventId() |
void |
unsetLimit() |
void |
unsetTableNames() |
void |
unsetToEventId() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<NotificationEventsCountRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public NotificationEventsCountRequest()
public NotificationEventsCountRequest(long fromEventId,
String dbName)
public NotificationEventsCountRequest(NotificationEventsCountRequest other)
public NotificationEventsCountRequest deepCopy()
deepCopy in interface org.apache.thrift.TBase<NotificationEventsCountRequest,NotificationEventsCountRequest._Fields>public void clear()
clear in interface org.apache.thrift.TBase<NotificationEventsCountRequest,NotificationEventsCountRequest._Fields>public long getFromEventId()
public void setFromEventId(long fromEventId)
public void unsetFromEventId()
public boolean isSetFromEventId()
public void setFromEventIdIsSet(boolean value)
public String getDbName()
public void setDbName(String dbName)
public void unsetDbName()
public boolean isSetDbName()
public void setDbNameIsSet(boolean value)
public String getCatName()
public void setCatName(String catName)
public void unsetCatName()
public boolean isSetCatName()
public void setCatNameIsSet(boolean value)
public long getToEventId()
public void setToEventId(long toEventId)
public void unsetToEventId()
public boolean isSetToEventId()
public void setToEventIdIsSet(boolean value)
public long getLimit()
public void setLimit(long limit)
public void unsetLimit()
public boolean isSetLimit()
public void setLimitIsSet(boolean value)
public int getTableNamesSize()
public void addToTableNames(String elem)
public void unsetTableNames()
public boolean isSetTableNames()
public void setTableNamesIsSet(boolean value)
public void setFieldValue(NotificationEventsCountRequest._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<NotificationEventsCountRequest,NotificationEventsCountRequest._Fields>public Object getFieldValue(NotificationEventsCountRequest._Fields field)
getFieldValue in interface org.apache.thrift.TBase<NotificationEventsCountRequest,NotificationEventsCountRequest._Fields>public boolean isSet(NotificationEventsCountRequest._Fields field)
isSet in interface org.apache.thrift.TBase<NotificationEventsCountRequest,NotificationEventsCountRequest._Fields>public boolean equals(NotificationEventsCountRequest that)
public int compareTo(NotificationEventsCountRequest other)
compareTo in interface Comparable<NotificationEventsCountRequest>public NotificationEventsCountRequest._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<NotificationEventsCountRequest,NotificationEventsCountRequest._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.