public interface Query
extends java.io.Closeable
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
Closes the client and server resources associated with this Query. 
 | 
QueryConfig | 
getConfig()
Returns a QueryConfig object that contains fully parsed pieces like table, predicate, groupByExprs, etc. 
 | 
java.util.List<Schema.Field> | 
getFields()
Returns a list describing the fields of the tuples that will be returned by this Query. 
 | 
java.util.List<Schema.Field> | 
getKeyFields()
Returns a list of fields describing the primary key for this table. 
 | 
short | 
getQueryId()
This will match the queryId on the events. 
 | 
boolean | 
isOpen()
If this is false, either you've already gotten a QueryClosed event or you're about to get one. 
 | 
java.util.List<Schema.Field> getFields()
java.util.List<Schema.Field> getKeyFields()
void close()
close in interface java.lang.AutoCloseableclose in interface java.io.Closeableboolean isOpen()
short getQueryId()
QueryConfig getConfig()