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 ObjectReturns a context variable.Returns the query provider.@Nullable SchemaPlusReturns 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:DataContextReturns a sub-schema with a given name, or null.- Specified by:
getRootSchemain interfaceDataContext
-
getTypeFactory
Description copied from interface:DataContextReturns the type factory.- Specified by:
getTypeFactoryin interfaceDataContext
-
getQueryProvider
Description copied from interface:DataContextReturns the query provider.- Specified by:
getQueryProviderin interfaceDataContext
-
get
Description copied from interface:DataContextReturns a context variable.Supported variables include: "sparkContext", "currentTimestamp", "localTimestamp".
- Specified by:
getin interfaceDataContext- Parameters:
name- Name of variable
-