public class QueryPlan extends Object implements org.apache.thrift.TBase<QueryPlan,QueryPlan._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
QueryPlan._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<QueryPlan._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
QueryPlan() |
QueryPlan(List<Query> queries,
boolean done,
boolean started) |
QueryPlan(QueryPlan other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToQueries(Query elem) |
void |
clear() |
int |
compareTo(QueryPlan other) |
QueryPlan |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(QueryPlan that) |
QueryPlan._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(QueryPlan._Fields field) |
List<Query> |
getQueries() |
Iterator<Query> |
getQueriesIterator() |
int |
getQueriesSize() |
int |
hashCode() |
boolean |
isDone() |
boolean |
isSet(QueryPlan._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDone()
Returns true if field done is set (has been assigned a value) and false otherwise
|
boolean |
isSetQueries()
Returns true if field queries is set (has been assigned a value) and false otherwise
|
boolean |
isSetStarted()
Returns true if field started is set (has been assigned a value) and false otherwise
|
boolean |
isStarted() |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setDone(boolean done) |
void |
setDoneIsSet(boolean value) |
void |
setFieldValue(QueryPlan._Fields field,
Object value) |
void |
setQueries(List<Query> queries) |
void |
setQueriesIsSet(boolean value) |
void |
setStarted(boolean started) |
void |
setStartedIsSet(boolean value) |
String |
toString() |
void |
unsetDone() |
void |
unsetQueries() |
void |
unsetStarted() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<QueryPlan._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public QueryPlan()
public QueryPlan(QueryPlan other)
public QueryPlan deepCopy()
deepCopy
in interface org.apache.thrift.TBase<QueryPlan,QueryPlan._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<QueryPlan,QueryPlan._Fields>
public int getQueriesSize()
public void addToQueries(Query elem)
public void unsetQueries()
public boolean isSetQueries()
public void setQueriesIsSet(boolean value)
public boolean isDone()
public void setDone(boolean done)
public void unsetDone()
public boolean isSetDone()
public void setDoneIsSet(boolean value)
public boolean isStarted()
public void setStarted(boolean started)
public void unsetStarted()
public boolean isSetStarted()
public void setStartedIsSet(boolean value)
public void setFieldValue(QueryPlan._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<QueryPlan,QueryPlan._Fields>
public Object getFieldValue(QueryPlan._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<QueryPlan,QueryPlan._Fields>
public boolean isSet(QueryPlan._Fields field)
isSet
in interface org.apache.thrift.TBase<QueryPlan,QueryPlan._Fields>
public boolean equals(QueryPlan that)
public int compareTo(QueryPlan other)
compareTo
in interface Comparable<QueryPlan>
public QueryPlan._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<QueryPlan,QueryPlan._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<QueryPlan,QueryPlan._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<QueryPlan,QueryPlan._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2017 The Apache Software Foundation. All rights reserved.