|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cassandra.thrift.CqlResult
public class CqlResult
| Nested Class Summary | |
|---|---|
static class |
CqlResult._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
| Field Summary | |
|---|---|
static java.util.Map<CqlResult._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
int |
num
|
java.util.List<CqlRow> |
rows
|
CqlMetadata |
schema
|
CqlResultType |
type
|
| Constructor Summary | |
|---|---|
CqlResult()
|
|
CqlResult(CqlResult other)
Performs a deep copy on other. |
|
CqlResult(CqlResultType type)
|
|
| Method Summary | |
|---|---|
void |
addToRows(CqlRow elem)
|
void |
clear()
|
int |
compareTo(CqlResult other)
|
CqlResult |
deepCopy()
|
boolean |
equals(CqlResult that)
|
boolean |
equals(java.lang.Object that)
|
CqlResult._Fields |
fieldForId(int fieldId)
|
java.lang.Object |
getFieldValue(CqlResult._Fields field)
|
int |
getNum()
|
java.util.List<CqlRow> |
getRows()
|
java.util.Iterator<CqlRow> |
getRowsIterator()
|
int |
getRowsSize()
|
CqlMetadata |
getSchema()
|
CqlResultType |
getType()
|
int |
hashCode()
|
boolean |
isSet(CqlResult._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetNum()
Returns true if field num is set (has been assigned a value) and false otherwise |
boolean |
isSetRows()
Returns true if field rows is set (has been assigned a value) and false otherwise |
boolean |
isSetSchema()
Returns true if field schema 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 |
read(org.apache.thrift.protocol.TProtocol iprot)
|
void |
setFieldValue(CqlResult._Fields field,
java.lang.Object value)
|
CqlResult |
setNum(int num)
|
void |
setNumIsSet(boolean value)
|
CqlResult |
setRows(java.util.List<CqlRow> rows)
|
void |
setRowsIsSet(boolean value)
|
CqlResult |
setSchema(CqlMetadata schema)
|
void |
setSchemaIsSet(boolean value)
|
CqlResult |
setType(CqlResultType type)
|
void |
setTypeIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetNum()
|
void |
unsetRows()
|
void |
unsetSchema()
|
void |
unsetType()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public CqlResultType type
CqlResultTypepublic java.util.List<CqlRow> rows
public int num
public CqlMetadata schema
public static final java.util.Map<CqlResult._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
| Constructor Detail |
|---|
public CqlResult()
public CqlResult(CqlResultType type)
public CqlResult(CqlResult other)
| Method Detail |
|---|
public CqlResult deepCopy()
deepCopy in interface org.apache.thrift.TBase<CqlResult,CqlResult._Fields>public void clear()
clear in interface org.apache.thrift.TBase<CqlResult,CqlResult._Fields>public CqlResultType getType()
CqlResultTypepublic CqlResult setType(CqlResultType type)
CqlResultTypepublic void unsetType()
public boolean isSetType()
public void setTypeIsSet(boolean value)
public int getRowsSize()
public java.util.Iterator<CqlRow> getRowsIterator()
public void addToRows(CqlRow elem)
public java.util.List<CqlRow> getRows()
public CqlResult setRows(java.util.List<CqlRow> rows)
public void unsetRows()
public boolean isSetRows()
public void setRowsIsSet(boolean value)
public int getNum()
public CqlResult setNum(int num)
public void unsetNum()
public boolean isSetNum()
public void setNumIsSet(boolean value)
public CqlMetadata getSchema()
public CqlResult setSchema(CqlMetadata schema)
public void unsetSchema()
public boolean isSetSchema()
public void setSchemaIsSet(boolean value)
public void setFieldValue(CqlResult._Fields field,
java.lang.Object value)
setFieldValue in interface org.apache.thrift.TBase<CqlResult,CqlResult._Fields>public java.lang.Object getFieldValue(CqlResult._Fields field)
getFieldValue in interface org.apache.thrift.TBase<CqlResult,CqlResult._Fields>public boolean isSet(CqlResult._Fields field)
isSet in interface org.apache.thrift.TBase<CqlResult,CqlResult._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(CqlResult that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(CqlResult other)
compareTo in interface java.lang.Comparable<CqlResult>public CqlResult._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<CqlResult,CqlResult._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TBase<CqlResult,CqlResult._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<CqlResult,CqlResult._Fields>org.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Object
public void validate()
throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||