| 限定符和类型 | 方法和说明 |
|---|---|
void |
Query.doExecuteOn(List l,
String t)
Execute all the expressions for the specified type, either:
Query.ALL or:
Query.RESULTS. |
QueryResults |
Query.execute(Collection objs)
Execute this query on the specified objects.
|
QueryResults |
Query.execute(Iterator iter)
Execute this query on the specified objects provided by the iterator.
|
QueryResults |
Query.execute(List objs)
Execute this query on the specified objects.
|
boolean |
Query.isWhereTrue(Object o)
A helper method that will evaluate the WHERE clause for the object passed in.
|
static QueryResults |
Query.parseAndExec(String query,
List objs) |
QueryResults |
Query.reorder(List objs,
SortedMap dirs)
Re-order the objects according to the columns supplied in the dirs Map.
|
QueryResults |
Query.reorder(List objs,
String orderBys)
Allows the re-ordering of the results via a textual representation of the order bys.
|
| 限定符和类型 | 方法和说明 |
|---|---|
QueryResults |
JoSQLSwingTableModel.execute(List l)
Exectute the query and return the results.
|
QueryResults |
JoSQLSwingTableModel.reorder(List objs,
SortedMap dirs)
Re-order the columns according to the column indices provided in dirs.
|
QueryResults |
JoSQLSwingTableModel.reorder(List objs,
String orderBys)
Re-order the columns according to the string representation provided by orderBys.
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract Object |
ValueExpression.evaluate(Object o,
Query q) |
Object |
SubQueryExpression.evaluate(Object o,
Query q) |
Object |
SaveValue.evaluate(Object o,
Query q) |
Object |
NewObjectExpression.evaluate(Object o,
Query q) |
Object |
Function.evaluate(Object o,
Query q)
Evaluate this function on the current object.
|
Object |
ExpressionList.evaluate(Object o,
Query q)
Evaluates the value of this expression list.
|
Object |
BindVariable.evaluate(Object o,
Query q)
Evaluates the value of this bind variable.
|
Object |
ArithmeticExpression.evaluate(Object o,
Query q)
Evaulate this expression.
|
Object |
Accessor.evaluate(Object o,
Query q) |
Object |
ValueExpression.getValue(Object o,
Query q) |
Object |
SelectItemExpression.getValue(Object o,
Query q) |
Object |
SaveValue.getValue(Object o,
Query q) |
Object |
NewObjectExpression.getValue(Object o,
Query q) |
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.
|
abstract Object |
Expression.getValue(Object o,
Query q)
Get the value for this expression based upon the object passed in.
|
Object |
BindVariable.getValue(Object o,
Query q)
Gets the value of this bind variable.
|
Object |
BinaryExpression.getValue(Object o,
Query q)
Get the value of this expression.
|
Object |
AliasedExpression.getValue(Object o,
Query q)
Get the value for this expression.
|
boolean |
SubQueryExpression.isTrue(Object o,
Query q) |
boolean |
SelectItemExpression.isTrue(Object o,
Query q) |
boolean |
SaveValue.isTrue(Object o,
Query q) |
boolean |
LikeExpression.isTrue(Object o,
Query q)
Returns whether the LHS is "LIKE" the RHS.
|
boolean |
IsNullExpression.isTrue(Object o,
Query q)
Determine whether the LHS of this expression is or is not null.
|
boolean |
InExpression.isTrue(Object o,
Query q)
Return whether this expression evaulates to
true. |
boolean |
GTLTExpression.isTrue(Object o,
Query q)
Return whether this expression evaluates to true.
|
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 |
ExpressionList.isTrue(Object o,
Query q)
Returns
true if one of the expression values is non-null. |
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 |
EqualsExpression.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 |
BetweenExpression.isTrue(Object o,
Query q) |
boolean |
ArithmeticExpression.isTrue(Object o,
Query q)
Determine whether this arithmetic expression evaluates to true.
|
boolean |
AndOrExpression.isTrue(Object o,
Query q) |
boolean |
AliasedExpression.isTrue(Object o,
Query q)
Indicate whether the expression evaluates to
true. |
boolean |
Accessor.isTrue(Object o,
Query q) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
StackTraceElementFilter.accept(StackTraceElement s)
Returns
true if the where clause evaluates to true for the
passed in StackTraceElement. |
void |
StackTraceElementFilter.filter(Throwable t)
Filter the throwable, but will also filter any causes (right up the cause chain)
as well.
|
void |
StackTraceElementFilter.filter(Throwable t,
boolean filterCause)
Filter the throwable, but will also filter any causes (right up the cause chain)
as well if the filterCause boolean is set to
true. |
StackTraceElement[] |
StackTraceElementFilter.filterStackTrace(StackTraceElement[] s)
Filter the specified stack trace and return the new stack trace
that can then be set in the throwable.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
MiscellaneousFunctions.cache(List allobjs,
Getter get) |
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) |
Object |
MiscellaneousFunctions.eval(Expression exp) |
List |
CollectionFunctions.find(List objs,
Expression exp) |
List |
CollectionFunctions.foreach(Expression exp) |
List |
CollectionFunctions.foreach(Expression listFunction,
Expression exp) |
List |
CollectionFunctions.foreach(List allobjs,
Expression exp) |
List |
CollectionFunctions.foreach(List objs,
String exp) |
String |
FormattingFunctions.formatDate(Object o) |
String |
FormattingFunctions.formatDate(Query q,
Object o,
Getter g,
String spec,
String saveValueName) |
String |
FormattingFunctions.formatDateTime(Object o) |
String |
FormattingFunctions.formatNumber(Object n) |
String |
FormattingFunctions.formatNumber(Query q,
Object o,
Getter g,
String spec,
String saveValueName) |
String |
FormattingFunctions.formatNumber(Query q,
Object o,
String spec,
String saveValueName) |
String |
FormattingFunctions.formatTimeDuration(Object o) |
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) |
List |
StringFunctions.grep(File f,
String s) |
List |
StringFunctions.grep(File f,
String s,
boolean ignoreCase) |
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) |
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) |
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) |
Map.Entry |
GroupingFunctions.minEntry(Object m,
String type) |
Object |
GroupingFunctions.minObject(Expression exp) |
Object |
GroupingFunctions.minObject(List allobjs,
Expression exp) |
Map |
GroupingFunctions.occurrence(List objs)
A function that will take each item from the passed in List and
determine a "count" for each item, i.e. how many times each item appears.
|
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. how many times each item appears.
|
Map |
GroupingFunctions.occurrence(List objs,
Expression exp,
Expression limitExp) |
boolean |
StringFunctions.regexp(Object o,
String re) |
boolean |
StringFunctions.regexp(Object o,
String re,
String instName) |
List |
StringFunctions.rgrep(File f,
String regexp) |
List |
StringFunctions.rgrep(File f,
String regexp,
String instName) |
Double |
GroupingFunctions.sum(Expression exp) |
Double |
GroupingFunctions.sum(List objs,
Expression exp) |
Double |
GroupingFunctions.sum(List allobjs,
Expression exp,
String saveValueName) |
Double |
GroupingFunctions.sum(List objs,
String acc) |
int |
ConversionFunctions.timeField(Object d,
String type)
This method (function) will return the associated field from a
Calendar instance. |
Date |
ConversionFunctions.to_date(Object value) |
Date |
ConversionFunctions.to_date(String value,
String spec) |
Date |
ConversionFunctions.toDate(Object value) |
Date |
ConversionFunctions.toDate(String value,
String spec) |
Long |
ConversionFunctions.toDateMillis(String value,
String spec) |
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
RegExp |
RegExpFactory.getDefaultInstance(Query q) |
RegExp |
RegExpFactory.getInstance(String type,
Query q) |
void |
StandardJavaRegExpWrapper.init(Query q) |
void |
RegExp.init(Query q) |
void |
OroApacheRegExpWrapper.init(Query q) |
void |
GNURegExpWrapper.init(Query q) |
void |
ApacheRegExpWrapper.init(Query q) |
boolean |
StandardJavaRegExpWrapper.match(String pattern,
String val) |
boolean |
RegExp.match(String pattern,
String val) |
boolean |
OroApacheRegExpWrapper.match(String pattern,
String val) |
boolean |
GNURegExpWrapper.match(String pattern,
String val) |
boolean |
ApacheRegExpWrapper.match(String pattern,
String val) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
FilteredArrayList.canAdd(Object o) |
| 限定符和类型 | 方法和说明 |
|---|---|
List |
Limit.getSubList(List objs,
Query q) |
Map |
Grouper.group(List objs) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
JoSQLComparator.doExecuteOn(List l)
Execute the EXECUTE ON ALL expressions.
|
Object |
ExpressionEvaluator.getValue(Object o)
Evaluate the expression against the object passed in and return the
value.
|
static Object |
ExpressionEvaluator.getValue(String exp,
Object o)
Evaluate the expression against the object passed in and return the
value.
|
List |
ExpressionEvaluator.getValues(List l)
Evaluate the expression against the list of objects passed in and
return the value.
|
static List |
ExpressionEvaluator.getValues(String exp,
List l)
Evaluate the expression against the list of objects passed in and
return the value.
|
boolean |
ExpressionEvaluator.isTrue(Object o)
Evaluate the expression against the object passed in.
|
static boolean |
ExpressionEvaluator.isTrue(String exp,
Object o)
Evaluate the expression against the object passed in.
|
Copyright © 2021. All rights reserved.