|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractConverter
into a chain of
converters from the source relation to the target calling convention.AbstractConverter
objects which have not yet been
satisfied.
AbstractSyntaxRule
represents a syntax rule.AbstractTable
is a partial implementation of SaffronTable
.ParseTreeVisitor
object as the role of a
Visitor in the Visitor pattern, as the role of an Element in
the Visitor pattern.
ParseTreeVisitor
object as the role of a
Visitor in the Visitor pattern, as the role of an Element in the
Visitor pattern.
rel
to this subset.
type
to fieldList
.
AddFilterToQueryRule
grafts a FilterRel
onto a JdbcQuery
.rel
to this set, without creating a
RelSubset
.
classes
as inner
classes of a class declaration outerClassDecl
.
AddProjectToQueryRule
grafts a ProjectRel
onto a
JdbcQuery
.AggAndAcc
holds an instance of an AggregationExtender
and its associated accumulator.AggregateRel
is a relational operator which eliminates
duplicates and computes totals.Aggregation
aggregates a set of values into one value.AggregationExtender
allows end-users to define their own
aggregate functions.AggInternalTranslator
) into more conventional field accesses.AllocationExpression
class represents
an expression which allocates a new object with its constructor.AmbiguousClassesException
is thrown if the
additional OJClass
object has the same name with another
OJClass
object's.RexKind.Divide
, RexKind.Minus
,
RexKind.MinusPrefix
, RexKind.Plus
, RexKind.Times
).
ARRAY
calling convention results in a Java expression
which evaluates to an array containing the rows returned.
ArrayAccess
represents
an array access.ArrayAllocationExpression
class represents
an expression which allocates a new array object.ArrayConverterRel
converts a plan from
inConvention
to CallingConvention.ARRAY
.o
is a result set with a given number of rows,
a list of columns with given names, and every row is the same type.
o
is a result set with a given number of rows,
a list of columns with given names and types, and every row is the
same type.
throwable
is null, or if its message does not
contain the string pattern
.
AssignmentExpression
class represents
an assignment expression with an assignment operator.BarfingInvocationHandler
handles a method
call by looking for a method in itself with identical parameters.BinaryExpression
class represents
an expression which consists of an operators and two operands.BinaryHeap
is a heap implementation of a priority queue.operator name
to an operator
.
BinaryExpression.DIVIDE
et cetera) to row-expression.
rel
are available via
bind
(which may be eager or lazy).
rel
are available in
variable
.
Block
.BreakStatement
class represents
a break statement node of parse tree.BufferedIterator
converts a regular iterator into one which
implements Iterable
(and Enumeration
for good measure).BuiltinAggregation
is a basic aggregator for which special
code is generated.Count
is an aggregator which returns the number of rows
which have gone into it.MinMax
implements the "min" and "max" aggregator
functions, returning the returns the smallest/largest of the values
which go into it.Sum
is an aggregator which returns the sum of the values
which go into it.CalcIterator
is an abstract base for iterator implementations
generated by IterCalcRel.CallingConvention
enumerates all calling conventions defined
by Saffron itself.CannotInspectException
is thrown if the
requested introspection cannot be performed on the class object,
the method object, or the field object.CAST
operator.
CastExpression
class represents
a cast expression of parse tree.Object
into an appropriate
type.
QueueIterator.done(Throwable)
.
child scopes
, set on validate.
ParseTreeVisitor
object as the role of a
Visitor in the Visitor pattern, as the role of an Element in the
Visitor pattern.
ParseTreeVisitor
object as the role of a
Visitor in the Visitor pattern, as the role of an Element in the
Visitor pattern.
ParseTreeVisitor
object as the role of a
Visitor in the Visitor pattern, as the role of an Element in the
Visitor pattern.
ParseTreeVisitor
object as the role of a
Visitor in the Visitor pattern, as the role of an Element in the
Visitor pattern.
ParseTreeVisitor
object as the role of a
Visitor in the Visitor pattern, as the role of an Element in the
Visitor pattern.
other
child scopes
, set on
validate.
ClassCollector
walks over an expression tree, calling Expression.getType(openjava.mop.Environment)
and Expression.getRowType(openjava.mop.Environment)
on each node, and forming a set of
distinct types.ClassLiteral
class represents
an expression as a object of Class
class,
which is suppoted since JDK 1.1.foo.Bar.class
with
Class.forName("foo.Bar")
.ClassMap
is ...ClassSchema
is a schema whose tables are reflections of the
the public fields of a given class.RelSet
is its own clone.
rel
.
COLLECTION
calling convention results in a Java
expression which evaluates to a Collection
,
typically a ArrayList
.
CollectionConverterRel
converts a plan from
inConvention
to CallingConvention.COLLECTION
.ColoredSourceWriter
is a Visitor role
in the Visitor pattern and this also visits each child
ParseTree
object from left to right.FROM
clause,
where table expressions are specified with commas between them,
and join conditions are specified in the WHERE
clause.
RexKind.Equals
, RexKind.GreaterThan
, etc.).
CompositeRule
represents iterative syntax
rule.CompoundIterator
creates an iterator out of several.rel
which comes
from its ordinal
th input.
SqlLiteral
, one of the integer codes for SqlJoinOperator.ConditionType
.
ConditionalExpression
class represents
a conditional expression.SaffronConnection
.
NULL
value.
ConstructorDeclaration
class represents
constructor declaration node of the parse tree.names
contains name
in the first
count
positions.
tableName
as an array; in practice, it is a placeholder recognized by the
optimizer to do something much more efficient.
ContinueStatement
class represents
a continue statement node of parse tree.ConverterFactory
is ...calling
convention
to another.ConverterRule
SqlToRelConverter
.SqlNode
to RexNode
format.
QueryExpression
into a SaffronRel
.
boolean
array.
int
array.
boolean
array.
int
array.
CorrelatorRel
behaves like a kind of JoinRel
, but
works by setting variables in its environment and restarting its
right-hand input.BuiltinAggregation
with a given name and
argument types.
SaffronRel
has been created yet.
SyntheticClass
, or if there is already one with
the same number and type of fields, returns that.
SyntheticClass
with named fields.
TokenSource
.QueryInfo.lookup(int,SaffronRel[],boolean,String)
.DelegatingInvocationHandler
handles a
method call by looking for a method in itself with identical parameters.ExpressionReaderRel.deriveRowType()
.
DistinctRel
is a SaffronRel
which eliminates
duplicates from its input.Dml
is an aggregate of all DML operators.
done
to say that there are no more objects,
setting throwable
if there was an error.
DoWhileStatement
class represents a do-while
statement node of parse tree.QueueIterator.put(java.lang.Object)
with each row.
DynamicJavaCompiler
implements the JavaCompiler
interface by calling DynamicJava.empty
every time it produces an
object (or finishes).
EnumeratedValues
is a helper class for declaring a set of
symbolic constants which have names, ordinals, and possibly descriptions.BasicValue
is an obvious implementation of EnumeratedValues.Value
.Value
represents a member of an enumerated type.TableModificationRel.Operation
values.
RexKind
instances.
SqlJoinOperator.ConditionType
values.
SqlJoinOperator.JoinType
values.
SqlTypeName
values.
EnumerationConverterRel
converts a plan from
inConvention
to CallingConvention.ENUMERATION
.EnumerationIterator
is an adapter which converts an Enumeration
into an Iterator
.value.name_.equals(s)
rather than
value.equals(s)
, didn't you?
in
union
, minus
, and
intersect
.
connection.contentsAsArray("qualifier","name")
,
which was probably generated by expanding connection.name
.
exists
.
EvaluationShuttle
is a Visitor role
in the Visitor pattern and this also visits each child
ParseTree
object from left to right.EXISTS
calling convention is only allowed for a
terminator.
ExistsConverterRel
converts a relational expression node
(SaffronRel
) to CallingConvention.EXISTS_ORDINAL
calling convention: an
expression which yields true
if the relation returns at least
one row.Expression
into a java expression which returns an
array.
Expression
into a java expression which returns an
array.
Expression
of the form for (variable
in exp) {body}
into a regular java Statement
.
Expression
of the form for (variable in
exp) { body }
into a regular java Statement
.
in
.
selectItem
is "*" or "TABLE.*", expands it and returns
true; otherwise writes the unexpanded item.
ExpansionApplier
is an evaluator of each
objects of ParseTree
family.RelSubset
.
Expression
.Expression
is an aggregate of all expression
operators.
ExpressionReaderRel
is a relational expression node which
evaluates an expression and returns the results as a relation.ExpressionReaderRel
.
ExtenderAggregation
is an aggregation which works by
instantiating a user-defined aggregation (AggregationExtender
), as opposed to generating custom
code.ExtentRel
represents all of the instances of a particular
class (including subtypes).ExtentRel
.
ExtentTable
is a relational expression formed by all of the
instances of a given class.ConverterRule
which lets a ConverterFactory
do the work.Boolean.FALSE
.
FieldAccess
class represents
a field access.FilterRel
is a relational expression which iterates over its
input, and returns elements for which condition
evaluates to
true
.count
th leaf (SaffronRel
which
implements a from-list item) below this one.
IN
or EXISTS
operators
inside SQL parse tree.
ProjectRelBase.Flags
.
OJClass
object to an OJClass
object.
OJClass
object associated with the class
with the given string name.
ParseTree
objects to an OJClass
object.
ForStatement
class represents a for statement
node of parse tree.for (variable in
query) …
.
SaffronRel
of CallingConvention.JAVA
into a Java
for
-loop.full
every time it reads
the next object.
function name
to an operator
.
GenericVisitor
is a Visitor role in the Visitor
pattern and visits ParseTree
objects as the role of Element.iDepth
th ancestor of the current element
iDepth
th
ancestor.
value0, ..., valueN
containing
all variables valueivalue
in this cluster's
expression.
this.value0 =
value0; ...; this.valueN = valueN; return this;
.
SaffronRel
's child expressions
(not including the inputs returned by SaffronRel.getInputs()
.
ClassEnvironment
, or null.
OJClass
objects
representing all the public classes and interfaces
that are members of the class represented by this
OJClass
object.
OJClass
objects
representing all the classes and interfaces which are members
of the class represented by this OJClass
object,
accessible from the situation represented by the given
OJClass
object.
OJClass
representing the component type of an
array.
SqlJoinOperator.ConditionType
OJConstructor
object that reflects the
specified public constructor of the class represented by this
OJClass
object.
OJConstructor
object that reflects the
specified constructor accesible from the situation represented
by the given OJClass
object.
OJConstructor
objects
reflecting all the public constructors of the class
represented by this OJClass
object.
OJConstructor
objects
reflecting all the constructors of the class represented by
this OJClass
object, accesible from the situation
represented by the given OJClass
object.
CallingConvention
.
OJClass
objects reflecting all
the classes and interfaces declared as members of the class
represented by this OJClass
object.
OJConstructor
object that reflects the
specified constructor of the class or interface represented by
this OJClass
object.
OJConstructor
objects reflecting
all the constructors declared by the class represented by this
OJClass
object.
OJField
object that reflects the specified
declared field of the class or interface represented by this
OJClass
object.
OJField
objects reflecting all
the fields declared by the class or interface represented by
this OJClass
object.
OJMethod
object that reflects the
specified declared method of the class or interface represented
by this OJClass
object.
OJMethod
objects reflecting all
the methods declared by the class or interface represented by
this OJClass
object.
OJClass
object is a member of another class,
returns the OJClass
object representing the class
in which it was declared.
OJField
object that reflects the
specified public member field of the class or
interface represented by this OJClass
object.
OJField
object that reflects the
specified member field accesible from the situation represented
by the given OJClass
object.
OJField
objects
reflecting all the accessible public fields of the
class or interface represented by this OJClass
object.
OJField
objects
reflecting all the fields of the class or interface represented
by this OJClass
object, accessible from the
situation represented by the given OJClass
object.
n
th (0-based) input to a join expression.
GlobalEnvironment
.
i
th input.
name
, or -1 if it does not represent an input.
SaffronRel
's inputs.
Context
in this
servlet's httpSession.
Context
in this
servlet's httpSession.
SqlJoinOperator.JoinType
ParserConstants.INNER
if s
is "inner",
and similarly for ParserConstants.LEFT
, ParserConstants.RIGHT
, ParserConstants.FULL
.
SqlKind.Other
if it's
nothing special.
private Class0 value0; ...; private ClassN valueN;
.
OJMethod
object that reflects the
specified public member method of the class or interface
represented by this OJClass
object.
OJMethod
object that reflects the
specified member method accesible from the situation
represented by the given OJClass
object.
OJMethod
objects
reflecting all the public member methods of the class
or interface represented by this OJClass
object,
including those declared by the class or interface and and
those inherited from superclasses and superinterfaces.
OJMethod
objects
reflecting all the member methods of the class or interface
represented by this OJClass
object, accesible from
the situation represented by the given OJClass
object.
OJModifier
object.
OJClass
object, as a String
.
ResultSet.getObject(int)
.
RexKind
, given
a specific number and types of arguments.
String
.
Class0 value0, ..., ClassN valueN
containing all of the unbound variables
valueivalue
in this cluster's expression.
SaffronRel
s which reference SaffronRel
s in this set.
VolcanoPlanner
.
SaffronRel
's class, sans package
name, for use in SaffronRel.explain(net.sf.saffron.core.PlanWriter)
.
ResultSet
for
retrieving a particular type.
SaffronSchema
this table belongs to.
SaffronTable
.
OJClass
object, as a
String
.
OJClass
representing the superclass of
the entity (class, interface, primitive type or void)
represented by this OJClass
.
SqlOperator.Syntax
.
SaffronTable
based upon a member access.
Expression
or a TypeName
).
type factory
used to generate
types for this schema.
OptionsList.parse(java.lang.String[])
.
rel0
and used
by rel1
.
ParseTreeVisitor
going on a given non-relational
expression, and returns the result.
ParseTreeVisitor
going on a parse tree, and returns the
result.
RelVisitor
going on a given relational expression, and
returns the result.
Graph
is a collection of directed arcs between nodes, and
supports various graph-theoretic operations.Arc
is a directed link between two nodes.clazz
.
clazz
.
Interpreter
to the world.HashableArray
provides a Object[]
with a HashableArray.hashCode()
and an HashableArray.equals(java.lang.Object)
function, so it can be used as a key in
a Hashtable
.HashableArray
provides a Object[]
with a HashableArray.hashCode()
and an HashableArray.equals(java.lang.Object)
function, so it can be used as a key in a
Hashtable
.IdentifierRule
represents syntax rule of
Identifier.IfStatement
class represents a if statement node
of parse treeImplementableTable
is a SaffronTable
which can be
scanned without any filters.fieldName
.
implementor
's RelImplementor.getStatementList()
method) code to
merge two accumulators.
implementor
's RelImplementor.getStatementList()
method) the piece of code
which gets called each time an extra row is seen.
SaffronRel.implement(net.sf.saffron.opt.RelImplementor, int)
on the
root element.
Aggregation.implementStartAndNext(net.sf.saffron.opt.RelImplementor, net.sf.saffron.rel.SaffronRel, int[])
; particular derived classes may do
better.
Infinite
is an empty interface which informs the optimizer
that an Iterator
will -- or may -- never end.SaffronProperties
.
InstanceofExpression
represents a call to the
instanceof
operator.Openjava expression
into a
row-expression
.Interpreter
evaluates a sequence of Saffron/Java statements.SqlLiteral.True
, SqlLiteral.False
.
table
.
OJClass
object represents an
array class.
OJClass
object is either the same as, or is a
superclass or superinterface of, the class or interface
represented by the specified OJClass
parameter.
OJClass
object represents
an interface type.
OJClass
object represents a
primitive type.
OJClass
object represents a
wrapper class for a primitive type.
clazz
can be read as a
relation.
public
be non-static
return void
begin with test
have precisely one parameter of type TestCase
(or a class
derived from it)
ordinal
is valid for this enumeration.
Iterable
if it has an Iterable.iterator()
method to
create an Iterator
over its elements.ITERABLE
calling convention means that the expression
is converted to an openjava expression (Expression
) which evalutes to an object which
implements Iterable
.
CallingConvention.ITERABLE
calling convention.IterationRule
represents iterative syntax
rule.ITERATOR
calling convention means that the expression
is converted to an openjava expression (Expression
) which evalutes to an Iterator
.
IteratorResultSet
is an adapter which converts a Iterator
into a ResultSet
.ColumnGetter
retrieves a column from an input row based
upon its 1-based ordinal.FieldGetter
retrieves each public field as a separate
column.SingletonColumnGetter
retrieves the object itself.SyntheticColumnGetter
retrieves columns from a synthetic
object.IterCalcRel
is an iterator implementation of a combination of
ProjectRel
above an optional FilterRel
.IterConcatenateRel
concatenates several iterators.IterConverterRel
converts a plan from
inConvention
to CallingConvention.ITERATOR_ORDINAL
.IterOneRowRel
is an iterator implementation of
OneRowRel
and FilterRel
.JAVA
calling convention means that the expression is
converted into an Openjava parse tree, which can then be un-parsed,
compiled, and executed as java code.
JavaAggregateRel
implements the AggregateRel
relational operator by generating code.JavaCompiler
represents an interface
to invoke a regular Java compiler.JavaCompilerArgs
holds the arguments for a
JavaCompiler
.JavaConverterRel
converts a plan from
inConvention
to CallingConvention.JAVA_ORDINAL
.JavaDistinctRel
implements DistinctRel
inline.JavaExistsRel
implements DistinctRel
inline for the
special case that the input relation has zero columns.FilterRel
relational expression in Java code.JoinRel
relational expression using the
nested-loop algorithm, with output as Java code.JavaOneRowRel
implements OneRowRel
inline.ProjectRel
relational
expression as Java code.RexBuilder
to builds row-expressions including those
involving Java code.TableAccessRel
relational expression in Java code.JavaUnionAllRel
implements a UnionRel
inline, without
eliminating duplicates.JdbcConnection
is an implementation of SaffronConnection
which gets its data from a JDBC database.DataSource
.OJClass
to the name of a JDBC getter method.
JdbcQuery
is a relational expression whose source is a SQL
statement executed against a JDBC data source.JdbcQuery
.
JdbcSchema
is a schema against a JDBC database and for
which, therefore, we will need to generate SQL.JdbcTable
implements SaffronTable
by connecting to a
JDBC database.JdbcColumn
records the mapping of fields onto columns, for
the purposes of SQL generation.JdbcTest
is a set of unit testsQueryExpression
.JoinExpression
.
JoinRel.JoinType
, except that JoinRel.JoinType.RIGHT
is disallowed.
Literal class
represents
a literal.LocaleMin
is an example of a custom aggregation.RexKind.And
, RexKind.Or
, RexKind.Not
).
(. <IDENTIFIER>)
".
expression
,
whose offset in its from-list is offset
.
expression
, whose offset in its from-list is
offset
.
call
is a call to a
builtin, otherwise returns null.
call
is a call to a
custom aggregation, null otherwise.
name
.
Walden
is a command-line interpreter for Saffron, and dynamic
Java statements in general; Main
is its main entry point.Main
.RexKind
to an appropriate SqlOperator
.
RexKind
to an appropriate SqlOperator
.
RexKind
to an appropriate SqlOperator
.
String
object under the given environment.
String
object under the environment of
this class object.
field
th field of
an expression.
field
th field of
the ordinal
th input.
Literal
class
from the boolean.
Literal
class
from the character.
Literal
class
from the number.
Literal
class
from the number.
Literal
class
from the number.
Literal
class
from the number.
Literal
class
from the string.
ordinal
th input.
correlName
from the context of rel
.
String
object under the given environment.
String
object under the environment of
this class object.
String
object under the given environment.
String
object under the environment of
this class object.
AllocationExpression
s to the names
("1"
, etc.) of the inner classes which have been implicitly
created for them.
SqlToOpenjavaConverter.mapBinarySqlToOj
.
SqlBinaryOperator
to codes of
BinaryExpression
, wrapped as Integer
.
String
) of a class to its metaclass (Class
).
SaffronRel
.
digest
to the unique relational expression
with that digest.
HashableArray
(which is just a wrapper around an array of
classes and names to the SyntheticClass
which implements that
array of types.
SaffronRel
) to its equivalence
set (RelSubset
).
sub-queries
to the expressions
which will be used to access them.
action
for every combination of tokens for which
this pattern matches.
action
for every combination of tokens for which
this pattern matches.
Median
is an aggregation which returns the Median of a set of
points.otherSet
into this one.
Metaclass
is a metametaclass for metaclasses.MethodCall
class represents
a method call expression.MethodCallTestCase
is a TestCase
which invokes a
method on an object.Dispatcher
calls a method from within
its own security context.set1
but not in
set2
, without modifying either.
RuntimeException
indicating that a
particular feature has not been implemented, but should be.
SaffronRel.id
values
nlogn(n)
(or n
if n
is
small, so the result is never negative.
NONE
calling convention means that expression does not
support any calling convention -- in other words, it is not
implementable, and has to be transformed to something else in order to
be implemented.
NoneConverter
converts a plan from inConvention
to CallingConvention.NONE_ORDINAL
.FileEnvironment.theClassExists(java.lang.String)
.
NoSuchMemberException
is thrown
when the requested class object does not have the coressponding
member.NotAGroupException
is thrown by AggInternalTranslator
if it encounters a reference to a variable from the query's
from
clause.Nth
is an example of a custom aggregation.NULL
value.
NullCompiler
does nothing.ObjectList
class presents for the node of parse tree
of ObjectsObjectSchema
implements SaffronSchema
by calling Java
methods.ObjectTable
is a component of an ObjectSchema
.OJClass
class represents a class metaobject.OJClassImp
provides an interface to
an implementation of OJClass.OJClassNotFoundException
is thrown
when an application tries to load in a class through its
string name using forName method in class OJClass, but no
definition for the class with the specifed name could be found.SaffronConnection
.OJConstructorImp
provides an interface to
an implementation of OJConstructor.OJFieldImp
provides an interface to
an implementation of OJField.OJMember
is equivalent to MemberOJMethod
object.
OJMethod
object.
OJMethod
object.
OJMethodImp
provides an interface to
an implementation of OJMethod.OJModifier
extends
java.lang.relfect.Modifier
to support user defined
keywords.JavaDistinctRel
into a
JavaExistsRel
, provided that the select
list contains zero columns.OneRowRel
to Java
calling convention
.ProjectRel
to Java
calling convention
.TableAccessRel
to Java calling convention
.UnionRel
to iterator calling convention
.UnionRel
to Java calling convention
.OJSystem
OJQueryExpander
passes over a parse tree, and converts
relational expressions into regular Java constructs.SaffronSchema
expressions.OJStatement
is used to execute a saffron (or regular Java)
expression dynamically.Argument
supplies a name/value pair to a statement.int
argument.
value
.
OJSystem
is the system environment: the analog of System
in an OpenJava system.SaffronTypeFactory
which can convert to and from OJClass
.SaffronTypeFactory
based upon OpenJava's type
system.OJClass
.OJScalarType
OJTypeFactoryImpl
.
OJValidator
makes sure that an expression is valid.OldJavaCompiler
is an adapter for Sun's javac.Integer
value 1.
OneRowRel
always returns one row, zero columns.OneRow
.
VolcanoRuleMatch
which can be invoked later.
OpenJavaTask
to use during
boot time, because Ant requires that each <taskdef>
has a
valid class behind it.rel
.
OptionsList
.OptionsList.OptionHandler
which
writes to a buffer.OptUtil
defines static utility methods for use in optimizing
SaffronRel
s.rel
within parent
EnumeratedValues.Value
s.
rel
's parent
SELECT
statement.
ParseTreeAction
is called when a ParseTreePattern
finds a match.ParseTreePattern
represents an expression with holes in it.ParseTreeVisitor
is a Visitor role
in the Visitor pattern and visits ParseTree
objects
as the role of Element.PartialParser
class is
an utilty class to make ptree objects from string.VolcanoPlanner.addRule(net.sf.saffron.opt.VolcanoRule)
.
operator name
to an operator
.
operator name
to an operator
.
PrepPhraseRule
represents the syntax rule
of a prepositional phrase.PrintHandler
writes the output of a Interpreter
to a
PrintWriter
.GET
and POST
methods.
ProjectRel
is a relational expression which computes a set of
'select expressions' from its input relational expression.ProjectRelBase
is an abstract base class for SaffronRels which
perform projection.java compiler
.
SaffronProperties.PROPERTY_saffron_java_compiler_class
(""JP.ac.tsukuba.openjava.SunJavaCompiler"").
SaffronProperties.PROPERTY_saffron_package_name
(""saffron.runtime"").
Statement
prints the statement to System.out
before compiling it.
Main.suite()
.
Main.suite()
.
Main.suite()
.
put
to add another object (which may be
null).
Query
is an aggregate of query node types.
QueryEnvironment
is the environment seen inside a QueryExpression
.QueryExpander
is a ParseTreeVisitor
which, as it passes
over a parse tree, converts QueryExpression
s into regular java
constructs.QueryExpression
is a Saffron extension to Java syntax
which represents a SQL-like relational expression.QueryInfo
holds all the information about a QueryExpression
while it is being translated into a collection of SaffronRel
s.QueryInfo
Iterator
for use by another thread.ClassEnvironment
for declarerName, record new inner
class innerName; otherwise, pass up the environment hierarchy.
exp
.
RelEnvironment
defines the set of variables available to a
relational expression
.RelImplementor
deals with the nastiness of converting a tree
of relational expressions into an implementation, generally an openjava parse tree
.Translator
is a shuttle used to implement
RelImplementor.translate(net.sf.saffron.rel.SaffronRel, net.sf.saffron.rex.RexNode)
.RelImplementor.Translator.whichInput(int, net.sf.saffron.rel.SaffronRel)
, contains the input relational
expression, its index, and the index of the field within that
relational expression.VariableInitializerThunk
yields a VariableInitializer
.RelSet
is an equivalence-set of expressions; that is, a set
of expressions which have identical semantics.RelSubset
is set of expressions in a set which have the same
calling convention.RelSet
s, replacing each node
with the cheapest implementation of the expression.RelVisitor
is a Visitor role in the Visitor pattern and
visits SaffronRel
objects as the role of Element.DistinctRel
if the underlying relational
expression is already distinct.in
or
exists
).
ProjectRel
node which merely returns its input,
converts the node into its child.find
in s
with
replace
.
ordinalInParent
th input.
TokenSource
which can be back-tracked.RESULT_SET
calling convention means that the
expression is a JDBC result set
.
ResultSetConverterRel
converts a plan from
inConvention
to CallingConvention.RESULT_SET_ORDINAL
.ResultSetIterator
is an adapter which converts a ResultSet
to a Iterator
.ReturnStatement
class represents
a return statement node of parse tree.RexAction
is called when a RexPattern
finds a match.RexList
.
RexList
containing the nodes in
list
.
RexList
with a collection of elements.
SqlLiteral
.
RexOperatorTable
is ...RexPattern
represents an expression with holes in it.row expression
to a
Java expression
.row-expression
to a SQL parse
tree
.result set calling
convention
, and does not explicitly specify a row type, the results are
object of type Row
.RuleOperand
determines whether a VolcanoRule
can be applied to a particular expression.CallingConvention
.
CallingConvention
.
SaffronRel
objects according to their cached
'importance'.VolcanoRuleMatch
objects according to their
importance.System.exit(int)
to terminate the application.
SaffronConnection
and extends its
functionality.SaffronError
indicates a runtime error within Saffron library
code or generated code.SaffronExpansionApplier
performs the same expansions as its
base class ExpansionApplier
, plus it expands references to objects
of type SaffronSchema
and converts queries into regular Java code.SaffronType
.SaffronJdbcConnection
is a JDBC SaffronJdbcConnection.MyConnection
to a
Saffron database.SaffronJdbcDriver
is a JDBC Driver
for a Saffron
database.SaffronJdbcStatement
is a JDBC Statement
on a
Saffron database.SaffronPlanner
is a query optimizer: it transforms a
relational expression into a semantically equivalent relational
expression, according to a given set of rules and a cost model.SaffronProperties.instance()
to create a SaffronProperties
.
SaffronRel
is a relational expression.SaffronRel
.
SaffronSchema
is a set of SaffronTable
objects.SaffronSchema
.SaffronTypeFactory
.SaffronField
RecordType
.
SaffronType
.SaffronRel
objects which correspond to a
SELECT statement.
EvaluationShuttle
which automatically pushes and
pops the current scope.query nodes
to the scope created from
them
.
SelectionRule
represents selective syntax
rule.SelfAccess
represents an access to this
object.SeparatedListRule
represents the syntax
rule of a list separated by an separator.SetExpression
is an expression which consists of a set of
rows.SetQuery
is an aggregate of set-query node types.
Graph.Arc
to Graph.Arc
[].
Signature
represents a signature of members of
class; innerclass, field, method, or constructor.SingleRel
is a base class single-input relational
expressions.SingleRel
.
SingleTerminatorRel
is an abstract base for Terminator
s with one input.SourceCodeWriter
is a Visitor role
in the Visitor pattern and this also visits each child
ParseTree
object from left to right.SqlBinaryOperator
is a binary operator.SqlCall
is a call to an operator
.SqlDelete
is a node of a parse tree which represents
a DELETE statement.SqlDialect
encapsulates the differences between dialects of
SQL, for the benefit of a SqlWriter
.SqlDialect
SqlExplain
is a node of a parse tree which represents
an EXPLAIN PLAN statement.SqlFunction
is a type of operator which has conventional
function-call syntax.SqlIdentifier
is an identifier, possibly compound.foo
.
foo.bar
.
SqlInsert
is a node of a parse tree which represents
an INSERT statement.SqlJoin
is ...SqlJoinOperator
describes the syntax of the SQL
JOIN
operator.SqlNode
.RexKind
corresponding to a SqlKind
.
SqlLiteral
is a constant.SqlLiteral
representing the NULL
value.
SqlLiteral
.
SqlNode
is a SQL parse tree.DatabaseMetaData
methods; invocations of
other methods will fall through to the base class, BarfingInvocationHandler
, which will throw an error.SqlNodeList
is a list of SqlNode
s.SqlNodeList
.
SqlNodeList
containing the nodes in
list
.
SqlOperator
is a type of node in a SQL parse tree (it is NOT
a node in a SQL parse tree).Syntax
enumerates possible syntactic types of operators.SqlOperatorTable
is a singleton which contains an instance of
each operator.SqlParser
parses a SQL statement.SqlParser
which reads input from a reader.
SqlParser
which reads input from a string.
SqlParserTest
is a unit-test for the SQL
parser
.SqlSelect
is a node of a parse tree which represents a
select statement.SqlToOpenjavaConverter
converts a tree of SqlNode
objects a ParseTree
tree.SqlToOpenjavaConverter
.SchemaCatalogReader
looks up catalog information from a
saffron schema object
.SqlNode
objects) into a relational algebra expression (consisting of
SaffronRel
objects).Blackboard#lookup
.SchemaCatalogReader
looks up catalog information from a
saffron schema object
.SqlValidator
validates the parse tree of a SQL statement, and
provides semantic information about the parse tree.CatalogReader
supplies catalog information for a SqlValidator
.Table
supplies a SqlValidator
with the metadata
for a table.SqlWriter
is the target to construct a SQL statement from a
parse tree.Statement
class presents common statement interface
of parse tree.Statement
s.IN
and EXISTS
nodes inside this
SELECT
statement (but not inside sub-queries).
Row-expression
wrapped to look like a
Openjava expression
.RelSubset
to Double
.
SunJavaCompiler
is an adapter for Sun's javac.Sucker
collects the output from a reader in a string
buffer.Sucker
SwapJoinRule
permutes the inputs to a join.SwitchStatement
class represents switch statement node
of parse tree.SynchronizedStatement
class represents
a synchronized statement node of parse tree.SyntaxRule
represents a syntax rule.SyntheticClass
is a class declaration
for
intermediate results in saffron expressions.ClassMap
methods.
SyntheticObject
is a base class for all objects built 'on the
fly' by the saffron system.TableAccessMap
represents the tables accessed by a query plan,
with READ/WRITE information.TableAccessRel
reads all the rows from a SaffronTable
.CreateSqlQueryRule
converts a branch of the tree of
relational expressions into a JdbcQuery
(a SQL statement to be
executed against a JDBC data source).TerminatorRel
is a relational expression which cannot be
fetched from, but which is the root node in the tree of SaffronRel
s implemented by an RelImplementor
.TestContext
holds the stuff needed for saffron tests.RexKind
for each SqlKind
.
OJClass
.
ThreadIterator
converts 'push' code to 'pull'.ThreadIterator
.ThrowStatement
class represents
a throw statement node of parse tree.Vector.toArray()
on Java2
Vector.toArray(Object[])
.
TokenRule
represents the syntax
rule of a list separated by an separator.Token
s.TokenSource
into a ParserTokenManager
.Toolbox
is a utility class.StopIterationException
is a way to tell a ParseTreeVisitor
to halt traversal of the tree, but
is not regarded as an error.SqlKind.Query
, SqlKind.Dml
.
relational expression
.
String
representation of this signature.
SqlNode
is the
root.
SaffronType
to a TypeName
.
$input0
) to generated form
(the input relation is referenced using the bindings in this
RelImplementor
).
Boolean.TRUE
.
TryStatement
class represents
a try statement node of parse tree.SqlLiteral
, one of the integer codes for SqlJoinOperator.JoinType
.
TypeName
class represents a type specifier
node of parse tree.TypeNameQualifier
is a utility class
to be usede for making a copy of ptree work well without import
statements.SaffronType
to a OJClass
.
UnaryExpression
class presents for an expression which
consists of unary operator with one Expression.UnaryExpression.BIT_NOT
et cetera) to row-expression.
UnionRel
returns the union of the rows of its inputs,
optionally eliminating duplicates.UnionToDistinctRule
translates a distinct UnionRel
(all
= false
) into a DistinctRel
on top
of a non-distinct UnionRel
(all
= true
).AggInternalTranslator.RexGroupVariable
and AggInternalTranslator.RexAggVariable
objects
which we created temporarily, before we knew how many groups there were
going to be.
SqlValidator.Scope
, and therefore the result type of the
call is the type of that scope.
select
statement, or a set operation
union
, intersect
, except
) is
valid.
VarDecl
s is returned from the dummy()
method which is generated to implement a variable declaration, or a list
of statements which contain variable declarations.Variable
class represents a type specifier
node of parse tree.ScopeHandler
which adds variables to the current
environment as their declarations are enountered.VectorConverterRel
converts a plan from
inConvention
to CallingConvention.VECTOR_ORDINAL
.clazz
which is visible from
fromPackage
.fromClazz
.
exists
expression.
ParseTree
node.
relational expressions
, walking a
RexShuttle
over every expression in that tree.VolcanoCluster
is a collection of SaffronRel
ational
expressions which have the same environment.VolcanoCost
represents the cost of a plan node.VolcanoPlanner
.
VolcanoPlannerFactory
produces new uninitialized instances
of VolcanoPlanner.VolcanoPlannerTest
is a unit-test for the optimizer
.VolcanoQuery
represents a set of relational
expressions
which derive from the same select
statement.VolcanoRule
transforms an expression into another.VolcanoRuleCall
is an invocation of a VolcanoRule
with a set of relational expression
s as arguments.VolcanoRuleMatch
.
avail_
semaphore.
WaldenApplet
is ...WaldenListener
responds to servlet events on behalf of a
WaldenServlet
.WaldenServlet
todo:WaldenServlet
.Context
.
WaldenServlet
.Context
.
Integer
value 0.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |