public class SplunkPushDownRule extends RelOptRule
| Modifier and Type | Field and Description |
|---|---|
static SplunkPushDownRule |
FILTER |
static SplunkPushDownRule |
FILTER_ON_PROJECT |
static SplunkPushDownRule |
PROJECT |
static SplunkPushDownRule |
PROJECT_ON_FILTER |
description, operands| Modifier | Constructor and Description |
|---|---|
protected |
SplunkPushDownRule(RelOptRuleOperand rule,
String id)
Creates a SplunkPushDownRule.
|
| Modifier and Type | Method and Description |
|---|---|
protected RelNode |
appendSearchString(String toAppend,
SplunkTableScan splunkRel,
LogicalProject topProj,
LogicalProject bottomProj,
RelDataType topRow,
RelDataType bottomRow)
Appends a search string.
|
static String |
getFieldsString(RelDataType row) |
void |
onMatch(RelOptRuleCall call) |
static String |
searchEscape(String str) |
protected void |
transformToFarragoUdxRel(RelOptRuleCall call,
SplunkTableScan splunkRel,
LogicalFilter filter,
LogicalProject topProj,
LogicalProject bottomProj) |
any, convert, convertList, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, matches, none, operand, operand, operand, operand, operand, 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(RelOptRuleOperand rule, String id)
public void onMatch(RelOptRuleCall call)
onMatch in class RelOptRuleprotected RelNode appendSearchString(String toAppend, SplunkTableScan splunkRel, LogicalProject topProj, LogicalProject bottomProj, RelDataType topRow, RelDataType bottomRow)
toAppend - Search string to appendsplunkRel - Relational expressiontopProj - Top projectionbottomProj - Bottom projectionprotected void transformToFarragoUdxRel(RelOptRuleCall call, SplunkTableScan splunkRel, LogicalFilter filter, LogicalProject topProj, LogicalProject bottomProj)
public static String getFieldsString(RelDataType row)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.