|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Expression | |
---|---|
org.josql | |
org.josql.expressions | |
org.josql.functions | |
org.josql.internal | |
org.josql.parser |
Uses of Expression in org.josql |
---|
Methods in org.josql that return Expression | |
---|---|
Expression |
Query.getFrom()
|
Expression |
Query.getHavingClause()
Return the HAVING clause expression. |
Expression |
Query.getWhereClause()
Return the WHERE clause expression. |
Methods in org.josql with parameters of type Expression | |
---|---|
void |
Query.setFrom(Expression exp)
|
void |
Query.setHaving(Expression be)
Set the expression for the HAVING clause. |
void |
Query.setWhere(Expression be)
Set the expression for the WHERE clause. |
Uses of Expression in org.josql.expressions |
---|
Subclasses of Expression in org.josql.expressions | |
---|---|
class |
Accessor
Represents an "accessor" into an object. |
class |
AliasedExpression
Represents an expression that also has an alias. |
class |
AliasedFunction
A function that also has an alias. |
class |
AndOrExpression
Represents either an AND expression or a OR expression. |
class |
ArithmeticExpression
Represents the arithmetic expressions: *, +, /, - and %. |
class |
BetweenExpression
Represents a "BETWEEN x AND y" expression. |
class |
BinaryExpression
Super-class of Expressions that return a binary result. |
class |
BindVariable
This class represents a "bind variable" used within a SQL statement. |
class |
BooleanExpression
This class represents a "boolean" expression, either true or false . |
class |
ConstantExpression
This class represents a constant String or number. |
class |
EqualsExpression
This class represents an "=" or "!=" expression. |
class |
ExpressionList
This class represents a list of expressions used within a SQL statement. |
class |
Function
This class represents a Function that can be "called" in JoSQL. |
class |
GTLTExpression
This class represents one of the following: > - Greater than < - Less than >= - Greater than or equal to <= - Less than or equal to |
class |
InExpression
This class represents in [ NOT ] IN [ LIKE ] [ ALL ] expression. |
class |
IsNullExpression
Represents an "IS NULL" (or "IS NOT NULL") expression. |
class |
LikeExpression
Represents a LHS [ NOT ] [ $ ] LIKE RHS expression. |
class |
NewObjectExpression
|
class |
SaveValue
|
class |
SelectItemExpression
|
class |
SubQueryExpression
|
class |
ValueExpression
|
Fields in org.josql.expressions declared as Expression | |
---|---|
protected Expression |
AliasedExpression.exp
|
protected Expression |
BinaryExpression.left
|
protected Expression |
BinaryExpression.right
|
Methods in org.josql.expressions that return Expression | |
---|---|
Expression |
BetweenExpression.getEnd()
Get the end expression. |
Expression |
SelectItemExpression.getExpression()
|
Expression |
AliasedExpression.getExpression()
Get the expression being aliased. |
Expression |
BinaryExpression.getLeft()
Get the LHS. |
Expression |
BinaryExpression.getRight()
Get the RHS. |
Expression |
BetweenExpression.getStart()
Get the start expression. |
Methods in org.josql.expressions with parameters of type Expression | |
---|---|
void |
ExpressionList.addExpression(Expression expr)
Add an expression to the list. |
void |
NewObjectExpression.addIntoExpression(Expression exp,
String setter)
|
void |
InExpression.addItem(Expression e)
|
void |
SelectItemExpression.setExpression(Expression exp)
|
void |
AliasedExpression.setExpression(Expression exp)
|
void |
BinaryExpression.setLeft(Expression exp)
|
void |
BinaryExpression.setRight(Expression exp)
|
Uses of Expression in org.josql.functions |
---|
Methods in org.josql.functions with parameters of type Expression | |
---|---|
Object |
MiscellaneousFunctions.accessor(Expression oExp,
Expression accExp)
Call the specified accessor on the object. |
Double |
GroupingFunctions.avg(Expression exp)
|
Double |
GroupingFunctions.avg(List allobjs,
Expression exp)
|
Double |
GroupingFunctions.avg(List allobjs,
Expression exp,
String saveValueName)
|
void |
MiscellaneousFunctions.cache(List allobjs,
Expression exp)
|
void |
GroupingFunctions.checkType(Object o,
Class expected,
Expression exp)
|
List |
CollectionFunctions.collect(Expression exp)
|
List |
CollectionFunctions.collect(List allobjs,
Expression exp)
|
List |
CollectionFunctions.collect(List objs,
Expression exp,
String saveValueName)
|
String |
GroupingFunctions.concat(Expression exp)
|
String |
GroupingFunctions.concat(List allobjs,
Expression exp)
|
String |
GroupingFunctions.concat(List allobjs,
Expression exp,
String sep)
|
String |
GroupingFunctions.concat(List allobjs,
Expression exp,
String sep,
String saveValueName)
|
int |
CollectionFunctions.count(Expression exp)
|
int |
CollectionFunctions.count(List allobjs,
Expression exp)
|
int |
CollectionFunctions.count(List objs,
Expression exp,
Object value)
For each of the objects in the objs List get the value from each one using the accessor and compare it to the value parameter. |
Object |
MiscellaneousFunctions.eval(Expression exp)
|
List |
CollectionFunctions.find(List objs,
Expression exp)
Find objects from the List based upon the expression passed in. |
List |
CollectionFunctions.foreach(Expression exp)
|
List |
CollectionFunctions.foreach(Expression listFunction,
Expression exp)
|
List |
CollectionFunctions.foreach(List allobjs,
Expression exp)
|
Object |
CollectionFunctions.get(Map m,
Expression exp)
Get a value from the specified Map. |
Object |
GroupingFunctions.greatest(List allobjs,
Expression exp)
|
Object |
GroupingFunctions.greatest(List allobjs,
Expression exp,
String saveValueName)
|
Object |
GroupingFunctions.greatestObject(List allobjs,
Expression exp)
|
Map |
CollectionFunctions.grp(List objs,
Expression exp)
Group objects from the List based upon the expression passed in. |
Object |
MiscellaneousFunctions.ifThen(Expression ifcond,
Expression thenVal)
|
Object |
MiscellaneousFunctions.ifThenElse(Expression ifcond,
Expression thenVal,
Expression elseVal)
|
Boolean |
MiscellaneousFunctions.instanceOf(Expression obj,
Expression clazz)
Evaluates the type expression to produce a object whose type should be compared against the class gained from evaluation of the clazz expression. |
Object |
GroupingFunctions.least(List allobjs,
Expression exp)
|
Object |
GroupingFunctions.least(List allobjs,
Expression exp,
String saveValueName)
|
Object |
GroupingFunctions.leastObject(List allobjs,
Expression exp)
|
Map |
CollectionFunctions.map(List objs,
Expression exp)
Create a map of the objects passed in, the key will be the object in the list and the value will be the result of calling the expression on the object. |
Map |
CollectionFunctions.map(List objs,
Expression keyExp,
Expression valExp)
Create a map of the objects passed in, the key will be the result of calling the keyExp expression on the object in the list and the value will be the result of calling the valExp expression on the object. |
Object |
GroupingFunctions.max(Expression exp)
|
Object |
GroupingFunctions.max(List allobjs,
Expression exp)
|
Object |
GroupingFunctions.max(List allobjs,
Expression exp,
String saveValueName)
|
Object |
GroupingFunctions.maxObject(Expression exp)
|
Object |
GroupingFunctions.maxObject(List allobjs,
Expression exp)
|
Object |
GroupingFunctions.min(Expression exp)
|
Object |
GroupingFunctions.min(List allobjs,
Expression exp)
|
Object |
GroupingFunctions.min(List allobjs,
Expression exp,
String saveValueName)
|
Object |
GroupingFunctions.minObject(Expression exp)
|
Object |
GroupingFunctions.minObject(List allobjs,
Expression exp)
|
Map |
GroupingFunctions.occurrence(List objs,
Expression exp)
A function that will take each item from the passed in List and determine a "count" for each item, i.e. |
Map |
GroupingFunctions.occurrence(List objs,
Expression exp,
Expression limitExp)
This is the same as GroupingFunctions.occurrence(List,Expression) except that the
second expression should evaluate to a number that will be used to limit the
results, the occurrence count must be greater than or equal to the value from
the expression. |
Double |
GroupingFunctions.sum(Expression exp)
|
Double |
GroupingFunctions.sum(List objs,
Expression exp)
|
Double |
GroupingFunctions.sum(List allobjs,
Expression exp,
String saveValueName)
|
List |
CollectionFunctions.toList(Expression exp)
|
List |
CollectionFunctions.toList(List allobjs,
Expression exp)
|
List |
CollectionFunctions.toList(List allobjs,
Expression exp,
String saveValueName)
|
List |
CollectionFunctions.unique(Expression exp)
|
List |
CollectionFunctions.unique(List objs,
Expression exp)
|
Uses of Expression in org.josql.internal |
---|
Methods in org.josql.internal that return Expression | |
---|---|
Expression |
OrderBy.getExpression()
|
Methods in org.josql.internal with parameters of type Expression | |
---|---|
void |
Grouper.addExpression(Expression e)
|
void |
ListExpressionComparator.addSortItem(Expression exp,
int dir)
|
void |
GroupByExpressionComparator.addSortItem(Expression exp,
int ind,
int dir)
|
void |
OrderBy.setExpression(Expression exp)
|
Uses of Expression in org.josql.parser |
---|
Methods in org.josql.parser that return Expression | |
---|---|
Expression |
JoSQLParser.AdditiveExpression()
|
Expression |
JoSQLParser.AndExpression()
|
Expression |
JoSQLParser.Condition()
|
Expression |
JoSQLParser.ExpressionList()
|
Expression |
JoSQLParser.From()
|
Expression |
JoSQLParser.Having()
|
Expression |
JoSQLParser.MultiplicativeExpression()
|
Expression |
JoSQLParser.OrExpression()
|
Expression |
JoSQLParser.PrimaryExpression()
|
Expression |
JoSQLParser.RegularCondition()
|
Expression |
JoSQLParser.SimpleExpression()
|
Expression |
JoSQLParser.SQLCondition()
|
Expression |
JoSQLParser.WhereClause()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |