@Immutable public interface QueryResults extends Serializable
Modifier and Type | Interface and Description |
---|---|
static interface |
QueryResults.Columns
Definition of the columns that are available in the results, which outline the structure of the
tuples in the results, and which can be used to access the individual values in each of
the tuples. |
static interface |
QueryResults.Cursor
An interface used to walk through the results.
|
static class |
QueryResults.Location |
static class |
QueryResults.Statistics |
static interface |
QueryResults.TupleReformatter |
Modifier and Type | Field and Description |
---|---|
static ThreadLocal<DecimalFormat> |
FORMATTER |
Modifier and Type | Method and Description |
---|---|
QueryResults.Columns |
getColumns()
Get the description of the columns contained in these results.
|
QueryResults.Cursor |
getCursor()
Get a cursor that can be used to walk through the results.
|
String |
getPlan()
Get a description of the query plan, if requested.
|
Problems |
getProblems()
Get the problems encountered during execution.
|
int |
getRowCount()
Get the number of rows in the results.
|
QueryResults.Statistics |
getStatistics()
Get the statistics that describe the time metrics for this query.
|
List<Object[]> |
getTuples()
Get the actual tuples that contain the results.
|
boolean |
hasErrors()
Return true if there is at least one error recorded in the
problems . |
boolean |
hasWarnings()
Return true if there is at least one warning recorded in the
problems . |
static final ThreadLocal<DecimalFormat> FORMATTER
QueryResults.Columns getColumns()
tuples
.QueryResults.Cursor getCursor()
QueryResults.Cursor.hasNext()
may return true)List<Object[]> getTuples()
int getRowCount()
String getPlan()
Problems getProblems()
boolean hasErrors()
problems
.boolean hasWarnings()
problems
.QueryResults.Statistics getStatistics()
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.