public interface Query
extends java.lang.AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the session and free any and all associated resources
|
ResultStream |
execute()
Executes the query and returns the result stream to the caller.
|
byte[] |
explain()
Returns a buffer containing information about the current query.
|
ResultStream execute() throws QueryException
QueryException
- on error.byte[] explain() throws QueryException
QueryException
- if the information can't be provided.void close() throws QueryException
close
in interface java.lang.AutoCloseable
QueryException