public class CqlPreparedResult extends java.lang.Object implements org.apache.thrift.TBase<CqlPreparedResult,CqlPreparedResult._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<CqlPreparedResult>
Modifier and Type | Class and Description |
---|---|
static class |
CqlPreparedResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
int |
count |
int |
itemId |
static java.util.Map<CqlPreparedResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
java.util.List<java.lang.String> |
variable_names |
java.util.List<java.lang.String> |
variable_types |
Constructor and Description |
---|
CqlPreparedResult() |
CqlPreparedResult(CqlPreparedResult other)
Performs a deep copy on other.
|
CqlPreparedResult(int itemId,
int count) |
Modifier and Type | Method and Description |
---|---|
void |
addToVariable_names(java.lang.String elem) |
void |
addToVariable_types(java.lang.String elem) |
void |
clear() |
int |
compareTo(CqlPreparedResult other) |
CqlPreparedResult |
deepCopy() |
boolean |
equals(CqlPreparedResult that) |
boolean |
equals(java.lang.Object that) |
CqlPreparedResult._Fields |
fieldForId(int fieldId) |
int |
getCount() |
java.lang.Object |
getFieldValue(CqlPreparedResult._Fields field) |
int |
getItemId() |
java.util.List<java.lang.String> |
getVariable_names() |
java.util.Iterator<java.lang.String> |
getVariable_namesIterator() |
int |
getVariable_namesSize() |
java.util.List<java.lang.String> |
getVariable_types() |
java.util.Iterator<java.lang.String> |
getVariable_typesIterator() |
int |
getVariable_typesSize() |
int |
hashCode() |
boolean |
isSet(CqlPreparedResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetCount()
Returns true if field count is set (has been assigned a value) and false otherwise
|
boolean |
isSetItemId()
Returns true if field itemId is set (has been assigned a value) and false otherwise
|
boolean |
isSetVariable_names()
Returns true if field variable_names is set (has been assigned a value) and false otherwise
|
boolean |
isSetVariable_types()
Returns true if field variable_types is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
CqlPreparedResult |
setCount(int count) |
void |
setCountIsSet(boolean value) |
void |
setFieldValue(CqlPreparedResult._Fields field,
java.lang.Object value) |
CqlPreparedResult |
setItemId(int itemId) |
void |
setItemIdIsSet(boolean value) |
CqlPreparedResult |
setVariable_names(java.util.List<java.lang.String> variable_names) |
void |
setVariable_namesIsSet(boolean value) |
CqlPreparedResult |
setVariable_types(java.util.List<java.lang.String> variable_types) |
void |
setVariable_typesIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetCount() |
void |
unsetItemId() |
void |
unsetVariable_names() |
void |
unsetVariable_types() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int itemId
public int count
public java.util.List<java.lang.String> variable_types
public java.util.List<java.lang.String> variable_names
public static final java.util.Map<CqlPreparedResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public CqlPreparedResult()
public CqlPreparedResult(int itemId, int count)
public CqlPreparedResult(CqlPreparedResult other)
public CqlPreparedResult deepCopy()
deepCopy
in interface org.apache.thrift.TBase<CqlPreparedResult,CqlPreparedResult._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<CqlPreparedResult,CqlPreparedResult._Fields>
public int getItemId()
public CqlPreparedResult setItemId(int itemId)
public void unsetItemId()
public boolean isSetItemId()
public void setItemIdIsSet(boolean value)
public int getCount()
public CqlPreparedResult setCount(int count)
public void unsetCount()
public boolean isSetCount()
public void setCountIsSet(boolean value)
public int getVariable_typesSize()
public java.util.Iterator<java.lang.String> getVariable_typesIterator()
public void addToVariable_types(java.lang.String elem)
public java.util.List<java.lang.String> getVariable_types()
public CqlPreparedResult setVariable_types(java.util.List<java.lang.String> variable_types)
public void unsetVariable_types()
public boolean isSetVariable_types()
public void setVariable_typesIsSet(boolean value)
public int getVariable_namesSize()
public java.util.Iterator<java.lang.String> getVariable_namesIterator()
public void addToVariable_names(java.lang.String elem)
public java.util.List<java.lang.String> getVariable_names()
public CqlPreparedResult setVariable_names(java.util.List<java.lang.String> variable_names)
public void unsetVariable_names()
public boolean isSetVariable_names()
public void setVariable_namesIsSet(boolean value)
public void setFieldValue(CqlPreparedResult._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<CqlPreparedResult,CqlPreparedResult._Fields>
public java.lang.Object getFieldValue(CqlPreparedResult._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<CqlPreparedResult,CqlPreparedResult._Fields>
public boolean isSet(CqlPreparedResult._Fields field)
isSet
in interface org.apache.thrift.TBase<CqlPreparedResult,CqlPreparedResult._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(CqlPreparedResult that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(CqlPreparedResult other)
compareTo
in interface java.lang.Comparable<CqlPreparedResult>
public CqlPreparedResult._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<CqlPreparedResult,CqlPreparedResult._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<CqlPreparedResult,CqlPreparedResult._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<CqlPreparedResult,CqlPreparedResult._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2020 The Apache Software Foundation