Uses of Class
org.josql.Query

Packages that use Query
org.josql   
org.josql.contrib   
org.josql.events   
org.josql.expressions   
org.josql.filters   
org.josql.functions   
org.josql.incubator   
org.josql.internal   
org.josql.parser   
org.josql.utils   
 

Uses of Query in org.josql
 

Methods in org.josql that return Query
 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.
 

Methods in org.josql with parameters of type Query
 void Query.setParent(Query q)
          Set the parent query.
 

Uses of Query in org.josql.contrib
 

Subclasses of Query in org.josql.contrib
 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.
 

Uses of Query in org.josql.events
 

Methods in org.josql.events that return Query
 Query SaveValueChangedEvent.getQuery()
           
 Query BindVariableChangedEvent.getQuery()
           
 

Constructors in org.josql.events with parameters of type Query
BindVariableChangedEvent(Query q, String name, Object from, Object to)
           
SaveValueChangedEvent(Query q, String name, Object from, Object to)
           
 

Uses of Query in org.josql.expressions
 

Methods in org.josql.expressions that return Query
 Query SubQueryExpression.getQuery()
           
 

Methods in org.josql.expressions with parameters of type Query
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 ConstantExpression.evaluate(Object o, Query q)
          Get the value of this constant.
 Object BooleanExpression.evaluate(Object o, Query q)
          Get the value of this boolean.
 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)
           
 Class SubQueryExpression.getExpectedReturnType(Query q)
           
 Class SelectItemExpression.getExpectedReturnType(Query q)
           
 Class SaveValue.getExpectedReturnType(Query q)
           
 Class NewObjectExpression.getExpectedReturnType(Query q)
           
 Class Function.getExpectedReturnType(Query q)
          Get the expected return type from the function.
 Class ExpressionList.getExpectedReturnType(Query q)
          Get the expected return type, which is List.
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 ConstantExpression.getExpectedReturnType(Query q)
          Get the expected return type.
 Class BooleanExpression.getExpectedReturnType(Query q)
          Get the expected return type.
 Class BindVariable.getExpectedReturnType(Query q)
          Get the expected return type.
 Class BinaryExpression.getExpectedReturnType(Query q)
          Return the expected return type from this expression.
 Class ArithmeticExpression.getExpectedReturnType(Query q)
          Return the expected return type.
 Class AliasedExpression.getExpectedReturnType(Query q)
          Get the expected return type for the expression.
 Class Accessor.getExpectedReturnType(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 ConstantExpression.getValue(Object o, Query q)
          Get the value of this constant.
 Object BooleanExpression.getValue(Object o, Query q)
          Get the value of this boolean.
 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.hasFixedResult(Query q)
           
 boolean SelectItemExpression.hasFixedResult(Query q)
           
 boolean SaveValue.hasFixedResult(Query q)
           
 boolean NewObjectExpression.hasFixedResult(Query q)
           
 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 ExpressionList.hasFixedResult(Query q)
          Returns true if this expression list is empty (no expressions) or if ALL of the expressions have a fixed result.
abstract  boolean Expression.hasFixedResult(Query q)
          Return whether the expression will evaluate to a fixed/constant result.
 boolean ConstantExpression.hasFixedResult(Query q)
          Always returns true, well duh!
 boolean BooleanExpression.hasFixedResult(Query q)
          Always returns true since it represents a constant.
 boolean BindVariable.hasFixedResult(Query q)
          Will always return false since a bind variable cannot be fixed.
 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 ArithmeticExpression.hasFixedResult(Query q)
          Return whether this expression has a fixed result.
 boolean AliasedExpression.hasFixedResult(Query q)
          Return whether this expression has a fixed result.
 boolean Accessor.hasFixedResult(Query q)
           
 void SubQueryExpression.init(Query q)
           
 void SelectItemExpression.init(Query q)
           
 void SaveValue.init(Query q)
           
 void NewObjectExpression.init(Query q)
           
 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 InExpression.init(Query q)
          Initialise the IN expression.
 void Function.init(Query q)
          This is a complex method that will initialise the function.
 void ExpressionList.init(Query q)
          Initialises this expression list, each expression in the list is inited.
abstract  void Expression.init(Query q)
          Perform the necessary initialisation for this expression.
 void ConstantExpression.init(Query q)
          Inits the expression, in reality does nothing here, can't init a constant!
 void BooleanExpression.init(Query q)
          Init this expression.
 void BindVariable.init(Query q)
          Initialises this bind variable.
 void BinaryExpression.init(Query q)
          Init the expression.
 void BetweenExpression.init(Query q)
          Inits the expression.
 void ArithmeticExpression.init(Query q)
           
 void AliasedExpression.init(Query q)
          Init this expression.
 void Accessor.init(Query q)
           
 boolean SubQueryExpression.isTrue(Object o, Query q)
           
 boolean SelectItemExpression.isTrue(Object o, Query q)
           
 boolean SaveValue.isTrue(Object o, Query q)
           
 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 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 ConstantExpression.isTrue(Object o, Query q)
          Returns whether the value of this constant represents a true value.
 boolean BooleanExpression.isTrue(Object o, Query q)
          Returns whether this expression is true or false.
 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)
           
 

