Class SplunkSchema
java.lang.Object
org.apache.calcite.schema.impl.AbstractSchema
org.apache.calcite.adapter.splunk.SplunkSchema
- All Implemented Interfaces:
Schema
Splunk schema.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.schema.impl.AbstractSchema
AbstractSchema.Factory
Nested classes/interfaces inherited from interface org.apache.calcite.schema.Schema
Schema.TableType
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The name of the one and only table.final SplunkConnection
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a map of tables in this schema by name.Methods inherited from class org.apache.calcite.schema.impl.AbstractSchema
getExpression, getFunctionMultimap, getFunctionNames, getFunctions, getSubSchema, getSubSchemaMap, getSubSchemaNames, getTable, getTableNames, getType, getTypeMap, getTypeNames, isMutable, snapshot
-
Field Details
-
SPLUNK_TABLE_NAME
The name of the one and only table.- See Also:
-
TABLE_MAP
-
splunkConnection
-
-
Constructor Details
-
SplunkSchema
Creates a SplunkSchema.
-
-
Method Details
-
getTableMap
Description copied from class:AbstractSchema
Returns a map of tables in this schema by name.The implementations of
AbstractSchema.getTableNames()
andAbstractSchema.getTable(String)
depend on this map. The default implementation of this method returns the empty map. Override this method to change their behavior.- Overrides:
getTableMap
in classAbstractSchema
- Returns:
- Map of tables in this schema by name
-