|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Immutable public interface QueryResults
The resulting output of a query.
Nested Class Summary | |
---|---|
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
|
Field Summary | |
---|---|
static ThreadLocal<DecimalFormat> |
FORMATTER
|
Method Summary | |
---|---|
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 . |
Field Detail |
---|
static final ThreadLocal<DecimalFormat> FORMATTER
Method Detail |
---|
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()
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |