@Generated(value="Autogenerated by Thrift Compiler (0.11.0)",
date="2021-05-05")
public class DatalogRequest
extends java.lang.Object
implements org.apache.thrift.TBase<DatalogRequest,DatalogRequest._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<DatalogRequest>
| Modifier and Type | Class and Description |
|---|---|
static class |
DatalogRequest._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.Map<DatalogRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
DatalogRequest() |
DatalogRequest(DatalogRequest other)
Performs a deep copy on other.
|
DatalogRequest(long timestamp,
java.lang.String id,
java.lang.String type,
java.lang.String token) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(DatalogRequest other) |
DatalogRequest |
deepCopy() |
boolean |
equals(DatalogRequest that) |
boolean |
equals(java.lang.Object that) |
DatalogRequest._Fields |
fieldForId(int fieldId) |
java.util.Map<java.lang.String,java.lang.String> |
getAttributes()
Additional attributes
|
int |
getAttributesSize() |
java.lang.String |
getDeleteQueryString()
Delete query string.
|
java.lang.Object |
getFieldValue(DatalogRequest._Fields field) |
java.lang.String |
getId()
Id of the node where the datalog request originated
|
java.lang.String |
getNow()
Optional now parameter needed to decode relative timestamps
|
long |
getTimestamp()
Timestamp at which the datalog request originated, in ns
|
java.lang.String |
getToken()
Associated token
|
java.lang.String |
getType()
Type of datalog request, UPDATE, META, DELETE
|
int |
hashCode() |
boolean |
isDeltaAttributes()
Flag indicating whether or not the attributes should be treated as delta
|
boolean |
isSet(DatalogRequest._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAttributes()
Returns true if field attributes is set (has been assigned a value) and false otherwise
|
boolean |
isSetDeleteQueryString()
Returns true if field deleteQueryString is set (has been assigned a value) and false otherwise
|
boolean |
isSetDeltaAttributes()
Returns true if field deltaAttributes is set (has been assigned a value) and false otherwise
|
boolean |
isSetId()
Returns true if field id is set (has been assigned a value) and false otherwise
|
boolean |
isSetNow()
Returns true if field now is set (has been assigned a value) and false otherwise
|
boolean |
isSetTimestamp()
Returns true if field timestamp is set (has been assigned a value) and false otherwise
|
boolean |
isSetToken()
Returns true if field token is set (has been assigned a value) and false otherwise
|
boolean |
isSetType()
Returns true if field type is set (has been assigned a value) and false otherwise
|
void |
putToAttributes(java.lang.String key,
java.lang.String val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
DatalogRequest |
setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
Additional attributes
|
void |
setAttributesIsSet(boolean value) |
DatalogRequest |
setDeleteQueryString(java.lang.String deleteQueryString)
Delete query string.
|
void |
setDeleteQueryStringIsSet(boolean value) |
DatalogRequest |
setDeltaAttributes(boolean deltaAttributes)
Flag indicating whether or not the attributes should be treated as delta
|
void |
setDeltaAttributesIsSet(boolean value) |
void |
setFieldValue(DatalogRequest._Fields field,
java.lang.Object value) |
DatalogRequest |
setId(java.lang.String id)
Id of the node where the datalog request originated
|
void |
setIdIsSet(boolean value) |
DatalogRequest |
setNow(java.lang.String now)
Optional now parameter needed to decode relative timestamps
|
void |
setNowIsSet(boolean value) |
DatalogRequest |
setTimestamp(long timestamp)
Timestamp at which the datalog request originated, in ns
|
void |
setTimestampIsSet(boolean value) |
DatalogRequest |
setToken(java.lang.String token)
Associated token
|
void |
setTokenIsSet(boolean value) |
DatalogRequest |
setType(java.lang.String type)
Type of datalog request, UPDATE, META, DELETE
|
void |
setTypeIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetAttributes() |
void |
unsetDeleteQueryString() |
void |
unsetDeltaAttributes() |
void |
unsetId() |
void |
unsetNow() |
void |
unsetTimestamp() |
void |
unsetToken() |
void |
unsetType() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final java.util.Map<DatalogRequest._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public DatalogRequest()
public DatalogRequest(long timestamp,
java.lang.String id,
java.lang.String type,
java.lang.String token)
public DatalogRequest(DatalogRequest other)
public DatalogRequest deepCopy()
deepCopy in interface org.apache.thrift.TBase<DatalogRequest,DatalogRequest._Fields>public void clear()
clear in interface org.apache.thrift.TBase<DatalogRequest,DatalogRequest._Fields>public long getTimestamp()
public DatalogRequest setTimestamp(long timestamp)
public void unsetTimestamp()
public boolean isSetTimestamp()
public void setTimestampIsSet(boolean value)
public java.lang.String getId()
public DatalogRequest setId(java.lang.String id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public java.lang.String getType()
public DatalogRequest setType(java.lang.String type)
public void unsetType()
public boolean isSetType()
public void setTypeIsSet(boolean value)
public java.lang.String getToken()
public DatalogRequest setToken(java.lang.String token)
public void unsetToken()
public boolean isSetToken()
public void setTokenIsSet(boolean value)
public java.lang.String getNow()
public DatalogRequest setNow(java.lang.String now)
public void unsetNow()
public boolean isSetNow()
public void setNowIsSet(boolean value)
public java.lang.String getDeleteQueryString()
public DatalogRequest setDeleteQueryString(java.lang.String deleteQueryString)
public void unsetDeleteQueryString()
public boolean isSetDeleteQueryString()
public void setDeleteQueryStringIsSet(boolean value)
public boolean isDeltaAttributes()
public DatalogRequest setDeltaAttributes(boolean deltaAttributes)
public void unsetDeltaAttributes()
public boolean isSetDeltaAttributes()
public void setDeltaAttributesIsSet(boolean value)
public int getAttributesSize()
public void putToAttributes(java.lang.String key,
java.lang.String val)
public java.util.Map<java.lang.String,java.lang.String> getAttributes()
public DatalogRequest setAttributes(java.util.Map<java.lang.String,java.lang.String> attributes)
public void unsetAttributes()
public boolean isSetAttributes()
public void setAttributesIsSet(boolean value)
public void setFieldValue(DatalogRequest._Fields field, java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<DatalogRequest,DatalogRequest._Fields>public java.lang.Object getFieldValue(DatalogRequest._Fields field)
getFieldValue in interface org.apache.thrift.TBase<DatalogRequest,DatalogRequest._Fields>public boolean isSet(DatalogRequest._Fields field)
isSet in interface org.apache.thrift.TBase<DatalogRequest,DatalogRequest._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(DatalogRequest that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(DatalogRequest other)
compareTo in interface java.lang.Comparable<DatalogRequest>public DatalogRequest._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<DatalogRequest,DatalogRequest._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 java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TException