public static class Cassandra.execute_prepared_cql3_query_args extends java.lang.Object implements org.apache.thrift.TBase<Cassandra.execute_prepared_cql3_query_args,Cassandra.execute_prepared_cql3_query_args._Fields>, java.io.Serializable, java.lang.Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
Cassandra.execute_prepared_cql3_query_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
ConsistencyLevel |
consistency |
int |
itemId |
static java.util.Map<Cassandra.execute_prepared_cql3_query_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
java.util.List<java.nio.ByteBuffer> |
values |
| Constructor and Description |
|---|
Cassandra.execute_prepared_cql3_query_args() |
Cassandra.execute_prepared_cql3_query_args(Cassandra.execute_prepared_cql3_query_args other)
Performs a deep copy on other.
|
Cassandra.execute_prepared_cql3_query_args(int itemId,
java.util.List<java.nio.ByteBuffer> values,
ConsistencyLevel consistency) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToValues(java.nio.ByteBuffer elem) |
void |
clear()
Return to the state of having just been initialized, as though you had just
called the default constructor.
|
int |
compareTo(Cassandra.execute_prepared_cql3_query_args other) |
Cassandra.execute_prepared_cql3_query_args |
deepCopy() |
boolean |
equals(Cassandra.execute_prepared_cql3_query_args that) |
boolean |
equals(java.lang.Object that) |
Cassandra.execute_prepared_cql3_query_args._Fields |
fieldForId(int fieldId)
Get the F instance that corresponds to fieldId.
|
ConsistencyLevel |
getConsistency() |
java.lang.Object |
getFieldValue(Cassandra.execute_prepared_cql3_query_args._Fields field)
Get a field's value by field variable.
|
int |
getItemId() |
java.util.List<java.nio.ByteBuffer> |
getValues() |
java.util.Iterator<java.nio.ByteBuffer> |
getValuesIterator() |
int |
getValuesSize() |
int |
hashCode() |
boolean |
isSet(Cassandra.execute_prepared_cql3_query_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetConsistency()
Returns true if field consistency 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 |
isSetValues()
Returns true if field values is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
Cassandra.execute_prepared_cql3_query_args |
setConsistency(ConsistencyLevel consistency) |
void |
setConsistencyIsSet(boolean value) |
void |
setFieldValue(Cassandra.execute_prepared_cql3_query_args._Fields field,
java.lang.Object value)
Set a field's value by field variable.
|
Cassandra.execute_prepared_cql3_query_args |
setItemId(int itemId) |
void |
setItemIdIsSet(boolean value) |
Cassandra.execute_prepared_cql3_query_args |
setValues(java.util.List<java.nio.ByteBuffer> values) |
void |
setValuesIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetConsistency() |
void |
unsetItemId() |
void |
unsetValues() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public int itemId
public java.util.List<java.nio.ByteBuffer> values
public ConsistencyLevel consistency
ConsistencyLevelpublic static final java.util.Map<Cassandra.execute_prepared_cql3_query_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Cassandra.execute_prepared_cql3_query_args()
public Cassandra.execute_prepared_cql3_query_args(int itemId,
java.util.List<java.nio.ByteBuffer> values,
ConsistencyLevel consistency)
public Cassandra.execute_prepared_cql3_query_args(Cassandra.execute_prepared_cql3_query_args other)
public Cassandra.execute_prepared_cql3_query_args deepCopy()
deepCopy in interface org.apache.thrift.TBase<Cassandra.execute_prepared_cql3_query_args,Cassandra.execute_prepared_cql3_query_args._Fields>public void clear()
org.apache.thrift.TBaseclear in interface org.apache.thrift.TBase<Cassandra.execute_prepared_cql3_query_args,Cassandra.execute_prepared_cql3_query_args._Fields>public int getItemId()
public Cassandra.execute_prepared_cql3_query_args setItemId(int itemId)
public void unsetItemId()
public boolean isSetItemId()
public void setItemIdIsSet(boolean value)
public int getValuesSize()
public java.util.Iterator<java.nio.ByteBuffer> getValuesIterator()
public void addToValues(java.nio.ByteBuffer elem)
public java.util.List<java.nio.ByteBuffer> getValues()
public Cassandra.execute_prepared_cql3_query_args setValues(java.util.List<java.nio.ByteBuffer> values)
public void unsetValues()
public boolean isSetValues()
public void setValuesIsSet(boolean value)
public ConsistencyLevel getConsistency()
ConsistencyLevelpublic Cassandra.execute_prepared_cql3_query_args setConsistency(ConsistencyLevel consistency)
ConsistencyLevelpublic void unsetConsistency()
public boolean isSetConsistency()
public void setConsistencyIsSet(boolean value)
public void setFieldValue(Cassandra.execute_prepared_cql3_query_args._Fields field, java.lang.Object value)
org.apache.thrift.TBasesetFieldValue in interface org.apache.thrift.TBase<Cassandra.execute_prepared_cql3_query_args,Cassandra.execute_prepared_cql3_query_args._Fields>public java.lang.Object getFieldValue(Cassandra.execute_prepared_cql3_query_args._Fields field)
org.apache.thrift.TBasegetFieldValue in interface org.apache.thrift.TBase<Cassandra.execute_prepared_cql3_query_args,Cassandra.execute_prepared_cql3_query_args._Fields>public boolean isSet(Cassandra.execute_prepared_cql3_query_args._Fields field)
isSet in interface org.apache.thrift.TBase<Cassandra.execute_prepared_cql3_query_args,Cassandra.execute_prepared_cql3_query_args._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(Cassandra.execute_prepared_cql3_query_args that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(Cassandra.execute_prepared_cql3_query_args other)
compareTo in interface java.lang.Comparable<Cassandra.execute_prepared_cql3_query_args>public Cassandra.execute_prepared_cql3_query_args._Fields fieldForId(int fieldId)
org.apache.thrift.TBasefieldForId in interface org.apache.thrift.TBase<Cassandra.execute_prepared_cql3_query_args,Cassandra.execute_prepared_cql3_query_args._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
org.apache.thrift.TBaseread in interface org.apache.thrift.TBase<Cassandra.execute_prepared_cql3_query_args,Cassandra.execute_prepared_cql3_query_args._Fields>iprot - Input protocolorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
org.apache.thrift.TBasewrite in interface org.apache.thrift.TBase<Cassandra.execute_prepared_cql3_query_args,Cassandra.execute_prepared_cql3_query_args._Fields>oprot - Output protocolorg.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2014 The Apache Software Foundation