public interface Query extends 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.
|
List<Schema.Field> |
getFields()
Returns a list describing the fields of the tuples that will be returned by this Query.
|
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.
|
List<Schema.Field> getFields()
List<Schema.Field> getKeyFields()
void close()
close
in interface AutoCloseable
close
in interface Closeable
boolean isOpen()
short getQueryId()
QueryConfig getConfig()