Package com.twilio.kudu.sql
Interface KuduRelNode
-
- All Superinterfaces:
Cloneable
,org.apache.calcite.rel.RelNode
,org.apache.calcite.plan.RelOptNode
- All Known Implementing Classes:
KuduFilterRel
,KuduLimitRel
,KuduProjectRel
,KuduProjectValuesRel
,KuduQuery
,KuduSortRel
,KuduValuesRel
,KuduWrite
public interface KuduRelNode extends org.apache.calcite.rel.RelNode
A relational expression that represents a Kudu convention This will be used by theKuduToEnumerableConverter
to translate into aBlocks
. TheBlocks
will be used to generate Byte code that represents the query and executes it against the table. Each optimizer rule implemented in this module converts a boring basicRelNode
into aKuduRelNode
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
KuduRelNode.Implementor
Implementor is a container to hold information required to execute a query or update to kudu.
-
Field Summary
Fields Modifier and Type Field Description static org.apache.calcite.plan.Convention
CONVENTION
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
implement(KuduRelNode.Implementor implementor)
EachKuduRelNode
implementation will accept theKuduRelNode.Implementor
and manipulate it.-
Methods inherited from interface org.apache.calcite.rel.RelNode
accept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, copy, deepEquals, deepHashCode, estimateRowCount, explain, explain, getConvention, getCorrelVariable, getDigest, getExpectedInputRowType, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTable, getVariablesSet, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, replaceInput
-
-
-
-
Method Detail
-
implement
void implement(KuduRelNode.Implementor implementor)
EachKuduRelNode
implementation will accept theKuduRelNode.Implementor
and manipulate it. TheImplementor
will then be used by theKuduToEnumerableConverter
to create aBlocks
that will be used to generate Byte code for the actual query.- Parameters:
implementor
- mutable implementator to store information on for the Kudu RPCs
-
-