public class SplunkTableAccessRel extends TableAccessRelBase 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.Resulttabledigest, id, rowType, traitSet| Modifier | Constructor and Description |
|---|---|
protected |
SplunkTableAccessRel(RelOptCluster cluster,
RelOptTable table,
net.hydromatic.optiq.impl.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, projectchildrenAccept, collectVariablesSet, collectVariablesUsed, computeDigest, copy, explain, getChildExps, getCluster, getConvention, getCorrelVariable, getDescription, getDigest, getExpectedInputRowType, getId, getInput, getInputs, getOrCreateCorrelVariable, getQuery, getRelTypeName, getRowType, getTraitSet, getVariablesStopped, isDistinct, isValid, metadata, onRegister, recomputeDigest, registerCorrelVariable, replaceInput, setCorrelVariable, sole, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, childrenAccept, collectVariablesSet, collectVariablesUsed, computeSelfCost, copy, explain, getChildExps, getCollationList, getConvention, getCorrelVariable, getExpectedInputRowType, getInput, getInputs, getOrCreateCorrelVariable, getQuery, getRelTypeName, getRows, getRowType, getTable, getVariablesStopped, isDistinct, isKey, isValid, metadata, onRegister, recomputeDigest, registerCorrelVariable, replaceInput, setCorrelVariablegetCluster, getDescription, getDigest, getId, getTraitSetprotected SplunkTableAccessRel(RelOptCluster cluster, RelOptTable table, net.hydromatic.optiq.impl.splunk.SplunkTable splunkTable, String search, String earliest, String latest, List<String> fieldList)
public RelWriter explainTerms(RelWriter pw)
explainTerms in class TableAccessRelBasepublic void register(RelOptPlanner planner)
register in interface RelNoderegister in class AbstractRelNodepublic RelDataType deriveRowType()
deriveRowType in class TableAccessRelBasepublic EnumerableRel.Result implement(EnumerableRelImplementor implementor, EnumerableRel.Prefer pref)
implement in interface EnumerableRelCopyright © 2012–2014 The Apache Software Foundation. All rights reserved.