Uses of Class
org.josql.QueryExecutionException

Packages that use QueryExecutionException
org.josql   
org.josql.contrib   
org.josql.expressions   
org.josql.filters   
org.josql.functions   
org.josql.functions.regexp   
org.josql.incubator   
org.josql.internal   
org.josql.utils   
 

Uses of QueryExecutionException in org.josql
 

Methods in org.josql that throw QueryExecutionException
 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.
 

Uses of QueryExecutionException in org.josql.contrib
 

Methods in org.josql.contrib that throw QueryExecutionException
 QueryResults JoSQLSwingTableModel.execute(List l)
          Exectute the query and return the results.
 QueryResults JoSQLJRDataSource.executeQuery(List l)
          Exectute the query and return the results.
 QueryResults JoSQLFreeChartXYDataset.executeQuery(List l)
          Exectute the query and return the results.
 QueryResults JoSQLFreeChartPieDataset.executeQuery(List l)
          Exectute the query and return the results.
 QueryResults JoSQLFreeChartCategoryDataset.executeQuery(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.
 

Uses of QueryExecutionException in org.josql.expressions
 

Methods in org.josql.expressions that throw QueryExecutionException
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)
          Return whether this expression evaluates to true.
 boolean ArithmeticExpression.isTrue(Object o, Query q)
          Determine whether this arithmetic expression evaluates to true.
 boolean AndOrExpression.isTrue(Object o, Query q)
          Evaulates the expression and returns true if the expression evaulates to true.
 boolean AliasedExpression.isTrue(Object o, Query q)
          Indicate whether the expression evaluates to true.
 boolean Accessor.isTrue(Object o, Query q)
           
 

Uses of QueryExecutionException in org.josql.filters
 

Methods in org.josql.filters that throw QueryExecutionException
 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.
 

Uses of QueryExecutionException in org.josql.functions
 

Methods in org.josql.functions that throw QueryExecutionException
 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, com.gentlyweb.utils.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)
          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)
           
 List CollectionFunctions.foreach(List objs, String exp)
          Given a list of objects, execute the expression against each one and return those objects that return a true value for the expression.
 String FormattingFunctions.formatDate(Object o)
           
 String FormattingFunctions.formatDate(Query q, Object o, com.gentlyweb.utils.Getter g, String spec, String saveValueName)
           
 String FormattingFunctions.formatDateTime(Object o)
           
 String FormattingFunctions.formatNumber(Object n)
           
 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)
           
 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)
          grep through a file, line by line, and determine what matches there are to the nominated String.
 List StringFunctions.grep(File f, String s, boolean ignoreCase)
          grep through a file, line by line, and determine what matches there are to the nominated String.
 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)
           
 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.
 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.
 boolean StringFunctions.regexp(Object o, String re)
          Match a regular expression against the object passed in.
 boolean StringFunctions.regexp(Object o, String re, String instName)
          Match a regular expression against the object passed in using the specified regular expression library, pre-defined library names can be found in: RegExpFactory.
 List StringFunctions.rgrep(File f, String regexp)
          grep through a file, line by line, and determine what matches there are to the nominated regular expression.
 List StringFunctions.rgrep(File f, String regexp, String instName)
          grep through a file, line by line, and determine what matches there are to the nominated regular expression using the specified regular expression implementation.
 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)
          This function allows you to specify your own accessor as a string that will be used to access the relevant value for each of the objects in the objs List.
 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)
           
 

Uses of QueryExecutionException in org.josql.functions.regexp
 

Methods in org.josql.functions.regexp that throw QueryExecutionException
static RegExp RegExpFactory.getDefaultInstance()
           
static RegExp RegExpFactory.getInstance(String type)
           
 void StandardJavaRegExpWrapper.init()
           
 void RegExp.init()
           
 void OroApacheRegExpWrapper.init()
           
 void GNURegExpWrapper.init()
           
 void ApacheRegExpWrapper.init()
           
 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)
           
 

Uses of QueryExecutionException in org.josql.incubator
 

Methods in org.josql.incubator that throw QueryExecutionException
 boolean FilteredArrayList.canAdd(Object o)
           
 

Uses of QueryExecutionException in org.josql.internal
 

Methods in org.josql.internal that throw QueryExecutionException
 List Limit.getSubList(List objs, Query q)
           
 Map Grouper.group(List objs)
           
 

Uses of QueryExecutionException in org.josql.utils
 

Methods in org.josql.utils that throw QueryExecutionException
 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 © 2008 Gary Bentley. All Rights Reserved.