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 the
KuduToEnumerableConverter
to translate into a Blocks
.
The Blocks
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 basic
RelNode
into a KuduRelNode
.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Implementor is a container to hold information required to execute a query or update to kudu.Nested classes/interfaces inherited from interface org.apache.calcite.rel.RelNode
org.apache.calcite.rel.RelNode.Context
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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, fieldIsNullable, getConvention, getCorrelVariable, getDigest, getExpectedInputRowType, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTable, getVariablesSet, isEnforcer, isValid, metadata, onRegister, recomputeDigest, register, replaceInput, stripped
Methods inherited from interface org.apache.calcite.plan.RelOptNode
getCluster, getDescription, getId, getTraitSet
-
Field Details
-
CONVENTION
static final org.apache.calcite.plan.Convention CONVENTION
-
-
Method Details
-
implement
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
-