Package org.apache.calcite.prepare
Class Prepare.PreparedExplain
java.lang.Object
org.apache.calcite.prepare.Prepare.PreparedExplain
- All Implemented Interfaces:
- Prepare.PreparedResult
- Enclosing class:
- Prepare
public abstract static class Prepare.PreparedExplain
extends Object
implements Prepare.PreparedResult
PreparedExplanation is a PreparedResult for an EXPLAIN PLAN statement.
 It's always good to have an explanation prepared.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedPreparedExplain(@Nullable RelDataType rowType, RelDataType parameterRowType, @Nullable RelRoot root, SqlExplainFormat format, SqlExplainLevel detailLevel) 
- 
Method SummaryModifier and TypeMethodDescriptiongetCode()Returns the code generated by preparation.Returns a list describing, for each result field, the origin of the field as a 4-element list of (database, schema, table, column).Returns a record type whose fields are the parameters of this statement.@Nullable TableModify.OperationReturns the table modification operation corresponding to this statement if it is a table modification statement; otherwise null.booleanisDml()Returns whether this result is for a DML statement, in which case the result set is one row with one column containing the number of rows affected.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.calcite.prepare.Prepare.PreparedResultgetBindable
- 
Constructor Details- 
PreparedExplainprotected PreparedExplain(@Nullable RelDataType rowType, RelDataType parameterRowType, @Nullable RelRoot root, SqlExplainFormat format, SqlExplainLevel detailLevel) 
 
- 
- 
Method Details- 
getCodeDescription copied from interface:Prepare.PreparedResultReturns the code generated by preparation.- Specified by:
- getCodein interface- Prepare.PreparedResult
 
- 
getParameterRowTypeDescription copied from interface:Prepare.PreparedResultReturns a record type whose fields are the parameters of this statement.- Specified by:
- getParameterRowTypein interface- Prepare.PreparedResult
 
- 
isDmlpublic boolean isDml()Description copied from interface:Prepare.PreparedResultReturns whether this result is for a DML statement, in which case the result set is one row with one column containing the number of rows affected.- Specified by:
- isDmlin interface- Prepare.PreparedResult
 
- 
getTableModOpDescription copied from interface:Prepare.PreparedResultReturns the table modification operation corresponding to this statement if it is a table modification statement; otherwise null.- Specified by:
- getTableModOpin interface- Prepare.PreparedResult
 
- 
getFieldOriginsDescription copied from interface:Prepare.PreparedResultReturns a list describing, for each result field, the origin of the field as a 4-element list of (database, schema, table, column).- Specified by:
- getFieldOriginsin interface- Prepare.PreparedResult
 
 
-