Package prefuse.data.expression

Classes implementing an SQL-like expression language for filtering and manipulating data.

See:
          Description

Interface Summary
Expression An Expression is an arbitrary function that takes a single Tuple as an argument.
ExpressionVisitor Visitor interface for objects that visit each sub-expression of an Expression instance, performing some computation or data collection.
Function Expression sub-interface representing a function in the prefuse expression language.
Predicate A Predicate is a special type of Expression that carries the guarantee that the Expression.getBoolean(Tuple) method is supported.
 

Class Summary
AbstractExpression Abstract base class for Expression implementations.
AbstractPredicate Abstract base class for dedicated Predicate instances.
AndPredicate Predicate representing an "and" clause of sub-predicates.
ArithmeticExpression Expression supporting basic arithmetic: add, subtract, multiply, divide, exponentiate (pow), and modulo (%).
BinaryExpression Abstract base class for Expression implementations that maintain two sub-expressions.
BooleanLiteral Literal expression of a boolean value.
ColumnExpression Expression instance that returns the value stored in a Tuple data field.
ComparisonPredicate Predicate implementation that computes a comparison operation.
CompositePredicate Abstract base class for Predicate instances that maintain one or more sub-predicates (clauses).
ExpressionAnalyzer Library class that computes some simple analyses of an expression.
FunctionExpression Abstract base class for FunctionExpression implementations.
FunctionTable Function table that allows lookup of registered FunctionExpressions by their function name.
IfExpression Expression instance representing an "if then else" clause in the prefuse expression language.
Literal Abstarct base class for a Literal Expression that evaluates to a constant value.
NotPredicate Predicate representing the negation of another predicate.
NumericLiteral Literal expression of a numeric value.
ObjectLiteral Literal expression of an Object value.
OrPredicate Predicate representing an "or" clause of sub-predicates.
RangePredicate Predicate instance that evaluates if a value is contained within a bounded range.
XorPredicate Predicate representing an "xor" clause of sub-predicates.
 

Package prefuse.data.expression Description

Classes implementing an SQL-like expression language for filtering and manipulating data. The base type of the language, Expression, represents a calculation over a single tuple at a time. Expressions can be created programatically by instantiating the desired classes of this package, or can be compiled from a textual language with a SQL-like syntax by the ExpressionParser class.



Copyright 2007 Regents of the University of California