public class SplunkTableScan
extends org.apache.calcite.rel.core.TableScan
implements org.apache.calcite.adapter.enumerable.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.
| Modifier | Constructor and Description |
|---|---|
protected |
SplunkTableScan(org.apache.calcite.plan.RelOptCluster cluster,
org.apache.calcite.plan.RelOptTable table,
org.apache.calcite.adapter.splunk.SplunkTable splunkTable,
String search,
String earliest,
String latest,
List<String> fieldList) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.rel.type.RelDataType |
deriveRowType() |
org.apache.calcite.rel.RelWriter |
explainTerms(org.apache.calcite.rel.RelWriter pw) |
org.apache.calcite.adapter.enumerable.EnumerableRel.Result |
implement(org.apache.calcite.adapter.enumerable.EnumerableRelImplementor implementor,
org.apache.calcite.adapter.enumerable.EnumerableRel.Prefer pref) |
void |
register(org.apache.calcite.plan.RelOptPlanner planner) |
accept, computeSelfCost, estimateRowCount, getHints, getTable, identity, identity, projectaccept, childrenAccept, collectVariablesSet, collectVariablesUsed, copy, deepEquals, deepHashCode, equals, explain, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTraitSet, getVariablesSet, hashCode, isEnforcer, isValid, metadata, onRegister, recomputeDigest, replaceInput, sole, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitderiveTraits, getDeriveMode, passThroughTraitsaccept, accept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, copy, deepEquals, deepHashCode, estimateRowCount, explain, explain, fieldIsNullable, getConvention, getCorrelVariable, getDigest, getExpectedInputRowType, getInput, getInputs, getRelDigest, getRelTypeName, getRowType, getTable, getVariablesSet, isEnforcer, isValid, metadata, onRegister, recomputeDigest, replaceInputpublic org.apache.calcite.rel.RelWriter explainTerms(org.apache.calcite.rel.RelWriter pw)
explainTerms in class org.apache.calcite.rel.core.TableScanpublic void register(org.apache.calcite.plan.RelOptPlanner planner)
register in interface org.apache.calcite.rel.RelNoderegister in class org.apache.calcite.rel.AbstractRelNodepublic org.apache.calcite.rel.type.RelDataType deriveRowType()
deriveRowType in class org.apache.calcite.rel.core.TableScanpublic org.apache.calcite.adapter.enumerable.EnumerableRel.Result implement(org.apache.calcite.adapter.enumerable.EnumerableRelImplementor implementor,
org.apache.calcite.adapter.enumerable.EnumerableRel.Prefer pref)
implement in interface org.apache.calcite.adapter.enumerable.EnumerableRelCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.