Package org.apache.calcite.adapter.jdbc
Class JdbcCorrelationDataContext
java.lang.Object
org.apache.calcite.adapter.jdbc.JdbcCorrelationDataContext
- All Implemented Interfaces:
DataContext
A special DataContext which handles correlation variable for batch nested loop joins.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.calcite.DataContext
DataContext.Variable
-
Field Summary
FieldsFields inherited from interface org.apache.calcite.DataContext
ROOT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Object
Returns a context variable.Returns the query provider.@Nullable SchemaPlus
Returns a sub-schema with a given name, or null.Returns the type factory.
-
Field Details
-
OFFSET
public static final int OFFSET- See Also:
-
-
Constructor Details
-
JdbcCorrelationDataContext
-
-
Method Details
-
getRootSchema
Description copied from interface:DataContext
Returns a sub-schema with a given name, or null.- Specified by:
getRootSchema
in interfaceDataContext
-
getTypeFactory
Description copied from interface:DataContext
Returns the type factory.- Specified by:
getTypeFactory
in interfaceDataContext
-
getQueryProvider
Description copied from interface:DataContext
Returns the query provider.- Specified by:
getQueryProvider
in interfaceDataContext
-
get
Description copied from interface:DataContext
Returns a context variable.Supported variables include: "sparkContext", "currentTimestamp", "localTimestamp".
- Specified by:
get
in interfaceDataContext
- Parameters:
name
- Name of variable
-