public class CalciteUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static VertexDrelConverterRule |
ELASTIC_DREL_CONVERTER_RULE |
static EnumerableIntermediatePrelConverterRule |
ENUMERABLE_INTERMEDIATE_PREL_CONVERTER_RULE |
static Predicate<org.apache.calcite.plan.RelOptRule> |
RULE_PREDICATE |
| Constructor and Description |
|---|
CalciteUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
analyzePredicate(org.apache.calcite.rex.RexNode condition) |
static org.apache.calcite.adapter.elasticsearch.ElasticsearchFilter |
createFilter(org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode input,
org.apache.calcite.rex.RexNode condition) |
static org.apache.calcite.adapter.elasticsearch.ElasticsearchProject |
createProject(org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode input,
List<? extends org.apache.calcite.rex.RexNode> projects,
org.apache.calcite.rel.type.RelDataType rowType) |
static Set<org.apache.calcite.plan.RelOptRule> |
elasticSearchRules() |
static org.apache.calcite.rel.convert.ConverterRule |
getElasticsearchToEnumerableConverterRule() |
public static final Predicate<org.apache.calcite.plan.RelOptRule> RULE_PREDICATE
public static final VertexDrelConverterRule ELASTIC_DREL_CONVERTER_RULE
public static final EnumerableIntermediatePrelConverterRule ENUMERABLE_INTERMEDIATE_PREL_CONVERTER_RULE
public static Set<org.apache.calcite.plan.RelOptRule> elasticSearchRules()
public static org.apache.calcite.rel.convert.ConverterRule getElasticsearchToEnumerableConverterRule()
public static org.apache.calcite.adapter.elasticsearch.ElasticsearchProject createProject(org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode input,
List<? extends org.apache.calcite.rex.RexNode> projects,
org.apache.calcite.rel.type.RelDataType rowType)
public static org.apache.calcite.adapter.elasticsearch.ElasticsearchFilter createFilter(org.apache.calcite.plan.RelTraitSet traitSet,
org.apache.calcite.rel.RelNode input,
org.apache.calcite.rex.RexNode condition)
public static void analyzePredicate(org.apache.calcite.rex.RexNode condition)
throws org.apache.calcite.adapter.elasticsearch.PredicateAnalyzer.ExpressionNotAnalyzableException
org.apache.calcite.adapter.elasticsearch.PredicateAnalyzer.ExpressionNotAnalyzableExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.