Package org.apache.druid.sql
Class DirectStatement.ResultSet
java.lang.Object
org.apache.druid.sql.DirectStatement.ResultSet
- All Implemented Interfaces:
SqlLifecycleManager.Cancelable
- Enclosing class:
- DirectStatement
Represents the execution plan for a query with the ability to run
that plan (once).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()voidclose()query()reporter()run()Do the actual execute step which allows subclasses to wrap the sequence, as is sometimes needed for testing.booleanrunnable()Convenience method for the split plan/run case to ensure that the statement can, in fact, be run.
-
Constructor Details
-
ResultSet
-
-
Method Details
-
query
-
runnable
public boolean runnable()Convenience method for the split plan/run case to ensure that the statement can, in fact, be run. -
run
Do the actual execute step which allows subclasses to wrap the sequence, as is sometimes needed for testing. -
createRowTransformer
-
reporter
-
resources
- Specified by:
resourcesin interfaceSqlLifecycleManager.Cancelable
-
cancel
public void cancel()- Specified by:
cancelin interfaceSqlLifecycleManager.Cancelable
-
close
public void close()
-