public class SplunkTableScan extends TableScan implements EnumerableRel
Splunk does not have tables, but it's easiest to imagine that a Splunk instance is one large table. This "table" does not have a fixed set of columns (Splunk calls them "fields") but each query specifies the fields that it wants. It also specifies a search expression, and optionally earliest and latest dates.
EnumerableRel.Prefer, EnumerableRel.Resultdigest, id, rowType, traitSetFILTER_FACTORY, PROJECT_FACTORY| Modifier | Constructor and Description |
|---|---|
protected |
SplunkTableScan(RelOptCluster cluster,
RelOptTable table,
org.apache.calcite.adapter.splunk.SplunkTable splunkTable,
String search,
String earliest,
String latest,
List<String> fieldList) |
| Modifier and Type | Method and Description |
|---|---|
RelDataType |
deriveRowType() |
RelWriter |
explainTerms(RelWriter pw) |
EnumerableRel.Result |
implement(EnumerableRelImplementor implementor,
EnumerableRel.Prefer pref) |
void |
register(RelOptPlanner planner) |
accept, computeSelfCost, getCollationList, getRows, getTable, isKey, projectaccept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeDigest, copy, explain, getChildExps, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getQuery, getRelTypeName, getRowType, getTraitSet, getVariablesStopped, isDistinct, isValid, metadata, onRegister, recomputeDigest, replaceInput, sole, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, copy, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesStopped, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, replaceInputgetCluster, getDescription, getDigest, getId, getTraitSetprotected SplunkTableScan(RelOptCluster cluster, RelOptTable table, org.apache.calcite.adapter.splunk.SplunkTable splunkTable, String search, String earliest, String latest, List<String> fieldList)
public RelWriter explainTerms(RelWriter pw)
explainTerms in class TableScanpublic void register(RelOptPlanner planner)
register in interface RelNoderegister in class AbstractRelNodepublic RelDataType deriveRowType()
deriveRowType in class TableScanpublic EnumerableRel.Result implement(EnumerableRelImplementor implementor, EnumerableRel.Prefer pref)
implement in interface EnumerableRelCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.