@Value.Enclosing public class SplunkPushDownRule extends org.apache.calcite.plan.RelRule<SplunkPushDownRule.Config>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SplunkPushDownRule.Config
Rule configuration.
|
org.apache.calcite.plan.RelRule.Done, org.apache.calcite.plan.RelRule.MatchHandler<R extends org.apache.calcite.plan.RelOptRule>, org.apache.calcite.plan.RelRule.OperandBuilder, org.apache.calcite.plan.RelRule.OperandDetailBuilder<R extends org.apache.calcite.rel.RelNode>, org.apache.calcite.plan.RelRule.OperandTransform| Modifier and Type | Field and Description |
|---|---|
static SplunkPushDownRule |
FILTER |
static SplunkPushDownRule |
FILTER_ON_PROJECT |
static SplunkPushDownRule |
PROJECT |
static SplunkPushDownRule |
PROJECT_ON_FILTER |
| Modifier | Constructor and Description |
|---|---|
protected |
SplunkPushDownRule(org.apache.calcite.plan.RelOptRuleOperand operand,
org.apache.calcite.tools.RelBuilderFactory relBuilderFactory,
String id)
Deprecated.
|
protected |
SplunkPushDownRule(org.apache.calcite.plan.RelOptRuleOperand operand,
String id)
Deprecated.
|
protected |
SplunkPushDownRule(SplunkPushDownRule.Config config)
Creates a SplunkPushDownRule.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.calcite.rel.RelNode |
appendSearchString(String toAppend,
SplunkTableScan splunkRel,
org.apache.calcite.rel.logical.LogicalProject topProj,
org.apache.calcite.rel.logical.LogicalProject bottomProj,
org.apache.calcite.rel.type.RelDataType topRow,
org.apache.calcite.rel.type.RelDataType bottomRow)
Appends a search string.
|
static String |
getFieldsString(org.apache.calcite.rel.type.RelDataType row) |
void |
onMatch(org.apache.calcite.plan.RelOptRuleCall call) |
static String |
searchEscape(String str) |
protected void |
transformToFarragoUdxRel(org.apache.calcite.plan.RelOptRuleCall call,
SplunkTableScan splunkRel,
org.apache.calcite.rel.logical.LogicalFilter filter,
org.apache.calcite.rel.logical.LogicalProject topProj,
org.apache.calcite.rel.logical.LogicalProject bottomProj) |
any, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, matches, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unorderedpublic static final SplunkPushDownRule PROJECT_ON_FILTER
public static final SplunkPushDownRule FILTER_ON_PROJECT
public static final SplunkPushDownRule FILTER
public static final SplunkPushDownRule PROJECT
protected SplunkPushDownRule(SplunkPushDownRule.Config config)
@Deprecated protected SplunkPushDownRule(org.apache.calcite.plan.RelOptRuleOperand operand, String id)
@Deprecated protected SplunkPushDownRule(org.apache.calcite.plan.RelOptRuleOperand operand, org.apache.calcite.tools.RelBuilderFactory relBuilderFactory, String id)
public void onMatch(org.apache.calcite.plan.RelOptRuleCall call)
onMatch in class org.apache.calcite.plan.RelOptRuleprotected org.apache.calcite.rel.RelNode appendSearchString(String toAppend, SplunkTableScan splunkRel, org.apache.calcite.rel.logical.LogicalProject topProj, org.apache.calcite.rel.logical.LogicalProject bottomProj, org.apache.calcite.rel.type.RelDataType topRow, org.apache.calcite.rel.type.RelDataType bottomRow)
toAppend - Search string to appendsplunkRel - Relational expressiontopProj - Top projectionbottomProj - Bottom projectionprotected void transformToFarragoUdxRel(org.apache.calcite.plan.RelOptRuleCall call,
SplunkTableScan splunkRel,
org.apache.calcite.rel.logical.LogicalFilter filter,
org.apache.calcite.rel.logical.LogicalProject topProj,
org.apache.calcite.rel.logical.LogicalProject bottomProj)
public static String getFieldsString(org.apache.calcite.rel.type.RelDataType row)
Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.