class ElasticsearchRules extends Object
ELASTICSEARCH
calling convention.| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
ElasticsearchRules.ElasticsearchConverterRule
Base class for planner rules that convert a relational expression to
Elasticsearch calling convention.
|
private static class |
ElasticsearchRules.ElasticsearchFilterRule
Rule to convert a
LogicalFilter to an
ElasticsearchFilter. |
private static class |
ElasticsearchRules.ElasticsearchProjectRule
Rule to convert a
LogicalProject
to an ElasticsearchProject. |
private static class |
ElasticsearchRules.ElasticsearchSortRule
Rule to convert a
Sort to an
ElasticsearchSort. |
(package private) static class |
ElasticsearchRules.RexToElasticsearchTranslator
Translator from
RexNode to strings in Elasticsearch's expression
language. |
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOGGER |
(package private) static RelOptRule[] |
RULES |
| Modifier | Constructor and Description |
|---|---|
private |
ElasticsearchRules() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static List<String> |
elasticsearchFieldNames(RelDataType rowType) |
(package private) static String |
isItem(RexCall call)
Returns 'string' if it is a call to item['string'], null otherwise.
|
(package private) static String |
quote(String s) |
protected static final org.slf4j.Logger LOGGER
static final RelOptRule[] RULES
Copyright © 2012–2017 The Apache Software Foundation. All rights reserved.