Modifier and Type | Method and Description |
---|---|
Query |
Query.getParent()
Get the parent query.
|
Query |
Query.getTopLevelQuery()
Get the top level query if "this" is a sub-query, the query chain is traversed until
the top level query is found, i.e.
|
Modifier and Type | Method and Description |
---|---|
void |
Query.setParent(Query q)
Set the parent query.
|
Modifier and Type | Class and Description |
---|---|
class |
JoSQLAntFileSelector
A custom file selector for use with Ant.
|
class |
JoSQLFreeChartCategoryDataset |
class |
JoSQLFreeChartPieDataset |
class |
JoSQLFreeChartXYDataset |
class |
JoSQLJRDataSource
A data source suitable for use with JasperReports.
|
class |
JoSQLSwingTableModel
A table model suitable for use with Swing JTable.
|
Modifier and Type | Method and Description |
---|---|
Query |
BindVariableChangedEvent.getQuery() |
Query |
SaveValueChangedEvent.getQuery() |
Constructor and Description |
---|
BindVariableChangedEvent(Query q,
String name,
Object from,
Object to) |
SaveValueChangedEvent(Query q,
String name,
Object from,
Object to) |
Modifier and Type | Method and Description |
---|---|
Query |
SubQueryExpression.getQuery() |
Modifier and Type | Method and Description |
---|---|
Object |
Accessor.evaluate(Object o,
Query q) |
Object |
ArithmeticExpression.evaluate(Object o,
Query q)
Evaulate this expression.
|
Object |
BindVariable.evaluate(Object o,
Query q)
Evaluates the value of this bind variable.
|
Object |
BooleanExpression.evaluate(Object o,
Query q)
Get the value of this boolean.
|
Object |
ConstantExpression.evaluate(Object o,
Query q)
Get the value of this constant.
|
Object |
ExpressionList.evaluate(Object o,
Query q)
Evaluates the value of this expression list.
|
Object |
Function.evaluate(Object o,
Query q)
Evaluate this function on the current object.
|
Object |
NewObjectExpression.evaluate(Object o,
Query q) |
Object |
SaveValue.evaluate(Object o,
Query q) |
Object |
SubQueryExpression.evaluate(Object o,
Query q) |
abstract Object |
ValueExpression.evaluate(Object o,
Query q) |
Class |
Accessor.getExpectedReturnType(Query q) |
Class |
AliasedExpression.getExpectedReturnType(Query q)
Get the expected return type for the expression.
|
Class |
ArithmeticExpression.getExpectedReturnType(Query q)
Return the expected return type.
|
Class |
BinaryExpression.getExpectedReturnType(Query q)
Return the expected return type from this expression.
|
Class |
BindVariable.getExpectedReturnType(Query q)
Get the expected return type.
|
Class |
BooleanExpression.getExpectedReturnType(Query q)
Get the expected return type.
|
Class |
ConstantExpression.getExpectedReturnType(Query q)
Get the expected return type.
|
abstract Class |
Expression.getExpectedReturnType(Query q)
Return the class of the object that "should" be returned from a call to the:
Expression.getValue(Object,Query) method. |
Class |
ExpressionList.getExpectedReturnType(Query q)
Get the expected return type, which is
List . |
Class |
Function.getExpectedReturnType(Query q)
Get the expected return type from the function.
|
Class |
NewObjectExpression.getExpectedReturnType(Query q) |
Class |
SaveValue.getExpectedReturnType(Query q) |
Class |
SelectItemExpression.getExpectedReturnType(Query q) |
Class |
SubQueryExpression.getExpectedReturnType(Query q) |
Object |
AliasedExpression.getValue(Object o,
Query q)
Get the value for this expression.
|
Object |
BinaryExpression.getValue(Object o,
Query q)
Get the value of this expression.
|
Object |
BindVariable.getValue(Object o,
Query q)
Gets the value of this bind variable.
|
Object |
BooleanExpression.getValue(Object o,
Query q)
Get the value of this boolean.
|
Object |
ConstantExpression.getValue(Object o,
Query q)
Get the value of this constant.
|
abstract Object |
Expression.getValue(Object o,
Query q)
Get the value for this expression based upon the object passed in.
|
Object |
ExpressionList.getValue(Object o,
Query q)
Gets the value of the expressions, this will return a list of the values for
each of the expressions in the list.
|
Object |
NewObjectExpression.getValue(Object o,
Query q) |
Object |
SaveValue.getValue(Object o,
Query q) |
Object |
SelectItemExpression.getValue(Object o,
Query q) |
Object |
ValueExpression.getValue(Object o,
Query q) |
boolean |
Accessor.hasFixedResult(Query q) |
boolean |
AliasedExpression.hasFixedResult(Query q)
Return whether this expression has a fixed result.
|
boolean |
ArithmeticExpression.hasFixedResult(Query q)
Return whether this expression has a fixed result.
|
boolean |
BinaryExpression.hasFixedResult(Query q)
Return whether this expression, and more specifically the left and right parts of
the expression return a fixed result.
|
boolean |
BindVariable.hasFixedResult(Query q)
Will always return false since a bind variable cannot be fixed.
|
boolean |
BooleanExpression.hasFixedResult(Query q)
Always returns
true since it represents a constant. |
boolean |
ConstantExpression.hasFixedResult(Query q)
Always returns
true , well duh! |
abstract boolean |
Expression.hasFixedResult(Query q)
Return whether the expression will evaluate to a fixed/constant result.
|
boolean |
ExpressionList.hasFixedResult(Query q)
Returns
true if this expression list is empty (no expressions) or
if ALL of the expressions have a fixed result. |
boolean |
Function.hasFixedResult(Query q)
Return whether the function will return a fixed result, this only
occurs iff all the arguments to the function also return a fixed result.
|
boolean |
NewObjectExpression.hasFixedResult(Query q) |
boolean |
SaveValue.hasFixedResult(Query q) |
boolean |
SelectItemExpression.hasFixedResult(Query q) |
boolean |
SubQueryExpression.hasFixedResult(Query q) |
void |
Accessor.init(Query q) |
void |
AliasedExpression.init(Query q)
Init this expression.
|
void |
ArithmeticExpression.init(Query q) |
void |
BetweenExpression.init(Query q)
Inits the expression.
|
void |
BinaryExpression.init(Query q)
Init the expression.
|
void |
BindVariable.init(Query q)
Initialises this bind variable.
|
void |
BooleanExpression.init(Query q)
Init this expression.
|
void |
ConstantExpression.init(Query q)
Inits the expression, in reality does nothing here, can't init a constant!
|
abstract void |
Expression.init(Query q)
Perform the necessary initialisation for this expression.
|
void |
ExpressionList.init(Query q)
Initialises this expression list, each expression in the list is inited.
|
void |
Function.init(Query q)
This is a complex method that will initialise the function.
|
void |
InExpression.init(Query q)
Initialise the IN expression.
|
void |
LikeExpression.init(Query q)
Init the expression, we over-ride here so that if the RHS is fixed we can
init the pattern that will be used to match the expression.
|
void |
NewObjectExpression.init(Query q) |
void |
SaveValue.init(Query q) |
void |
SelectItemExpression.init(Query q) |
void |
SubQueryExpression.init(Query q) |
boolean |
Accessor.isTrue(Object o,
Query q) |
boolean |
AliasedExpression.isTrue(Object o,
Query q)
Indicate whether the expression evaluates to
true . |
boolean |
AndOrExpression.isTrue(Object o,
Query q)
Evaulates the expression and returns true if the expression evaulates to
true . |
boolean |
ArithmeticExpression.isTrue(Object o,
Query q)
Determine whether this arithmetic expression evaluates to true.
|
boolean |
BetweenExpression.isTrue(Object o,
Query q)
Return whether this expression evaluates to
true . |
boolean |
BindVariable.isTrue(Object o,
Query q)
Returns whether the value of this bind variable represents a
true
value. |
boolean |
BooleanExpression.isTrue(Object o,
Query q)
Returns whether this expression is
true or false . |
boolean |
ConstantExpression.isTrue(Object o,
Query q)
Returns whether the value of this constant represents a
true
value. |
boolean |
EqualsExpression.isTrue(Object o,
Query q)
Return whether this expression evaluates to
true . |
abstract boolean |
Expression.isTrue(Object o,
Query q)
This method allows ANY expression (including those that extend
ValueExpression )
to be used in the WHERE and HAVING clauses but ensuring that a boolean value is
available for every expression. |
boolean |
ExpressionList.isTrue(Object o,
Query q)
Returns
true if one of the expression values is non-null. |
boolean |
Function.isTrue(Object o,
Query q)
Return whether the evaluation of this function (see:
Function.evaluate(Object,Query) )
will result in a true value. |
boolean |
GTLTExpression.isTrue(Object o,
Query q)
Return whether this expression evaluates to true.
|
boolean |
InExpression.isTrue(Object o,
Query q)
Return whether this expression evaulates to
true . |
boolean |
IsNullExpression.isTrue(Object o,
Query q)
Determine whether the LHS of this expression is or is not null.
|
boolean |
LikeExpression.isTrue(Object o,
Query q)
Returns whether the LHS is "LIKE" the RHS.
|
boolean |
NewObjectExpression.isTrue(Object o,
Query q)
Always return
true because a new object is being created and thus
will be unequal to null. |
boolean |
SaveValue.isTrue(Object o,
Query q) |
boolean |
SelectItemExpression.isTrue(Object o,
Query q) |
boolean |
SubQueryExpression.isTrue(Object o,
Query q) |
Constructor and Description |
---|
SubQueryExpression(Query q) |
Modifier and Type | Field and Description |
---|---|
protected Query |
AbstractJoSQLFilter.q |
Modifier and Type | Method and Description |
---|---|
Query |
AbstractJoSQLFilter.getQuery()
Get the Query we are using to process objects.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractJoSQLFilter.setQuery(Query q)
Set a new Query object for use in this filter.
|
Constructor and Description |
---|
AbstractJoSQLFilter(Query q)
Init this file filter with the query already built and parsed.
|
DefaultObjectFilter(Query q)
Init this file filter with the query already built and parsed.
|
JoSQLFileFilter(Query q)
Init this file filter with the query already built and parsed.
|
JoSQLLogRecordFilter(Query q)
Init this filter with the query already built and parsed.
|
JoSQLSwingFileFilter(Query q)
Init this file filter with the query already built and parsed.
|
StackTraceElementFilter(Query q)
Init this file filter with the query already built and parsed.
|
Modifier and Type | Field and Description |
---|---|
protected Query |
AbstractFunctionHandler.q |
Modifier and Type | Method and Description |
---|---|
String |
FormattingFunctions.formatDate(Query q,
Object o,
com.gentlyweb.utils.Getter g,
String spec,
String saveValueName) |
String |
FormattingFunctions.formatNumber(Query q,
Object o,
com.gentlyweb.utils.Getter g,
String spec,
String saveValueName) |
String |
FormattingFunctions.formatNumber(Query q,
Object o,
String spec,
String saveValueName) |
void |
AbstractFunctionHandler.setQuery(Query q)
Set the Query object that the function handler should use.
|
void |
FunctionHandler.setQuery(Query q)
Set the Query object that the function handler should use.
|
Modifier and Type | Method and Description |
---|---|
RegExp |
RegExpFactory.getDefaultInstance(Query q) |
RegExp |
RegExpFactory.getInstance(String type,
Query q) |
void |
ApacheRegExpWrapper.init(Query q) |
void |
GNURegExpWrapper.init(Query q) |
void |
OroApacheRegExpWrapper.init(Query q) |
void |
RegExp.init(Query q) |
void |
StandardJavaRegExpWrapper.init(Query q) |
abstract boolean |
AbstractRegExpWrapper.isAvailable(Query q) |
boolean |
ApacheRegExpWrapper.isAvailable(Query q) |
boolean |
GNURegExpWrapper.isAvailable(Query q) |
boolean |
OroApacheRegExpWrapper.isAvailable(Query q) |
boolean |
StandardJavaRegExpWrapper.isAvailable(Query q) |
Constructor and Description |
---|
RegExpFactory(Query q) |
Modifier and Type | Method and Description |
---|---|
Query |
FilteredArrayList.getQuery() |
Modifier and Type | Method and Description |
---|---|
List |
FilteredArrayList.cloneList(Query q) |
FilteredArrayList |
FilteredArrayList.cloneSelf(Query q) |
Constructor and Description |
---|
FilteredArrayList(Query q) |
FilteredArrayList(Query q,
Collection c) |
Modifier and Type | Method and Description |
---|---|
List |
Limit.getSubList(List objs,
Query q) |
void |
Limit.init(Query q) |
Constructor and Description |
---|
GroupByExpressionComparator(Query q,
Comparator userComparator,
boolean caching) |
Grouper(Query q) |
ListExpressionComparator(Query q,
Comparator userComparator,
boolean caching) |
Modifier and Type | Method and Description |
---|---|
void |
JoSQLParser.parseQuery(Query q) |
void |
JoSQLParser.Query(Query q) |
SelectItemExpression |
JoSQLParser.SelectItem(Query q) |
List |
JoSQLParser.SelectItemsList(Query q) |
Modifier and Type | Method and Description |
---|---|
Query |
ExpressionEvaluator.getQuery()
Get the query associated with the expression, use this to setup
bind variables, function handlers and so on, which of course must
be setup prior to evaluating the expression.
|
Query |
JoSQLComparator.getQuery()
Get the Query we are using to process objects.
|
Modifier and Type | Method and Description |
---|---|
void |
JoSQLComparator.setQuery(Query q)
Set a new Query object for use in this filter.
|
Constructor and Description |
---|
JoSQLComparator(Query q)
Init this file filter with the query already built and parsed.
|