Constructors in org.josql.expressions with parameters of type Query
SubQueryExpression(Query q)
           
 

Uses of Query in org.josql.filters
 

Fields in org.josql.filters declared as Query
protected  Query AbstractJoSQLFilter.q
           
 

Methods in org.josql.filters that return Query
 Query AbstractJoSQLFilter.getQuery()
          Get the Query we are using to process objects.
 

Methods in org.josql.filters with parameters of type Query
 void AbstractJoSQLFilter.setQuery(Query q)
          Set a new Query object for use in this filter.
 

Constructors in org.josql.filters with parameters of type Query
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.
 

Uses of Query in org.josql.functions
 

Fields in org.josql.functions declared as Query
protected  Query AbstractFunctionHandler.q
           
 

Methods in org.josql.functions with parameters of type Query
 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 FunctionHandler.setQuery(Query q)
          Set the Query object that the function handler should use.
 void AbstractFunctionHandler.setQuery(Query q)
          Set the Query object that the function handler should use.
 

Uses of Query in org.josql.incubator
 

Methods in org.josql.incubator that return Query
 Query FilteredArrayList.getQuery()
           
 

Methods in org.josql.incubator with parameters of type Query
 List FilteredArrayList.cloneList(Query q)
           
 FilteredArrayList FilteredArrayList.cloneSelf(Query q)
           
 

Constructors in org.josql.incubator with parameters of type Query
FilteredArrayList(Query q)
           
FilteredArrayList(Query q, Collection c)
           
 

Uses of Query in org.josql.internal
 

Methods in org.josql.internal with parameters of type Query
 List Limit.getSubList(List objs, Query q)
           
 void Limit.init(Query q)
           
 

Constructors in org.josql.internal with parameters of type Query
GroupByExpressionComparator(Query q, boolean caching)
           
Grouper(Query q)
           
ListExpressionComparator(Query q, boolean caching)
           
 

Uses of Query in org.josql.parser
 

Methods in org.josql.parser with parameters of type Query
 void JoSQLParser.parseQuery(Query q)
           
 void JoSQLParser.Query(Query q)
           
 SelectItemExpression JoSQLParser.SelectItem(Query q)
           
 List JoSQLParser.SelectItemsList(Query q)
           
 

Uses of Query in org.josql.utils
 

Methods in org.josql.utils that return Query
 Query JoSQLComparator.getQuery()
          Get the Query we are using to process objects.
 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.
 

Methods in org.josql.utils with parameters of type Query
 void JoSQLComparator.setQuery(Query q)
          Set a new Query object for use in this filter.
 

Constructors in org.josql.utils with parameters of type Query
JoSQLComparator(Query q)
          Init this file filter with the query already built and parsed.
 



  Copyright © 2008 Gary Bentley. All Rights Reserved.