public class DirectStatement.ResultSet extends Object implements SqlLifecycleManager.Cancelable
| Constructor and Description |
|---|
ResultSet(PlannerResult plannerResult) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
close() |
SqlRowTransformer |
createRowTransformer() |
SqlQueryPlus |
query() |
SqlExecutionReporter |
reporter() |
Set<ResourceAction> |
resources() |
Sequence<Object[]> |
run()
Do the actual execute step which allows subclasses to wrap the sequence,
as is sometimes needed for testing.
|
boolean |
runnable()
Convenience method for the split plan/run case to ensure that the statement
can, in fact, be run.
|
public ResultSet(PlannerResult plannerResult)
public SqlQueryPlus query()
public boolean runnable()
public Sequence<Object[]> run()
public SqlRowTransformer createRowTransformer()
public SqlExecutionReporter reporter()
public Set<ResourceAction> resources()
resources in interface SqlLifecycleManager.Cancelablepublic void cancel()
cancel in interface SqlLifecycleManager.Cancelablepublic void close()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.