@Immutable public interface QueryResults
Modifier and Type | Interface and Description |
---|---|
static interface |
QueryResults.Columns
Definition of the columns that are available in the results.
|
static class |
QueryResults.Statistics |
Modifier and Type | Field and Description |
---|---|
static ThreadLocal<DecimalFormat> |
FORMATTER |
Modifier and Type | Method and Description |
---|---|
CachedNodeSupplier |
getCachedNodes()
Get the supplier with which a node can be found by key.
|
QueryResults.Columns |
getColumns()
Get the description of the columns contained in these results.
|
String |
getPlan()
Get a description of the query plan, if requested.
|
Problems |
getProblems()
Get the problems encountered during execution.
|
long |
getRowCount()
Get the number of rows in the results, if that information is available.
|
NodeSequence |
getRows()
Get the rows that make up these query results.
|
QueryResults.Statistics |
getStatistics()
Get the statistics that describe the time metrics for this query.
|
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 . |
boolean |
isEmpty()
Determine whether this results is known to be empty.
|
static final ThreadLocal<DecimalFormat> FORMATTER
QueryResults.Columns getColumns()
NodeSequence getRows()
CachedNodeSupplier getCachedNodes()
CachedNode
instances; never nulllong getRowCount()
boolean isEmpty()
String getPlan()
Problems getProblems()
boolean hasErrors()
problems
.boolean hasWarnings()
problems
.QueryResults.Statistics getStatistics()
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.