| Package | Description |
|---|---|
| org.apache.calcite.interpreter |
Provides an implementation of relational expressions using an interpreter.
|
| org.apache.calcite.rel.metadata |
Defines metadata interfaces and utilities for relational
expressions.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| org.apache.calcite.util |
Provides utility classes.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Interpreter.Compiler
|
static class |
Nodes.CoreCompiler
Extension to
Interpreter.Compiler
that knows how to handle the core logical
RelNodes. |
| Modifier and Type | Class and Description |
|---|---|
class |
ReflectiveRelMetadataProvider
Implementation of the
RelMetadataProvider interface that dispatches
metadata methods to methods on a given object via reflection. |
| Modifier and Type | Class and Description |
|---|---|
class |
RelDecorrelator
RelDecorrelator replaces all correlated expressions (corExp) in a relational
expression (RelNode) tree with non-correlated expressions that are produced
from joining the RelNode that produces the corExp with the RelNode that
references it.
|
class |
RelFieldTrimmer
Transformer that walks over a tree of relational expressions, replacing each
RelNode with a 'slimmed down' relational expression that projects
only the columns required by its consumer. |
class |
RelStructuredTypeFlattener
RelStructuredTypeFlattener removes all structured types from a tree of
relational expressions.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ReflectiveVisitDispatcher<R extends ReflectiveVisitor,E>
Interface for looking up methods relating to reflective visitation.
|
| Modifier and Type | Method and Description |
|---|---|
static <R extends ReflectiveVisitor,E> |
ReflectUtil.createDispatcher(Class<R> visitorBaseClazz,
Class<E> visiteeBaseClazz)
Creates a dispatcher for calls to
ReflectUtil.lookupVisitMethod(java.lang.Class<?>, java.lang.Class<?>, java.lang.String). |
| Modifier and Type | Method and Description |
|---|---|
static <E,T> ReflectUtil.MethodDispatcher<T> |
ReflectUtil.createMethodDispatcher(Class<T> returnClazz,
ReflectiveVisitor visitor,
String methodName,
Class<E> arg0Clazz,
Class... otherArgClasses)
Creates a dispatcher for calls to a single multi-method on a particular
object.
|
static boolean |
ReflectUtil.invokeVisitor(ReflectiveVisitor visitor,
Object visitee,
Class hierarchyRoot,
String visitMethodName)
Implements the
Glossary.VISITOR_PATTERN via
reflection. |
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.