Uses of Class
org.eclipse.persistence.expressions.Expression
-
-
Uses of Expression in org.eclipse.persistence.descriptors
Fields in org.eclipse.persistence.descriptors declared as Expression Modifier and Type Field Description protected ExpressionDescriptorQueryManager. additionalJoinExpressionprotected ExpressionVersionLockingPolicy. cachedExpressionprotected ExpressionInheritancePolicy. childrenJoinExpressionprotected ExpressionDescriptorQueryManager. multipleTableJoinExpressionprotected ExpressionInheritancePolicy. onlyInstancesExpressionprotected ExpressionInheritancePolicy. withAllSubclassesExpressionFields in org.eclipse.persistence.descriptors with type parameters of type Expression Modifier and Type Field Description protected Map<DatabaseTable,Expression>InheritancePolicy. childrenTablesJoinExpressionsprotected Map<DatabaseTable,Expression>DescriptorQueryManager. tablesJoinExpressionsMethods in org.eclipse.persistence.descriptors that return Expression Modifier and Type Method Description ExpressionClassDescriptor. buildBatchCriteriaByPK(ExpressionBuilder builder, ObjectLevelReadQuery query)INTERNAL: Return the selection criteria used to IN batch fetching.ExpressionChangedFieldsLockingPolicy. buildDeleteExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row)INTERNAL: When given an expression, this method will return a new expression with the optimistic locking values included.ExpressionFieldsLockingPolicy. buildDeleteExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row)INTERNAL: When given an expression, this method will return a new expression with the optimistic locking values included.ExpressionVersionLockingPolicy. buildDeleteExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row)INTERNAL: When given an expression, this method will return a new expression with the optimistic locking values included.protected ExpressionFieldsLockingPolicy. buildExpression(DatabaseTable table, AbstractRecord transRow, AbstractRecord modifyRow, ExpressionBuilder builder)INTERNAL: returns the expression to be used in both the delete and update where clause.protected ExpressionVersionLockingPolicy. buildExpression()INTERNAL: Returns an expression that will be used for both the update and delete where clauseExpressionFieldsLockingPolicy. buildUpdateExpression(DatabaseTable table, Expression mainExpression, AbstractRecord transRow, AbstractRecord modifyRow)INTERNAL: This method must be included in any locking policy.ExpressionVersionLockingPolicy. buildUpdateExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row, AbstractRecord row2)INTERNAL: When given an expression, this method will return a new expression with the optimistic locking values included.ExpressionDescriptorQueryManager. getAdditionalJoinExpression()ADVANCED: Returns the join expression that should be appended to all of the descriptors expressions Contains any multiple table or inheritance dependenciesExpressionInheritancePolicy. getChildrenJoinExpression()INTERNAL: all expressions from childrenTablesJoinExpressions ANDed togetherExpressionDescriptorQueryManager. getMultipleTableJoinExpression()ADVANCED: This is normally generated for descriptors that have multiple tables.ExpressionInheritancePolicy. getOnlyInstancesExpression()ADVANCED: Return the 'only instances expression'.ExpressionInheritancePolicy. getWithAllSubclassesExpression()ADVANCED: Return the Expression which gets all subclasses.ExpressionFieldsLockingPolicy. getWriteLockUpdateExpression(ExpressionBuilder builder, AbstractSession session)INTERNAL:ExpressionTimestampLockingPolicy. getWriteLockUpdateExpression(ExpressionBuilder builder, AbstractSession session)INTERNAL: Return an expression that updates the write lockExpressionVersionLockingPolicy. getWriteLockUpdateExpression(ExpressionBuilder builder, AbstractSession session)INTERNAL: Retrun an expression that updates the write lockMethods in org.eclipse.persistence.descriptors that return types with arguments of type Expression Modifier and Type Method Description Map<DatabaseTable,Expression>InheritancePolicy. getChildrenTablesJoinExpressions()INTERNAL: join expression for each child table, keyed by the tableMap<DatabaseTable,Expression>DescriptorQueryManager. getTablesJoinExpressions()INTERNAL: Used in case descriptor has additional tables: each additional table mapped to an expression joining it.Methods in org.eclipse.persistence.descriptors with parameters of type Expression Modifier and Type Method Description protected voidInheritancePolicy. addChildTableJoinExpression(DatabaseTable table, Expression expression)INTERNAL: childrenTablesJoinExpressions, childrenTables, allTables and childrenJoinExpression are created simultaneously and kept in sync.voidInheritancePolicy. addChildTableJoinExpressionToAllParents(DatabaseTable table, Expression expression)INTERNAL: call addChildTableJoinExpression on all parentsExpressionChangedFieldsLockingPolicy. buildDeleteExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row)INTERNAL: When given an expression, this method will return a new expression with the optimistic locking values included.ExpressionFieldsLockingPolicy. buildDeleteExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row)INTERNAL: When given an expression, this method will return a new expression with the optimistic locking values included.ExpressionVersionLockingPolicy. buildDeleteExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row)INTERNAL: When given an expression, this method will return a new expression with the optimistic locking values included.ExpressionFieldsLockingPolicy. buildUpdateExpression(DatabaseTable table, Expression mainExpression, AbstractRecord transRow, AbstractRecord modifyRow)INTERNAL: This method must be included in any locking policy.ExpressionVersionLockingPolicy. buildUpdateExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row, AbstractRecord row2)INTERNAL: When given an expression, this method will return a new expression with the optimistic locking values included.CacheKeyCachePolicy. checkCacheByIndex(Expression expression, AbstractRecord translationRow, ClassDescriptor descriptor, AbstractSession session)INTERNAL: Lookup the expression in the cache if it contains any indexes.booleanCachePolicy. isIndexableExpression(Expression expression, ClassDescriptor descriptor, AbstractSession session)INTERNAL: Lookup the expression in the cache if it contains any indexes.voidDescriptorQueryManager. setAdditionalJoinExpression(Expression additionalJoinExpression)ADVANCED: Set the additional join expression.voidDescriptorQueryManager. setInternalMultipleTableJoinExpression(Expression multipleTableJoinExpression)INTERNAL: Used to set the multiple table join expression that was generated by EclipseLink as opposed to a custom one supplied by the user.voidDescriptorQueryManager. setMultipleTableJoinExpression(Expression multipleTableJoinExpression)ADVANCED: This is normally generated for descriptors that have multiple tables.voidInheritancePolicy. setOnlyInstancesExpression(Expression onlyInstancesExpression)ADVANCED: Sets the expression used to select instance of the class only.voidInheritancePolicy. setWithAllSubclassesExpression(Expression withAllSubclassesExpression)ADVANCED: Sets the expression to be used for querying for a class and all its subclasses.protected voidDescriptorQueryManager. updatePropertyParameterExpression(Expression exp)INTERNAL: This method will walk the given expression and mark any parameter expressions as property expressions. -
Uses of Expression in org.eclipse.persistence.eis.mappings
Fields in org.eclipse.persistence.eis.mappings declared as Expression Modifier and Type Field Description protected ExpressionEISOneToOneMapping. privateOwnedCriteriaMethods in org.eclipse.persistence.eis.mappings that return Expression Modifier and Type Method Description ExpressionEISOneToManyMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ExpressionEISOneToOneMapping. getPrivateOwnedCriteria()INTERNAL: The private owned criteria is only used outside of the unit of work to compare the previous value of the reference.Methods in org.eclipse.persistence.eis.mappings with parameters of type Expression Modifier and Type Method Description ExpressionEISOneToManyMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.protected voidEISOneToOneMapping. setPrivateOwnedCriteria(Expression expression)INTERNAL: Private owned criteria is used to verify the deletion of the target. -
Uses of Expression in org.eclipse.persistence.exceptions
-
Uses of Expression in org.eclipse.persistence.expressions
Subclasses of Expression in org.eclipse.persistence.expressions Modifier and Type Class Description classExpressionBuilderPurpose: Allow for instances of expression to be created.Methods in org.eclipse.persistence.expressions that return Expression Modifier and Type Method Description static ExpressionExpressionMath. abs(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. acos(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. add(Expression left, int right)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. add(Expression right, Object left)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. addDate(String datePart, int numberToAdd)PUBLIC: Function, return an expression that adds to a date based on the specified datePart.ExpressionExpression. addDate(String datePart, Object numberToAdd)PUBLIC: Function, return an expression that adds to a date based on the specified datePart.ExpressionExpression. addMonths(int months)PUBLIC: Function, to add months to a date.ExpressionExpression. addMonths(Object months)PUBLIC: Function, to add months to a date.ExpressionExpression. alias(String alias)ADVANCED: Return an expression for the alias.ExpressionExpression. all(boolean[] theBooleans)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. all(byte[] theBytes)PUBLIC: Return an expression that is used with a comparison expression.ExpressionExpression. all(char[] theChars)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. all(double[] theDoubles)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. all(float[] theFloats)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. all(int[] theInts)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. all(long[] theLongs)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. all(short[] theShorts)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. all(Object[] theObjects)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. all(List theObjects)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. all(Expression arguments)ExpressionExpression. all(ReportQuery subQuery)ExpressionExpression. allOf(String attributeName, Expression criteria)PUBLIC: Returns an expression equivalent to all ofattributeNameholding true forcriteria.ExpressionExpression. and(Expression theExpression)PUBLIC: Return an expression that is the boolean logical combination of both expressions.ExpressionExpression. any(boolean[] theBooleans)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. any(byte[] theBytes)PUBLIC: Return an expression that is used with a comparison expression.ExpressionExpression. any(char[] theChars)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. any(double[] theDoubles)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. any(float[] theFloats)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. any(int[] theInts)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. any(long[] theLongs)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. any(short[] theShorts)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. any(Object[] theObjects)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. any(List theObjects)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. any(Expression arguments)ExpressionExpression. any(ReportQuery subQuery)ExpressionExpression. anyOf(String attributeName)PUBLIC: Return an expression representing traversal of a 1:many or many:many relationship.ExpressionExpression. anyOf(String attributeName, boolean shouldJoinBeIndependent)ADVANCED: Return an expression representing traversal of a 1:many or many:many relationship.ExpressionExpression. anyOfAllowingNone(String attributeName)ADVANCED: Return an expression representing traversal of a 1:many or many:many relationship.ExpressionExpression. anyOfAllowingNone(String attributeName, boolean shouldJoinBeIndependent)ADVANCED: Return an expression representing traversal of a 1:many or many:many relationship.ExpressionExpression. as(String alias)ADVANCED: Assign an alias to the expression in the select clause.ExpressionExpression. ascending()PUBLIC: This can only be used within an ordering expression.ExpressionExpression. asciiValue()PUBLIC: Function, returns the single character strings ascii value.static ExpressionExpressionMath. asin(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. asOf(AsOfClause pastTime)Sets all tables represented by this expression to be queried as of a past time.static ExpressionExpressionMath. atan(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. atan2(Expression expression, int value)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. atan2(Expression expression, Object value)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. atan2(Expression expression1, Expression expression2)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. average()PUBLIC: Function, This represents the aggregate function Average.ExpressionExpression. between(byte leftValue, byte rightValue)PUBLIC: Function, between two bytesExpressionExpression. between(char leftChar, char rightChar)PUBLIC: Function, between two charsExpressionExpression. between(double leftValue, double rightValue)PUBLIC: Function, between two doublesExpressionExpression. between(float leftValue, float rightValue)PUBLIC: Function, between two floatsExpressionExpression. between(int leftValue, int rightValue)PUBLIC: Function, between two intsExpressionExpression. between(long leftValue, long rightValue)PUBLIC: Function, between two longsExpressionExpression. between(short leftValue, short rightValue)PUBLIC: Function, between two shortsExpressionExpression. between(Object leftValue, Object rightValue)PUBLIC: Return an expression that compares if the receiver's value is between two other values.ExpressionExpression. between(Expression leftExpression, Expression rightExpression)ExpressionExpression. caseConditionStatement(Map<Expression,Object> caseConditions, Object defaultItem)PUBLIC: Function Convert values returned by the query to values given in the caseConditions Map.ExpressionExpression. caseStatement(Map caseItems, Object defaultItem)PUBLIC: Function Convert values returned by the query to values given in the caseItems Map.ExpressionExpression. cast(String type)PUBLIC: Cast the value to the database type.static ExpressionExpressionMath. ceil(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. chr(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. cloneUsing(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionExpression. concat(Object left)PUBLIC: Function, returns the concatenation of the two string values.ExpressionExpression. containsAllKeyWords(String spaceSeparatedKeyWords)PUBLIC: Return an expression that performs a key word search.ExpressionExpression. containsAnyKeyWords(String spaceSeparatedKeyWords)PUBLIC: Return an expression that performs a key word search.ExpressionExpression. containsSubstring(String theValue)PUBLIC: Return an expression that compares if the receivers value contains the substring.ExpressionExpression. containsSubstring(Expression expression)PUBLIC: Return an expression that compares if the receivers value contains the substring.ExpressionExpression. containsSubstringIgnoringCase(String theValue)PUBLIC: Return an expression that compares if the receivers value contains the substring, ignoring case.ExpressionExpression. containsSubstringIgnoringCase(Expression expression)PUBLIC: Return an expression that compares if the receivers value contains the substring, ignoring case.ExpressionExpression. convertToUseOuterJoin()INTERNAL: Modify this expression to use outer joins wherever there are equality operations between two field nodes.ExpressionExpression. copiedVersionFrom(Map alreadyDone)INTERNAL:static ExpressionExpressionMath. cos(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. cosh(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. cot(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. count()PUBLIC: This represents the aggregate function Average.ExpressionExpression. create(Expression base, Object singleArgument, ExpressionOperator anOperator)INTERNAL:ExpressionExpression. create(Expression base, List arguments, ExpressionOperator anOperator)INTERNAL:protected ExpressionExpressionOperator. createNode()INTERNAL: Instantiate an instance of the operator's node class.ExpressionExpression. createWithBaseLast(Expression base, Object singleArgument, ExpressionOperator anOperator)INTERNAL:ExpressionExpression. currentDate()PUBLIC: This gives access to the current date on the database through expression.ExpressionExpression. currentDateDate()PUBLIC: This gives access to the current date only on the database through expression.ExpressionExpression. currentTime()PUBLIC: This gives access to the current time only on the database through expression.ExpressionExpression. currentTimeStamp()PUBLIC: This gives access to the current timestamp on the database through expression.ExpressionExpression. dateDifference(String datePart, Date date)PUBLIC: Function, Return the difference between the queried part of a date(i.e.ExpressionExpression. dateDifference(String datePart, Expression comparisonExpression)PUBLIC: Function, Return the difference between the queried part of a date(i.e.ExpressionExpression. dateName(String datePart)PUBLIC: return a string that represents the given part of a date.ExpressionExpression. datePart(String datePart)PUBLIC: Function return an integer which represents the requested part of the date.ExpressionExpression. dateToString()PUBLIC: Function, returns the date converted to the string value in the default database format.ExpressionExpression. decode(Map decodeableItems, String defaultItem)PUBLIC: Function Convert values returned by the query to values given in the decodeableItems Map.ExpressionExpression. descending()PUBLIC: This can only be used within an ordering expression.ExpressionExpression. difference(String expression)PUBLIC: Function return a value which indicates how much difference there is between two expressions.ExpressionExpression. distinct()PUBLIC: Function, This represents the distinct option inside an aggregate function.static ExpressionExpressionMath. divide(Expression left, int right)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. divide(Expression left, Object right)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. equal(boolean theBoolean)ExpressionExpression. equal(byte theValue)ExpressionExpression. equal(char theChar)ExpressionExpression. equal(double theValue)ExpressionExpression. equal(float theValue)ExpressionExpression. equal(int theValue)ExpressionExpression. equal(long theValue)ExpressionExpression. equal(short theValue)ExpressionExpression. equal(Object theValue)PUBLIC: Return an expression that compares if the receiver's value is equal to the other value.ExpressionExpression. equal(Expression theValue)Returns an expression that compares if the receiver's value is equal to the other value.ExpressionExpression. equalOuterJoin(Object theValue)INTERNAL: Return an expression representing an outer join comparisonExpressionExpression. equalOuterJoin(Expression theValue)INTERNAL: Return an expression representing an outer join comparisonExpressionExpression. equalsIgnoreCase(String theValue)PUBLIC: Return an expression that compares if the receiver's value is equal to the other value, ignoring case.ExpressionExpression. equalsIgnoreCase(Expression theValue)PUBLIC: Return an expression that compares if the receiver's value is equal to the other value, ignoring case.ExpressionExpression. except(Expression arguments)PUBLIC: Return a except expression with the subquery.ExpressionExpression. except(ReportQuery query)PUBLIC: Return a except expression with the subquery.ExpressionExpression. exceptAll(Expression arguments)PUBLIC: Return a except all expression with the subquery.ExpressionExpression. exceptAll(ReportQuery query)PUBLIC: Return a except all expression with the subquery.ExpressionExpression. exists(ReportQuery subQuery)PUBLIC: Return a sub query expression.ExpressionExpression. existsNode(String xpath)PUBLIC: XMLType Function, gets the number of nodes returned by the given xpath expression returns 0 if there are nonestatic ExpressionExpressionMath. exp(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpressionOperator. expressionFor(Expression base)INTERNAL: Create an expression for this operator, using the given base.ExpressionExpressionOperator. expressionFor(Expression base, Object value)INTERNAL: Create an expression for this operator, using the given base and a single argument.ExpressionExpressionOperator. expressionForArguments(Expression base, List arguments)INTERNAL: Create an expression for this operator, using the given base and arguments.ExpressionExpressionOperator. expressionForWithBaseLast(Expression base, Object value)INTERNAL: Create an expression for this operator, using the given base and a single argument.ExpressionExpression. extract(String part)PUBLIC: Extract the date part from the date/time value.ExpressionExpression. extractValue(String xpath)PUBLIC: XMLType Function, extracts a value from an XMLType fieldExpressionExpression. extractXml(String xpath)PUBLIC: XMLType Function, extracts a secton of XML from a larget XML documentstatic ExpressionExpressionMath. floor(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpression. from(Object value, Expression base)INTERNAL: Create an expression node.static ExpressionExpression. fromConstant(Object value, Expression base)INTERNAL: Create an expression node.static ExpressionExpression. fromLiteral(String value, Expression base)INTERNAL: Create an expression node.ExpressionExpression. get(String attributeName)PUBLIC: Return an expression that wraps the attribute or query key name.ExpressionExpression. get(String attributeName, boolean forceInnerJoin)PUBLIC: Return an expression that wraps the attribute or query key name.ExpressionExpression. getAlias(Expression subSelect)ADVANCED: Return an expression representing a sub-select in the from clause.ExpressionExpression. getAllowingNull(String attributeName)ADVANCED: Return an expression that wraps the attribute or query key name.ExpressionExpression. getField(String fieldName)ADVANCED: Return an expression representing a field in a data-level query.ExpressionExpression. getField(DatabaseField field)ADVANCED: Return an expression representing a field in a data-level query.ExpressionExpression. getFunction(int selector)ADVANCED: This can be used for accessing user defined functions.ExpressionExpression. getFunction(int selector, List arguments)ADVANCED: This can be used for accessing user defined functions that have arguments.ExpressionExpression. getFunction(String functionName)ADVANCED: Return a user defined function accepting the argument.ExpressionExpression. getFunction(String functionName, Object argument)ADVANCED: Return a user defined function accepting the argument.ExpressionExpression. getFunctionWithArguments(String functionName, List arguments)ADVANCED: Return a user defined function accepting all of the arguments.ExpressionExpression. getNumberVal()PUBLIC: XMLType Function - gets a number value from an XMLTypeExpressionExpression. getParameter(String parameterName)ADVANCED: Return an expression representing a parameter with the given name.ExpressionExpression. getParameter(String parameterName, Object type)INTERNAL: Return an expression representing a parameter with the given name and typeExpressionExpression. getParameter(DatabaseField field)ADVANCED: Return an expression representing a parameter with the given name.ExpressionExpression. getProperty(DatabaseField field)ADVANCED: Return an expression representing a property with the given name.ExpressionExpression. getStringVal()PUBLIC: XMLType Function - gets a string value from an XMLTypeExpressionExpression. getTable(String tableName)ADVANCED: Return an expression representing a table in a data-level query.ExpressionExpression. getTable(DatabaseTable table)ADVANCED: Return an expression representing a table in a data-level query.ExpressionExpression. greaterThan(boolean theBoolean)PUBLIC: Return an expression that compares if the receivers value is equal to the other value.ExpressionExpression. greaterThan(byte theValue)PUBLIC: Return an expression that compares if the receivers value is equal to the other value.ExpressionExpression. greaterThan(char theChar)PUBLIC: Return an expression that compares if the receivers value is equal to the other value.ExpressionExpression. greaterThan(double theValue)PUBLIC: Return an expression that compares if the receivers value is equal to the other value.ExpressionExpression. greaterThan(float theValue)PUBLIC: Return an expression that compares if the receivers value is equal to the other value.ExpressionExpression. greaterThan(int theValue)PUBLIC: Return an expression that compares if the receivers value is equal to the other value.ExpressionExpression. greaterThan(long theValue)PUBLIC: Return an expression that compares if the receivers value is equal to the other value.ExpressionExpression. greaterThan(short theValue)PUBLIC: Return an expression that compares if the receivers value is equal to the other value.ExpressionExpression. greaterThan(Object theValue)PUBLIC: Return an expression that compares if the receiver's value is greater than the other value.ExpressionExpression. greaterThan(Expression theValue)ExpressionExpression. greaterThanEqual(boolean theBoolean)PUBLIC: Return an expression that compares if the receivers value is greater and equal to the other value.ExpressionExpression. greaterThanEqual(byte theValue)PUBLIC: Return an expression that compares if the receivers value is greater and equal to the other value.ExpressionExpression. greaterThanEqual(char theChar)PUBLIC: Return an expression that compares if the receivers value is greater and equal to the other value.ExpressionExpression. greaterThanEqual(double theValue)PUBLIC: Return an expression that compares if the receivers value is greater and equal to the other value.ExpressionExpression. greaterThanEqual(float theValue)PUBLIC: Return an expression that compares if the receivers value is greater and equal to the other value.ExpressionExpression. greaterThanEqual(int theValue)PUBLIC: Return an expression that compares if the receivers value is greater and equal to the other value.ExpressionExpression. greaterThanEqual(long theValue)PUBLIC: Return an expression that compares if the receivers value is greater and equal to the other value.ExpressionExpression. greaterThanEqual(short theValue)PUBLIC: Return an expression that compares if the receivers value is greater and equal to the other value.ExpressionExpression. greaterThanEqual(Object theValue)PUBLIC: Return an expression that compares if the receivers value is greater and equal to the other value.ExpressionExpression. greaterThanEqual(Expression theValue)PUBLIC: Return an expression that compares if the receivers value is greater and equal to the other value.ExpressionExpression. hexToRaw()PUBLIC: Function, returns binary array value for the hex string.ExpressionExpression. ifNull(Object nullValue)PUBLIC: Function return a specific value if item returned from the query is null.ExpressionExpression. in(boolean[] theBooleans)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. in(byte[] theBytes)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. in(char[] theChars)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. in(double[] theDoubles)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. in(float[] theFloats)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. in(int[] theInts)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. in(long[] theLongs)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. in(short[] theShorts)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. in(Object[] theObjects)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. in(Collection theObjects)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. in(Expression arguments)ExpressionExpression. in(ReportQuery subQuery)ExpressionExpression. index()ExpressionExpression. indexOf(Object substring)PUBLIC: Function, returns the integer index of the substring within the source string.ExpressionExpression. intersect(Expression arguments)PUBLIC: Return a intersect expression with the subquery.ExpressionExpression. intersect(ReportQuery query)PUBLIC: Return a intersect expression with the subquery.ExpressionExpression. intersectAll(Expression arguments)PUBLIC: Return a intersect all expression with the subquery.ExpressionExpression. intersectAll(ReportQuery query)PUBLIC: Return a intersect all expression with the subquery.ExpressionExpression. isEmpty(String attributeName)PUBLIC: A logical expression for the collectionattributeNamebeing empty.ExpressionExpression. isFragment()PUBLIC: XMLType Function - evaluates to 0 if the xml is a well formed document and 1 if the document is a fragmentExpressionExpression. isNull()PUBLIC: Compare to null.ExpressionExpression. join(Expression target, Expression onClause)ADVANCED: Defines a join between the two objects based on the specified ON clause.ExpressionExpression. lastDay()PUBLIC: Function, returns the date with the last date in the months of this source date.ExpressionExpression. leftJoin(Expression target, Expression onClause)ADVANCED: Defines an outer join between the two objects based on the specified ON clause.ExpressionExpression. leftPad(int size, Object substring)PUBLIC: Function, returns the string padded with the substring to the size.ExpressionExpression. leftPad(Object size, Object substring)PUBLIC: Function, returns the string padded with the substring to the size.ExpressionExpression. leftTrim()PUBLIC: Function, returns the string left trimmed for white space.ExpressionExpression. leftTrim(Object substring)PUBLIC: Function, returns the string with the substring trimed from the left.ExpressionExpression. length()PUBLIC: Function, returns the size of the string.ExpressionExpression. lessThan(boolean theBoolean)PUBLIC: Return an expression that compares if the receivers value is less than the other value.ExpressionExpression. lessThan(byte theValue)PUBLIC: Return an expression that compares if the receivers value is less than the other value.ExpressionExpression. lessThan(char theChar)PUBLIC: Return an expression that compares if the receivers value is less than the other value.ExpressionExpression. lessThan(double theValue)PUBLIC: Return an expression that compares if the receivers value is less than the other value.ExpressionExpression. lessThan(float theValue)PUBLIC: Return an expression that compares if the receivers value is less than the other value.ExpressionExpression. lessThan(int theValue)PUBLIC: Return an expression that compares if the receivers value is less than the other value.ExpressionExpression. lessThan(long theValue)PUBLIC: Return an expression that compares if the receivers value is less than the other value.ExpressionExpression. lessThan(short theValue)PUBLIC: Return an expression that compares if the receivers value is less than the other value.ExpressionExpression. lessThan(Object theValue)PUBLIC: Return an expression that compares if the receivers value is less than the other value.ExpressionExpression. lessThan(Expression theValue)ExpressionExpression. lessThanEqual(boolean theBoolean)PUBLIC: Return an expression that compares if the receivers value is less than and equal to the other value.ExpressionExpression. lessThanEqual(byte theValue)PUBLIC: Return an expression that compares if the receivers value is less than and equal to the other value.ExpressionExpression. lessThanEqual(char theChar)PUBLIC: Return an expression that compares if the receivers value is less than and equal to the other value.ExpressionExpression. lessThanEqual(double theValue)PUBLIC: Return an expression that compares if the receivers value is less than and equal to the other value.ExpressionExpression. lessThanEqual(float theValue)PUBLIC: Return an expression that compares if the receivers value is less than and equal to the other value.ExpressionExpression. lessThanEqual(int theValue)PUBLIC: Return an expression that compares if the receivers value is less than and equal to the other value.ExpressionExpression. lessThanEqual(long theValue)PUBLIC: Return an expression that compares if the receivers value is less than and equal to the other value.ExpressionExpression. lessThanEqual(short theValue)PUBLIC: Return an expression that compares if the receivers value is less than and equal to the other value.ExpressionExpression. lessThanEqual(Object theValue)PUBLIC: Return an expression that compares if the receivers value is less than and equal to the other value.ExpressionExpression. lessThanEqual(Expression theValue)PUBLIC: Return an expression that compares if the receivers value is less than and equal to the other value.ExpressionExpression. like(String value)PUBLIC: Return an expression that compares if the receivers value is like other value.ExpressionExpression. like(String value, String escapeSequence)PUBLIC: Return an expression that compares if the receivers value is like other value.ExpressionExpression. like(Expression argument)PUBLIC: Return an expression that compares if the receivers value is like other value.ExpressionExpression. like(Expression value, Expression escapeSequence)PUBLIC: Return an expression that compares if the receivers value is like other value.ExpressionExpression. likeIgnoreCase(String theValue)PUBLIC: Return an expression that compares if the receivers value is like the other value, ignoring case.ExpressionExpression. likeIgnoreCase(Expression theValue)PUBLIC: Return an expression that compares if the receivers value is like the other value, ignoring case.ExpressionExpression. literal(String literal)ADVANCED: Return an expression on the literal.static ExpressionExpressionMath. ln(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. localDate()PUBLIC: This gives access to the local date only on the database through expression.ExpressionExpression. localDateTime()PUBLIC: This gives access to the local date and time on the database through expression.ExpressionExpression. localTime()PUBLIC: This gives access to the local time only on the database through expression.ExpressionExpression. locate(Object str)PUBLIC: Function, returns the position ofstrinthisExpressionExpression. locate(Object str, Object fromIndex)PUBLIC: Function, returns the position ofstrinthis, starting the search atfromIndex.ExpressionExpression. locate(String str, int fromIndex)PUBLIC: Function, returns the position ofstrinthis, starting the search atfromIndex.static ExpressionExpressionMath. log(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. mapEntry()PUBLIC: Return a Map.Entry containing the key and the value from a mapping that maps to a java.util.Map This expression can only be used as a return value in a ReportQuery and cannot be used as part of the WHERE clause in any query EclipseLink: eb.get("mapAttribute").mapEntry()ExpressionExpression. mapKey()PUBLIC: Return the key from a mapping that maps to a java.util.Map This expression can be used either in as a return value in a ReportQuery or in the WHERE clause in a query EclipseLink: eb.get("mapAttribute").mapKey()static ExpressionExpressionMath. max(Expression left, int right)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. max(Expression left, Object right)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. maximum()PUBLIC: This represents the aggregate function Maximum.static ExpressionExpressionMath. min(Expression left, int right)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. min(Expression left, Object right)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. minimum()PUBLIC: This represents the aggregate function Minimum.static ExpressionExpressionMath. mod(Expression expression, int base)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. mod(Expression expression, Object base)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. monthsBetween(Object otherDate)PUBLIC: Function, returns the decimal number of months between the two dates.static ExpressionExpressionMath. multiply(Expression left, int right)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. multiply(Expression left, Object right)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. negate(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpressionOperator. newExpressionForArgument(Expression base, Object singleArgument)INTERNAL: Create a new expression.ExpressionExpressionOperator. newExpressionForArguments(Expression base, List arguments)INTERNAL: The general case.ExpressionExpressionOperator. newExpressionForArgumentWithBaseLast(Expression base, Object singleArgument)INTERNAL: Create a new expression.ExpressionExpression. newTime(String timeZoneFrom, String timeZoneTo)PUBLIC: funcation return a date converted to a new timezone.ExpressionExpression. nextDay(Object dayName)PUBLIC: Function, returns the date with the next day from the source date as the day name given.ExpressionExpression. noneOf(String attributeName, Expression criteria)PUBLIC: Returns an expression equivalent to none ofattributeNameholding true forcriteria.ExpressionExpression. normalize(ExpressionNormalizer normalizer)INTERNAL: Normalize into a structure that is printable.ExpressionExpressionBuilder. normalize(ExpressionNormalizer normalizer)INTERNAL: Normalize the expression into a printable structure.ExpressionExpression. not()PUBLIC: Return an expression that is the boolean logical negation of the expression.ExpressionExpression. notBetween(byte leftValue, byte rightValue)PUBLIC: Return an expression that compares if the receivers value is not between two other values.ExpressionExpression. notBetween(char leftChar, char rightChar)PUBLIC: Return an expression that compares if the receivers value is not between two other values.ExpressionExpression. notBetween(double leftValue, double rightValue)PUBLIC: Return an expression that compares if the receivers value is not between two other values.ExpressionExpression. notBetween(float leftValue, float rightValue)PUBLIC: Return an expression that compares if the receivers value is not between two other values.ExpressionExpression. notBetween(int leftValue, int rightValue)PUBLIC: Return an expression that compares if the receivers value is not between two other values.ExpressionExpression. notBetween(long leftValue, long rightValue)PUBLIC: Return an expression that compares if the receivers value is not between two other values.ExpressionExpression. notBetween(short leftValue, short rightValue)PUBLIC: Return an expression that compares if the receivers value is not between two other values.ExpressionExpression. notBetween(Object leftValue, Object rightValue)PUBLIC: Return an expression that compares if the receivers value is not between two other values.ExpressionExpression. notBetween(Expression leftExpression, Expression rightExpression)PUBLIC: Return an expression that compares if the receivers value is not between two other values.ExpressionExpression. notEmpty(String attributeName)PUBLIC: A logical expression for the collectionattributeNamenot being empty.ExpressionExpression. notEqual(boolean theBoolean)PUBLIC: Return an expression that compares if the receivers value is not equal to the other value.ExpressionExpression. notEqual(byte theValue)PUBLIC: Return an expression that compares if the receivers value is not equal to the other value.ExpressionExpression. notEqual(char theChar)PUBLIC: Return an expression that compares if the receivers value is not equal to the other value.ExpressionExpression. notEqual(double theValue)PUBLIC: Return an expression that compares if the receivers value is not equal to the other value.ExpressionExpression. notEqual(float theValue)PUBLIC: Return an expression that compares if the receivers value is not equal to the other value.ExpressionExpression. notEqual(int theValue)PUBLIC: Return an expression that compares if the receivers value is not equal to the other value.ExpressionExpression. notEqual(long theValue)PUBLIC: Return an expression that compares if the receivers value is not equal to the other value.ExpressionExpression. notEqual(short theValue)PUBLIC: Return an expression that compares if the receivers value is not equal to the other value.ExpressionExpression. notEqual(Object theValue)PUBLIC: Return an expression that compares if the receivers value is not equal to the other value.ExpressionExpression. notEqual(Expression theValue)PUBLIC: Return an expression that compares if the receivers value is not equal to the other value.ExpressionExpression. notExists(ReportQuery subQuery)PUBLIC: Return a sub query expression.ExpressionExpression. notIn(boolean[] theBooleans)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. notIn(byte[] theBytes)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. notIn(char[] theChars)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. notIn(double[] theDoubles)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. notIn(float[] theFloats)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. notIn(int[] theInts)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. notIn(long[] theLongs)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. notIn(short[] theShorts)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. notIn(Object[] theObjects)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. notIn(Collection theObjects)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. notIn(Expression arguments)ExpressionExpression. notIn(ReportQuery subQuery)ExpressionExpression. notLike(String aString)PUBLIC: Return an expression that compares if the receivers value is not like the other value.ExpressionExpression. notLike(String value, String escapeSequence)PUBLIC: Return an expression that compares if the receivers value is not like the other value.ExpressionExpression. notLike(Expression arguments)PUBLIC: Return an expression that compares if the receivers value is not like the other value.ExpressionExpression. notLike(Expression value, Expression escapeSequence)PUBLIC: Return an expression that compares if the receivers value is not like the other value.ExpressionExpression. notNull()PUBLIC: Return an expression representing a comparison to nullExpressionExpression. nullIf(Object object)PUBLIC: Function Test if arguments are equal, returning null if they are and the value of the first expression otherwise.ExpressionExpression. nullsFirst()PUBLIC: This can only be used within an ordering expression.ExpressionExpression. nullsLast()PUBLIC: This can only be used within an ordering expression.ExpressionExpression. operator(String name, List arguments)ADVANCED: This can be used for accessing user defined operators that have arguments.ExpressionExpression. or(Expression theExpression)PUBLIC: Return an expression that is the boolean logical combination of both expressions.ExpressionExpression. performOperator(ExpressionOperator anOperator, List args)INTERNAL:ExpressionExpression. postfixSQL(String sqlString)ADVANCED: Inserts the SQL as is directly into the expression.static ExpressionExpressionMath. power(Expression expression, int raised)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. power(Expression expression, Object raised)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. prefixSQL(String sqlString)ADVANCED: Insert the SQL as is directly into the expression.abstract ExpressionExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionExpressionBuilder. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionExpression. ref()ADVANCED: For Object-relational support.ExpressionExpression. regexp(String regexp)PUBLIC: Return an expression that compares if the receivers value matches the regular expression.ExpressionExpression. regexp(Expression regexp)PUBLIC: Return an expression that compares if the receivers value matches the regular expression.protected ExpressionExpression. registerIn(Map alreadyDone)protected ExpressionExpressionBuilder. registerIn(Map alreadyDone)INTERNAL: Override Expression.registerIn to check if the new base expression has already been provided for the clone.ExpressionExpression. replace(Object stringToReplace, Object stringToReplaceWith)PUBLIC: Function, returns the string with occurances of the first substring replaced with the second substring.ExpressionExpression. replicate(int constant)PUBLIC: return the result of this query repeated a given number of times.ExpressionExpression. replicate(Object theValue)PUBLIC: return the result of this query repeated a given number of times.ExpressionExpression. reverse()PUBLIC: Function return the reverse of the query result.ExpressionExpression. right(int characters)PUBLIC: Function return a given number of characters starting at the right of a string.ExpressionExpression. right(Object characters)PUBLIC: Function return a given number of characters starting at the right of a string.ExpressionExpression. rightPad(int size, Object substring)PUBLIC: Function, returns the string padded with the substring to the size.ExpressionExpression. rightPad(Object size, Object substring)PUBLIC: Function, returns the string padded with the substring to the size.ExpressionExpression. rightTrim()PUBLIC: Function, returns the string right trimmed for white space.ExpressionExpression. rightTrim(Object substring)PUBLIC: Function, returns the string with the substring trimed from the right.static ExpressionExpressionMath. round(Expression expression, int decimalPlaces)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. round(Expression expression, Object decimalPlaces)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. roundDate(Object yearOrMonthOrDayRoundToken)PUBLIC: Function, returns the date rounded to the year, month or day.ExpressionExpression. shallowClone()INTERNAL:static ExpressionExpressionMath. sign(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. sin(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. sinh(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. size(Class<?> returnType)PUBLIC: A logical expression for the size of collection expression.ExpressionExpression. size(String attributeName)PUBLIC: A logical expression for the size of collectionattributeName.ExpressionExpression. some(boolean[] theBooleans)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. some(byte[] theBytes)PUBLIC: Return an expression that is used with a comparison expression.ExpressionExpression. some(char[] theChars)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. some(double[] theDoubles)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. some(float[] theFloats)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. some(int[] theInts)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. some(long[] theLongs)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. some(short[] theShorts)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. some(Object[] theObjects)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. some(List theObjects)PUBLIC: Return an expression that checks if the receivers value is contained in the collection.ExpressionExpression. some(Expression arguments)ExpressionExpression. some(ReportQuery subQuery)ExpressionExpression. sql(String sql, List arguments)ADVANCED: Parse the SQL for parameter and return a custom function expression using a custom operator that will print itself as the SQL.static ExpressionExpressionMath. sqrt(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. standardDeviation()PUBLIC: This represents the aggregate function StandardDeviation.ExpressionExpression. subQuery(ReportQuery subQuery)PUBLIC: Return a sub query expression.ExpressionExpression. substring(int startPosition)PUBLIC: Function, returns the substring from the source string.ExpressionExpression. substring(int startPosition, int size)PUBLIC: Function, returns the substring from the source string.ExpressionExpression. substring(Object startPosition)PUBLIC: Function, returns the substring from the source string.ExpressionExpression. substring(Object startPosition, Object size)PUBLIC: Function, returns the substring from the source string.static ExpressionExpressionMath. subtract(Expression left, int right)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. subtract(Expression left, Object right)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. sum()PUBLIC: This represents the aggregate function Sum.static ExpressionExpressionMath. tan(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. tanh(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. toChar()PUBLIC: Return an expression that represents the receiver value converted to a character string.ExpressionExpression. toChar(String format)PUBLIC: Return an expression that represents the receiver value converted to a character string, with the database formating options (i.e.ExpressionExpression. toCharacter()PUBLIC: Function, returns the single character string with the ascii or character set value.ExpressionExpression. toDate()PUBLIC: Function, returns date from the string using the default format.ExpressionExpression. toLowerCase()PUBLIC: Return an expression that represents the receiver value converted to lower case.ExpressionExpression. toNumber()PUBLIC: Function, returns the number converted from the string.ExpressionExpression. toUpperCase()PUBLIC: Return an expression that represents the receiver value converted to upper case.ExpressionExpression. toUppercaseCasedWords()PUBLIC: Function, returns the string with the first letter of each word capitalized.ExpressionExpression. translate(Object fromString, Object toString)PUBLIC: Function, returns the string with each char from the from string converted to the char in the to string.ExpressionExpression. treat(Class<?> castClass)ADVANCED: Return an expression that allows you to treat its base as if it were a subclass of the class returned by the base This can only be called on an ExpressionBuilder, the result of expression.get(String), expression.getAllowingNull(String), the result of expression.anyOf("String") or the result of expression.anyOfAllowingNull("String") downcast uses Expression.type() internally to guarantee the results are of the specified class.ExpressionExpression. trim()PUBLIC: Function, returns the string trimmed for white space.ExpressionExpression. trim(Object substring)PUBLIC: Function, returns the string right and left trimmed for the substring.static ExpressionExpressionMath. trunc(Expression expression, int decimalPlaces)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. trunc(Expression expression, Object decimalPlaces)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. truncateDate(String datePart)PUBLIC: return the date truncated to the indicated datePart.ExpressionExpression. twist(Expression expression, Expression newBase)INTERNAL: We are given an expression that comes from a different context than the one in which this was built, e.g.ExpressionExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionExpressionBuilder. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionExpression. type()PUBLIC: Return an expression that wraps the inheritance type field in an expression.ExpressionExpression. union(Expression arguments)PUBLIC: Return a union expression with the subquery.ExpressionExpression. union(ReportQuery query)PUBLIC: Return a union expression with the subquery.ExpressionExpression. unionAll(Expression arguments)PUBLIC: Return a union all expression with the subquery.ExpressionExpression. unionAll(ReportQuery query)PUBLIC: Return a union all expression with the subquery.ExpressionExpression. value()PUBLIC: Function, this represents the value function, used in nestedtableExpressionExpression. value(boolean constant)PUBLIC: Return an expression on the constant.ExpressionExpression. value(byte constant)PUBLIC: Return an expression on the constant.ExpressionExpression. value(char constant)PUBLIC: Return an expression on the constant.ExpressionExpression. value(double constant)PUBLIC: Return an expression on the constant.ExpressionExpression. value(float constant)PUBLIC: Return an expression on the constant.ExpressionExpression. value(int constant)PUBLIC: Return an expression on the constant.ExpressionExpression. value(long constant)PUBLIC: Return an expression on the constant.ExpressionExpression. value(short constant)PUBLIC: Return an expression on the constant.ExpressionExpression. value(Object constant)PUBLIC: Return an expression on the constant.ExpressionExpression. variance()PUBLIC: Function, this represents the aggregate function Variance.Methods in org.eclipse.persistence.expressions with parameters of type Expression Modifier and Type Method Description static ExpressionExpressionMath. abs(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. acos(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. add(Expression left, int right)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. add(Expression right, Object left)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. all(Expression arguments)ExpressionExpression. allOf(String attributeName, Expression criteria)PUBLIC: Returns an expression equivalent to all ofattributeNameholding true forcriteria.ExpressionExpression. and(Expression theExpression)PUBLIC: Return an expression that is the boolean logical combination of both expressions.ExpressionExpression. any(Expression arguments)static ExpressionExpressionMath. asin(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. atan(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. atan2(Expression expression, int value)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. atan2(Expression expression, Object value)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. atan2(Expression expression1, Expression expression2)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. between(Expression leftExpression, Expression rightExpression)static ExpressionExpressionMath. ceil(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. chr(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. cloneUsing(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionExpression. containsSubstring(Expression expression)PUBLIC: Return an expression that compares if the receivers value contains the substring.ExpressionExpression. containsSubstringIgnoringCase(Expression expression)PUBLIC: Return an expression that compares if the receivers value contains the substring, ignoring case.static ExpressionExpressionMath. cos(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. cosh(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. cot(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. create(Expression base, Object singleArgument, ExpressionOperator anOperator)INTERNAL:ExpressionExpression. create(Expression base, List arguments, ExpressionOperator anOperator)INTERNAL:ExpressionExpression. createWithBaseLast(Expression base, Object singleArgument, ExpressionOperator anOperator)INTERNAL:ExpressionExpression. dateDifference(String datePart, Expression comparisonExpression)PUBLIC: Function, Return the difference between the queried part of a date(i.e.static ExpressionExpressionMath. divide(Expression left, int right)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. divide(Expression left, Object right)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. equal(Expression theValue)Returns an expression that compares if the receiver's value is equal to the other value.ExpressionExpression. equalOuterJoin(Expression theValue)INTERNAL: Return an expression representing an outer join comparisonExpressionExpression. equalsIgnoreCase(Expression theValue)PUBLIC: Return an expression that compares if the receiver's value is equal to the other value, ignoring case.ExpressionExpression. except(Expression arguments)PUBLIC: Return a except expression with the subquery.ExpressionExpression. exceptAll(Expression arguments)PUBLIC: Return a except all expression with the subquery.static ExpressionExpressionMath. exp(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpressionOperator. expressionFor(Expression base)INTERNAL: Create an expression for this operator, using the given base.ExpressionExpressionOperator. expressionFor(Expression base, Object value)INTERNAL: Create an expression for this operator, using the given base and a single argument.ExpressionExpressionOperator. expressionForArguments(Expression base, List arguments)INTERNAL: Create an expression for this operator, using the given base and arguments.ExpressionExpressionOperator. expressionForWithBaseLast(Expression base, Object value)INTERNAL: Create an expression for this operator, using the given base and a single argument.static ExpressionExpressionMath. floor(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpression. from(Object value, Expression base)INTERNAL: Create an expression node.static ExpressionExpression. fromConstant(Object value, Expression base)INTERNAL: Create an expression node.static ExpressionExpression. fromLiteral(String value, Expression base)INTERNAL: Create an expression node.ExpressionExpression. getAlias(Expression subSelect)ADVANCED: Return an expression representing a sub-select in the from clause.ExpressionExpression. greaterThan(Expression theValue)ExpressionExpression. greaterThanEqual(Expression theValue)PUBLIC: Return an expression that compares if the receivers value is greater and equal to the other value.ExpressionExpression. in(Expression arguments)ExpressionExpression. intersect(Expression arguments)PUBLIC: Return a intersect expression with the subquery.ExpressionExpression. intersectAll(Expression arguments)PUBLIC: Return a intersect all expression with the subquery.ExpressionExpression. join(Expression target, Expression onClause)ADVANCED: Defines a join between the two objects based on the specified ON clause.ExpressionExpression. leftJoin(Expression target, Expression onClause)ADVANCED: Defines an outer join between the two objects based on the specified ON clause.ExpressionExpression. lessThan(Expression theValue)ExpressionExpression. lessThanEqual(Expression theValue)PUBLIC: Return an expression that compares if the receivers value is less than and equal to the other value.ExpressionExpression. like(Expression argument)PUBLIC: Return an expression that compares if the receivers value is like other value.ExpressionExpression. like(Expression value, Expression escapeSequence)PUBLIC: Return an expression that compares if the receivers value is like other value.ExpressionExpression. likeIgnoreCase(Expression theValue)PUBLIC: Return an expression that compares if the receivers value is like the other value, ignoring case.static ExpressionExpressionMath. ln(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. log(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. max(Expression left, int right)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. max(Expression left, Object right)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. min(Expression left, int right)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. min(Expression left, Object right)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. mod(Expression expression, int base)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. mod(Expression expression, Object base)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. multiply(Expression left, int right)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. multiply(Expression left, Object right)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. negate(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpressionOperator. newExpressionForArgument(Expression base, Object singleArgument)INTERNAL: Create a new expression.ExpressionExpressionOperator. newExpressionForArguments(Expression base, List arguments)INTERNAL: The general case.ExpressionExpressionOperator. newExpressionForArgumentWithBaseLast(Expression base, Object singleArgument)INTERNAL: Create a new expression.ExpressionExpression. noneOf(String attributeName, Expression criteria)PUBLIC: Returns an expression equivalent to none ofattributeNameholding true forcriteria.ExpressionExpression. notBetween(Expression leftExpression, Expression rightExpression)PUBLIC: Return an expression that compares if the receivers value is not between two other values.ExpressionExpression. notEqual(Expression theValue)PUBLIC: Return an expression that compares if the receivers value is not equal to the other value.ExpressionExpression. notIn(Expression arguments)ExpressionExpression. notLike(Expression arguments)PUBLIC: Return an expression that compares if the receivers value is not like the other value.ExpressionExpression. notLike(Expression value, Expression escapeSequence)PUBLIC: Return an expression that compares if the receivers value is not like the other value.ExpressionExpression. or(Expression theExpression)PUBLIC: Return an expression that is the boolean logical combination of both expressions.static ExpressionExpressionMath. power(Expression expression, int raised)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. power(Expression expression, Object raised)PUBLIC: Return a new expression that applies the function to the given expression.voidExpressionOperator. printDuo(Expression first, Expression second, ExpressionSQLPrinter printer)INTERNAL: For performance, special case printing two children, since it's by far the most commonvoidExpressionOperator. printJavaDuo(Expression first, Expression second, ExpressionJavaPrinter printer)INTERNAL: For performance, special case printing two children, since it's by far the most commonabstract ExpressionExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionExpressionBuilder. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionExpression. regexp(Expression regexp)PUBLIC: Return an expression that compares if the receivers value matches the regular expression.static ExpressionExpressionMath. round(Expression expression, int decimalPlaces)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. round(Expression expression, Object decimalPlaces)PUBLIC: Return a new expression that applies the function to the given expression.voidExpression. setLocalBase(Expression exp)INTERNAL: Set the local base expression, ie the one on the other side of the operator Most types will ignore this, since they don't need it.static ExpressionExpressionMath. sign(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. sin(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. sinh(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. some(Expression arguments)static ExpressionExpressionMath. sqrt(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. subtract(Expression left, int right)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. subtract(Expression left, Object right)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. tan(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. tanh(Expression expression)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. trunc(Expression expression, int decimalPlaces)PUBLIC: Return a new expression that applies the function to the given expression.static ExpressionExpressionMath. trunc(Expression expression, Object decimalPlaces)PUBLIC: Return a new expression that applies the function to the given expression.ExpressionExpression. twist(Expression expression, Expression newBase)INTERNAL: We are given an expression that comes from a different context than the one in which this was built, e.g.ExpressionExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionExpressionBuilder. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionExpression. union(Expression arguments)PUBLIC: Return a union expression with the subquery.ExpressionExpression. unionAll(Expression arguments)PUBLIC: Return a union all expression with the subquery.Method parameters in org.eclipse.persistence.expressions with type arguments of type Expression Modifier and Type Method Description ExpressionExpression. caseConditionStatement(Map<Expression,Object> caseConditions, Object defaultItem)PUBLIC: Function Convert values returned by the query to values given in the caseConditions Map.voidExpressionOperator. printCollection(List<Expression> items, ExpressionSQLPrinter printer)INTERNAL: Print the collection onto the SQL stream.voidExpressionOperator. printJavaCollection(List<Expression> items, ExpressionJavaPrinter printer)INTERNAL: Print the collection onto the SQL stream. -
Uses of Expression in org.eclipse.persistence.history
Methods in org.eclipse.persistence.history that return Expression Modifier and Type Method Description ExpressionHistoryPolicy. additionalHistoryExpression(Expression context, Expression base)INTERNAL: Add any temporal querying conditions to this object expression.ExpressionHistoryPolicy. additionalHistoryExpression(Expression context, Expression base, Integer tableIndex)INTERNAL: Add any temporal querying conditions to this object expression.Methods in org.eclipse.persistence.history with parameters of type Expression Modifier and Type Method Description ExpressionHistoryPolicy. additionalHistoryExpression(Expression context, Expression base)INTERNAL: Add any temporal querying conditions to this object expression.ExpressionHistoryPolicy. additionalHistoryExpression(Expression context, Expression base, Integer tableIndex)INTERNAL: Add any temporal querying conditions to this object expression.Constructors in org.eclipse.persistence.history with parameters of type Expression Constructor Description AsOfClause(Expression expression)AsOfSCNClause(Expression expression) -
Uses of Expression in org.eclipse.persistence.internal.databaseaccess
Methods in org.eclipse.persistence.internal.databaseaccess that return Expression Modifier and Type Method Description ExpressionDatabasePlatform. buildBatchCriteria(ExpressionBuilder builder, Expression field)INTERNAL: Return the selection criteria used to IN batch fetching.ExpressionDatabasePlatform. buildBatchCriteriaForComplexId(ExpressionBuilder builder, List<Expression> fields)INTERNAL: Return the selection criteria used to IN batch fetching.ExpressionDatasourcePlatform. createExpressionFor(DatabaseField field, Expression builder, String fieldClassificationClassName)INTERNAL: Override this method if the platform needs to use a custom function based on the DatabaseFieldMethods in org.eclipse.persistence.internal.databaseaccess with parameters of type Expression Modifier and Type Method Description ExpressionDatabasePlatform. buildBatchCriteria(ExpressionBuilder builder, Expression field)INTERNAL: Return the selection criteria used to IN batch fetching.ExpressionDatasourcePlatform. createExpressionFor(DatabaseField field, Expression builder, String fieldClassificationClassName)INTERNAL: Override this method if the platform needs to use a custom function based on the DatabaseFieldMethod parameters in org.eclipse.persistence.internal.databaseaccess with type arguments of type Expression Modifier and Type Method Description ExpressionDatabasePlatform. buildBatchCriteriaForComplexId(ExpressionBuilder builder, List<Expression> fields)INTERNAL: Return the selection criteria used to IN batch fetching. -
Uses of Expression in org.eclipse.persistence.internal.descriptors
Fields in org.eclipse.persistence.internal.descriptors declared as Expression Modifier and Type Field Description protected ExpressionObjectBuilder. primaryKeyExpressionExpression for querying an object by primary key.Methods in org.eclipse.persistence.internal.descriptors that return Expression Modifier and Type Method Description ExpressionObjectBuilder. buildDeleteExpression(DatabaseTable table, AbstractRecord row, boolean usesOptimisticLocking)Build and return the expression to use as the where clause to delete an object.ExpressionOptimisticLockingPolicy. buildDeleteExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row)INTERNAL: When given an expression, this method will return a new expression with the optimistic locking values included.ExpressionObjectBuilder. buildExpressionFromExample(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: This method is used when Query By Example is used.ExpressionObjectBuilder. buildPrimaryKeyExpression(DatabaseTable table)Build the primary key expression for the secondary table.ExpressionObjectBuilder. buildPrimaryKeyExpressionFromKeys(Object primaryKey, AbstractSession session)Build the primary key expression from the specified primary key values.ExpressionObjectBuilder. buildPrimaryKeyExpressionFromObject(Object domainObject, AbstractSession session)Build the primary key expression from the specified domain object.ExpressionObjectBuilder. buildUpdateExpression(DatabaseTable table, AbstractRecord transactionRow, AbstractRecord modifyRow)Build and return the expression to use as the where clause to an update object.ExpressionOptimisticLockingPolicy. buildUpdateExpression(DatabaseTable table, Expression mainExpression, AbstractRecord translationRow, AbstractRecord modifyRow)INTERNAL: When given an expression, this method will return a new expression with the optimistic locking values included.ExpressionObjectBuilder. getPrimaryKeyExpression()Return the primary key expressionExpressionOptimisticLockingPolicy. getWriteLockUpdateExpression(ExpressionBuilder builder, AbstractSession session)INTERNAL: This method will return an expression that is used to update its optimistic locking field #see this method in VersionLockingPolicyMethods in org.eclipse.persistence.internal.descriptors with parameters of type Expression Modifier and Type Method Description ExpressionOptimisticLockingPolicy. buildDeleteExpression(DatabaseTable table, Expression mainExpression, AbstractRecord row)INTERNAL: When given an expression, this method will return a new expression with the optimistic locking values included.ExpressionObjectBuilder. buildExpressionFromExample(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: This method is used when Query By Example is used.ExpressionOptimisticLockingPolicy. buildUpdateExpression(DatabaseTable table, Expression mainExpression, AbstractRecord translationRow, AbstractRecord modifyRow)INTERNAL: When given an expression, this method will return a new expression with the optimistic locking values included.ObjectObjectBuilder. extractPrimaryKeyFromExpression(boolean requiresExactMatch, Expression expression, AbstractRecord translationRow, AbstractSession session)Return the row with primary keys and their values from the given expression.AbstractRecordObjectBuilder. extractPrimaryKeyRowFromExpression(Expression expression, AbstractRecord translationRow, AbstractSession session)Return the row with primary keys and their values from the given expression.AbstractRecordObjectBuilder. extractRowFromExpression(Expression expression, AbstractRecord translationRow, AbstractSession session)Return the row from the given expression.booleanObjectBuilder. isPrimaryKeyExpression(boolean requiresExactMatch, Expression expression, AbstractSession session)Return if the expression is by primary key.voidObjectBuilder. setPrimaryKeyExpression(Expression criteria)The primary key expression is cached to improve performance. -
Uses of Expression in org.eclipse.persistence.internal.expressions
Subclasses of Expression in org.eclipse.persistence.internal.expressions Modifier and Type Class Description classArgumentListFunctionExpressionINTERNAL: This an extended FunctionExpression that allows the argument list to grow after it is created.classBaseExpressionGeneric class for an expression with a base.classClassTypeExpressionclassCollectionExpressionUsed for wrapping collection of values or expressions.classCompoundExpressionAbstract class for expression that have exactly two children, such as and/or and relations.classConstantExpressionUsed for wrapping constant values.classDataExpressionSuperclass for all expression that have a context.classDateConstantExpressionINTERNAL: This expression represents a date represented in JDBC escape syntax, for instance, the String: {d '1901-01-01'} can be used to represent a Date and use used only by the JPQL parser.classFieldExpressionField expressions represent a field of a table.classFromAliasExpressionRepresents an alias to a item selected by a from clause sub-select.classFromSubSelectExpressionAllow a table expression to be created on a sub-select to define a sub-select in the from clause.classFunctionExpressionUsed for expressions that have 0 to n children.classIndexExpressionIndex expression may be created by QueryKeyExpression.index() method in case the QueryKeyExpression corresponds to a CollectionMapping with non-null listOrderField.classLiteralExpressionUsed for wrapping literal values.classLogicalExpressionUsed for logical AND and OR.classManualQueryKeyExpressionThis class represents a "query key" that isn't really there in the descriptors.classMapEntryExpressionclassObjectExpressionSuperclass for any object type expressions.classParameterExpressionUsed for parameterized expressions, such as expression defined in mapping queries.classQueryKeyExpressionRepresents expression on query keys or mappings.classRelationExpressionPurpose:Used for all relation operators except for between.classSubSelectExpressionThis is used to support subselects.classTableExpressionA TableExpression allows for a raw database table to be referenced in a query.classTreatAsExpressionFields in org.eclipse.persistence.internal.expressions declared as Expression Modifier and Type Field Description protected ExpressionExpressionNormalizer. additionalExpressionA new root expression can be made from joins being added to the original expression.protected ExpressionExpressionNormalizer. additionalLocalExpressionLocal expression from joins being added to the original expression.protected ExpressionBaseExpression. baseExpressionThe base expression is what this was derived from.protected ExpressionSQLSelectStatement. connectByExpressionprotected ExpressionSubSelectExpression. criteriaBaseprotected ExpressionCompoundExpression. firstChildprotected ExpressionSQLSelectStatement. havingExpressionHaving clause for report queries.protected ExpressionSQLDeleteAllStatement. inheritanceExpressionprotected ExpressionObjectExpression. joinSourceDefines that this expression has been joined to the source expression.protected ExpressionConstantExpression. localBaseprotected ExpressionLiteralExpression. localBaseprotected ExpressionParameterExpression. localBaseThe opposite side of the relation, this is used for conversion of the parameter using the others mapping.protected ExpressionObjectExpression. onClauseAllow for an ON clause to be specified on a join condition.protected ExpressionCompoundExpression. secondChildprotected ExpressionSQLSelectStatement. startWithExpressionUsed for Oracle Hierarchical Queriesprotected ExpressionTreatAsExpression. typeExpressionprotected ExpressionSQLStatement. whereClauseFields in org.eclipse.persistence.internal.expressions with type parameters of type Expression Modifier and Type Field Description protected Vector<Expression>FunctionExpression. childrenprotected Map<Expression,Expression>ExpressionNormalizer. clonedExpressionsUsed to maintain identity of cloned expressions.protected Map<Expression,Expression>ExpressionNormalizer. clonedExpressionsUsed to maintain identity of cloned expressions.List<Expression>ObjectExpression. derivedExpressionsprotected List<Expression>DataExpression. derivedFieldsprotected List<Expression>DataExpression. derivedTablesprotected List<Expression>SQLSelectStatement. groupByExpressionsGroup by clause for report queries.protected List<Expression>ForUpdateOfClause. lockedExpressionsprotected Map<Expression,Expression>SQLSelectStatement. optimizedClonedExpressionsIt is used by subselect to re-normalize joinsprotected Map<Expression,Expression>SQLSelectStatement. optimizedClonedExpressionsIt is used by subselect to re-normalize joinsprotected List<Expression>SQLSelectStatement. orderByExpressionsOrder by clause for read all queries.protected List<Expression>SQLSelectStatement. orderSiblingsByExpressionsprotected List<Expression>SQLSelectStatement. unionExpressionsUnion clause.Methods in org.eclipse.persistence.internal.expressions that return Expression Modifier and Type Method Description ExpressionObjectExpression. additionalExpressionCriteria()INTERNAL: Return the expression to join the main table of this node to any auxiliary tables.ExpressionQueryKeyExpression. additionalExpressionCriteria()INTERNAL: Return the expression to join the main table of this node to any auxiliary tables.ExpressionTreatAsExpression. additionalTreatExpressionCriteria()INTERNAL: Return the expression to join the main table of this node to any auxiliary tables.ExpressionObjectExpression. anyOf(String attributeName, boolean shouldJoinBeIndependent)PUBLIC: Return an expression representing traversal of a 1:many or many:many relationship.ExpressionObjectExpression. anyOfAllowingNone(String attributeName, boolean shouldJoinBeIndependent)ADVANCED: Return an expression representing traversal of a 1:many or many:many relationship.ExpressionCompoundExpression. asOf(AsOfClause clause)ExpressionDataExpression. asOf(AsOfClause clause)ExpressionFunctionExpression. asOf(AsOfClause clause)protected ExpressionRelationExpression. checkForeignKeyJoinOptimization(Expression first, Expression second, ExpressionNormalizer normalizer)PERF: Optimize out unnecessary joins.protected ExpressionQueryKeyExpression. checkJoinForSubSelectWithParent(ExpressionNormalizer normalizer, Expression base, List<Expression> foreignKeyJoinPointer)INTERNAL: Check if new expression need to be created for sub queries and re-normalized.ExpressionTreatAsExpression. convertToUseOuterJoin()ExpressionCompoundExpression. create(Expression base, Object singleArgument, ExpressionOperator operator)INTERNAL:ExpressionCompoundExpression. create(Expression base, List arguments, ExpressionOperator operator)INTERNAL:ExpressionFunctionExpression. create(Expression base, Object singleArgument, ExpressionOperator anOperator)INTERNAL:ExpressionFunctionExpression. create(Expression base, List arguments, ExpressionOperator anOperator)INTERNAL:ExpressionFunctionExpression. createWithBaseLast(Expression base, Object singleArgument, ExpressionOperator anOperator)INTERNAL: added for Trim support.ExpressionObjectExpression. derivedManualExpressionNamed(String attributeName, ClassDescriptor aDescriptor)ExpressionDataExpression. existingDerivedField(DatabaseField field)INTERNAL:ExpressionDataExpression. existingDerivedTable(DatabaseTable table)INTERNAL:ExpressionMapEntryExpression. existingDerivedTable(DatabaseTable table)INTERNAL:ExpressionFromSubSelectExpression. get(String alias)This is used by sub-selects in the from clause to define a virtual table, 'get' allows one of the sub-selected attributes to be aliased without using the field name.ExpressionObjectExpression. get(String attributeName, boolean forceInnerJoin)Return the expression from the attribute dervied from this expression.ExpressionParameterExpression. get(String attributeOrQueryKey)This allows for nesting of parameterized expression.ExpressionExpressionNormalizer. getAdditionalExpression()ExpressionDataExpression. getAlias(Expression subSelect)ADVANCED: Return an expression representing a sub-select in the from clause.ExpressionTreatAsExpression. getAlias(Expression subSelect)ExpressionObjectExpression. getAllowingNull(String attributeName)ExpressionBaseExpression. getBaseExpression()The base expression is what the parameter was derived from.ExpressionSQLSelectStatement. getConnectByExpression()INTERNAL: Return the CONNECT BY expressionExpressionDataExpression. getField(String fieldName)ExpressionDataExpression. getField(DatabaseField field)ExpressionParameterExpression. getField(DatabaseField field)This allows for nesting of parametrized expression.ExpressionTableExpression. getField(String fieldName)INTERNAL: Fully-qualify the databaseField if the table is known.ExpressionCompoundExpression. getFirstChild()ExpressionSQLSelectStatement. getHavingExpression()INTERNAL: Return the having expression.ExpressionSQLDeleteAllStatement. getInheritanceExpression()ExpressionObjectExpression. getJoinSource()ExpressionConstantExpression. getLocalBase()protected ExpressionLiteralExpression. getLocalBase()ExpressionParameterExpression. getLocalBase()The opposite side of the relation, this is used for conversion of the parameter using the others mapping.ExpressionObjectExpression. getManualQueryKey(String attributeName, ClassDescriptor aDescriptor)ExpressionObjectExpression. getOnClause()ExpressionCompoundExpression. getSecondChild()ExpressionSQLSelectStatement. getStartWithExpression()INTERNAL: Return the StartWith expressionExpressionSubSelectDatabaseTable. getSubSelect()ExpressionDataExpression. getTable(String tableName)ExpressionDataExpression. getTable(DatabaseTable table)ExpressionTreatAsExpression. getTreatCriteria()INTERNAL: this returns a single expression to represent the join from the main table to all child descriptor tables Only if outer joins should be printed in the where clauseExpressionTreatAsExpression. getTypeClause()ExpressionSQLStatement. getWhereClause()ExpressionQueryKeyExpression. index()ExpressionObjectExpression. join(Expression target, Expression onClause)Defines a join between this expression and the target expression based on the ON clause.ExpressionObjectExpression. leftJoin(Expression target, Expression onClause)Defines a join between this expression and the target expression based on the ON clause.ExpressionManualQueryKeyExpression. mappingCriteria(Expression base)ExpressionMapEntryExpression. mappingCriteria(Expression base)INTERNAL: Mapping criteria will be provided by the base expressionExpressionQueryKeyExpression. mappingCriteria(Expression base)ExpressionTreatAsExpression. mappingCriteria(Expression base)ExpressionDataExpression. newDerivedField(DatabaseField field)INTERNAL:ExpressionDataExpression. newDerivedTable(DatabaseTable table)INTERNAL:ExpressionObjectExpression. newManualDerivedExpressionNamed(String attributeName, ClassDescriptor aDescriptor)ExpressionClassTypeExpression. normalize(ExpressionNormalizer normalizer, Vector foreignKeyJoinPointer)INTERNAL: For CR#2456 if this is part of an objExp.equal(objExp), do not need to add additional expressions to normalizer both times, and the foreign key join replaces the equal expression.ExpressionCompoundExpression. normalize(ExpressionNormalizer normalizer)INTERNAL: Normalize into a structure that is printable.ExpressionConstantExpression. normalize(ExpressionNormalizer normalizer)INTERNAL: Normalize collection of values if they are expressions.ExpressionDataExpression. normalize(ExpressionNormalizer normalizer)INTERNAL: Normalize the expression into a printable structure.ExpressionFieldExpression. normalize(ExpressionNormalizer normalizer)INTERNAL: Normalize the expression into a printable structure.ExpressionFromSubSelectExpression. normalize(ExpressionNormalizer normalizer)INTERNAL: Normalize the expression into a printable structure.ExpressionFunctionExpression. normalize(ExpressionNormalizer normalizer)INTERNAL: Normalize into a structure that is printable.ExpressionIndexExpression. normalize(ExpressionNormalizer normalizer)INTERNAL: Normalize the expression into a printable structure.ExpressionQueryKeyExpression. normalize(ExpressionNormalizer normalizer)INTERNAL: Normalize the expression into a printable structure.ExpressionQueryKeyExpression. normalize(ExpressionNormalizer normalizer, Expression base, List<Expression> foreignKeyJoinPointer)INTERNAL: For CR#2456 if this is part of an objExp.equal(objExp), do not need to add additional expressions to normalizer both times, and the foreign key join replaces the equal expression.ExpressionRelationExpression. normalize(ExpressionNormalizer normalizer)INTERNAL: Check for object comparison as this requires for the expression to be replaced by the object comparison.ExpressionSubSelectExpression. normalize(ExpressionNormalizer normalizer)INTERNAL: The subquery must be normalized with the knowledge of the outer statement for outer references and correct aliasing.ExpressionTableExpression. normalize(ExpressionNormalizer normalizer)INTERNAL: Normalize the expression into a printable structure.ExpressionTreatAsExpression. normalize(ExpressionNormalizer normalizer, Expression base, List<Expression> foreignKeyJoinPointer)ExpressionSubSelectExpression. normalizeSubSelect(ExpressionNormalizer normalizer, Map clonedExpressions)INTERNAL: Normalize this expression now that the parent statement has been normalized.ExpressionExpressionNormalizer. processAdditionalLocalExpressions(Expression localExpression, boolean isLogicalExpression)INTERNAL This will return the localExpression if isLogicalExpression is false, otherwise it will check the addAdditionalExpressionsWithinCurrrentExpressionContext flag and clear additionalLocalExpression once adding it to the localExpression.ExpressionSQLSelectStatement. rebuildExpression(Expression expression, Expression primaryBuilder, Map<Expression,Expression> clonedExpressions)Rebuild the expression if required.ExpressionClassTypeExpression. rebuildOn(Expression newBase)ExpressionCompoundExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionConstantExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionFieldExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionFromSubSelectExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionFunctionExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionLiteralExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionManualQueryKeyExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionMapEntryExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionMapEntryExpression. rebuildOn(Expression oldBase, Expression newBase)INTERNAL: A special version of rebuildOn where the newBase need not be a new ExpressionBuilder but any expression.ExpressionParameterExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionQueryKeyExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionQueryKeyExpression. rebuildOn(Expression oldBase, Expression newBase)INTERNAL: A special version of rebuildOn where the newBase need not be a new ExpressionBuilder but any expression.ExpressionSubSelectExpression. rebuildOn(Expression newBase)Should not rebuild as has its on expression builder.ExpressionTableExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionTreatAsExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionBaseExpression. shallowClone()INTERNAL: Clear the builder when cloning.ExpressionCompoundExpression. shallowClone()INTERNAL: Clear the builder when cloning.ExpressionObjectExpression. treat(Class<?> castClass)Return an expression that allows you to treat its base as if it were a subclass of the class returned by the base This can only be called on an ExpressionBuilder, the result of expression.get(String), expression.getAllowingNull(String), the result of expression.anyOf("String") or the result of expression.anyOfAllowingNull("String") downcast uses Expression.type() internally to guarantee the results are of the specified class.ExpressionQueryKeyExpression. treat(Class<?> castClass)ADVANCED: Return an expression that allows you to treat its base as if it were a subclass of the class returned by the base This can only be called on an ExpressionBuilder, the result of expression.get(String), expression.getAllowingNull(String), the result of expression.anyOf("String") or the result of expression.anyOfAllowingNull("String") downcast uses Expression.type() internally to guarantee the results are of the specified class.ExpressionClassTypeExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)ExpressionCompoundExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTRENAL: Used to change an expression off of one base to an expression off of a different base.ExpressionConstantExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionFieldExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionFromSubSelectExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionFunctionExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionLiteralExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionManualQueryKeyExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionParameterExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild against the base, with the values of parameters supplied by the context expression.ExpressionQueryKeyExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionSubSelectExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)ExpressionTableExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionTreatAsExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)ExpressionObjectExpression. type()PUBLIC: Return an expression that wraps the inheritance type field in an expression.Methods in org.eclipse.persistence.internal.expressions that return types with arguments of type Expression Modifier and Type Method Description List<Expression>DataExpression. copyCollection(List<Expression> in, Map alreadyDone)List<Expression>ObjectExpression. copyDerivedExpressions(Map alreadyDone)Vector<Expression>FunctionExpression. getChildren()Map<Expression,Expression>ExpressionNormalizer. getClonedExpressions()Map<Expression,Expression>ExpressionNormalizer. getClonedExpressions()List<Expression>SQLSelectStatement. getGroupByExpressions()INTERNAL: Return the group bys.List<Expression>ForUpdateOfClause. getLockedExpressions()Map<Expression,Expression>SQLSelectStatement. getOptimizedClonedExpressions()INTERNAL: It is used by subqueries to avoid duplicate joins.Map<Expression,Expression>SQLSelectStatement. getOptimizedClonedExpressions()INTERNAL: It is used by subqueries to avoid duplicate joins.List<Expression>SQLSelectStatement. getOrderByExpressions()INTERNAL: Return the order expressions for the query.List<Expression>SQLSelectStatement. getOrderSiblingsByExpressions()INTERNAL: Return the ORDER SIBLINGS BY expressionList<Expression>SQLSelectStatement. getUnionExpressions()Methods in org.eclipse.persistence.internal.expressions with parameters of type Expression Modifier and Type Method Description voidExpressionNormalizer. addAdditionalExpression(Expression theExpression)voidExpressionNormalizer. addAdditionalLocalExpression(Expression theExpression)Similar to addAdditionalExpression, this keeps a running expression used for joins so that they can be added locally within 'OR' predicates rather than to the entire where clause.voidArgumentListFunctionExpression. addChild(Expression argument)INTERNAL: Add a new Expression to the list of arguments.voidFunctionExpression. addChild(Expression child)voidObjectExpression. addDerivedExpression(Expression addThis)INTERNAL: Add the expression as a derived child of this expression.voidDataExpression. addDerivedField(Expression addThis)voidDataExpression. addDerivedTable(Expression addThis)voidSQLSelectStatement. addField(Expression expression)INTERNAL: adds an expression to the fields.voidSQLSelectStatement. addOptimizedClonedExpressions(Expression originalKey, Expression optimizedValue)INTERNAL: It is used by subqueries to avoid duplicate joins.IntegerSQLSelectStatement. addOuterJoinExpressionsHolders(ObjectExpression joinExpression, Expression outerJoinedMappingCriteria, Map<DatabaseTable,Expression> outerJoinedAdditionalJoinCriteria, ClassDescriptor descriptor)INTERNAL: Used by ExpressionBuilder and QueryKeyExpression normalization to create a standard outerjoin.voidArgumentListFunctionExpression. addRightMostChild(Expression argument)INTERNAL: Add a child and ensure it is the rightmost in the tree as long as it is in the tree If there is already a node that is set as therightmost node, replace itprotected ExpressionRelationExpression. checkForeignKeyJoinOptimization(Expression first, Expression second, ExpressionNormalizer normalizer)PERF: Optimize out unnecessary joins.protected ExpressionQueryKeyExpression. checkJoinForSubSelectWithParent(ExpressionNormalizer normalizer, Expression base, List<Expression> foreignKeyJoinPointer)INTERNAL: Check if new expression need to be created for sub queries and re-normalized.ExpressionCompoundExpression. create(Expression base, Object singleArgument, ExpressionOperator operator)INTERNAL:ExpressionCompoundExpression. create(Expression base, List arguments, ExpressionOperator operator)INTERNAL:ExpressionFunctionExpression. create(Expression base, Object singleArgument, ExpressionOperator anOperator)INTERNAL:ExpressionFunctionExpression. create(Expression base, List arguments, ExpressionOperator anOperator)INTERNAL:static SubSelectExpressionSubSelectExpression. createSubSelectExpressionForCount(Expression outerQueryBaseExpression, Expression outerQueryCriteria, String attribute, Class<?> returnType)INTERNAL: This factory method is used to build a subselect that will do a count.ExpressionFunctionExpression. createWithBaseLast(Expression base, Object singleArgument, ExpressionOperator anOperator)INTERNAL: added for Trim support.protected booleanSQLSelectStatement. fieldsContainField(List fields, Expression expression)Check if the field from the field expression is already contained in the select clause of the statement.ExpressionDataExpression. getAlias(Expression subSelect)ADVANCED: Return an expression representing a sub-select in the from clause.ExpressionTreatAsExpression. getAlias(Expression subSelect)protected QueryKeyFunctionExpression. getLeafQueryKeyFor(DatabaseQuery query, Expression expression, ClassDescriptor rootDescriptor, AbstractSession session)INTERNAL: Lookup the query key for this item.booleanExpressionIterator. hasAlreadyVisited(Expression expression)Answers if this expression has already been visited.abstract voidExpressionIterator. iterate(Expression expression)INTERNAL: This method must be defined by subclasses to implement the logic of the iteratation.voidExpressionIterator. iterateOn(Expression expression)INTERNAL: Return the call.ExpressionObjectExpression. join(Expression target, Expression onClause)Defines a join between this expression and the target expression based on the ON clause.ExpressionObjectExpression. leftJoin(Expression target, Expression onClause)Defines a join between this expression and the target expression based on the ON clause.ExpressionManualQueryKeyExpression. mappingCriteria(Expression base)ExpressionMapEntryExpression. mappingCriteria(Expression base)INTERNAL: Mapping criteria will be provided by the base expressionExpressionQueryKeyExpression. mappingCriteria(Expression base)ExpressionTreatAsExpression. mappingCriteria(Expression base)static SortedSetSQLSelectStatement. mapTableIndexToExpression(Expression expression, TreeMap map, List<DatabaseTable> tablesInOrder)INTERNAL: The method searches for expressions that join two tables each in a given expression.static MapSQLSelectStatement. mapTableToExpression(Expression expression, Vector tablesInOrder)INTERNAL: The method searches for expressions that join two tables each in a given expression.ExpressionQueryKeyExpression. normalize(ExpressionNormalizer normalizer, Expression base, List<Expression> foreignKeyJoinPointer)INTERNAL: For CR#2456 if this is part of an objExp.equal(objExp), do not need to add additional expressions to normalizer both times, and the foreign key join replaces the equal expression.ExpressionTreatAsExpression. normalize(ExpressionNormalizer normalizer, Expression base, List<Expression> foreignKeyJoinPointer)protected voidSQLSelectStatement. normalizeOrderBy(Expression builder, List<Expression> allExpressions, Map<Expression,Expression> clonedExpressions, AbstractSession session)Check the order by for object expressions.protected voidExtractOperator. printDayJava(Expression first, Expression second, ExpressionJavaPrinter printer)Printer for DAY (<date-time-part>argument.protected voidExtractOperator. printDaySQL(Expression first, Expression second, ExpressionSQLPrinter printer)Printer for DAY (<date-time-part>argument.voidExtractOperator. printDuo(Expression first, Expression second, ExpressionSQLPrinter printer)voidExpressionSQLPrinter. printExpression(Expression expression)protected voidExtractOperator. printHourJava(Expression first, Expression second, ExpressionJavaPrinter printer)Printer for HOUR (<date-time-part>argument.protected voidExtractOperator. printHourSQL(Expression first, Expression second, ExpressionSQLPrinter printer)Printer for HOUR (<date-time-part>argument.voidExtractOperator. printJavaDuo(Expression first, Expression second, ExpressionJavaPrinter printer)protected voidExtractOperator. printMinuteJava(Expression first, Expression second, ExpressionJavaPrinter printer)Printer for MINUTE (<date-time-part>argument.protected voidExtractOperator. printMinuteSQL(Expression first, Expression second, ExpressionSQLPrinter printer)Printer for MINUTE (<date-time-part>argument.protected voidExtractOperator. printMonthJava(Expression first, Expression second, ExpressionJavaPrinter printer)Printer for MONTH (<date-time-part>argument.protected voidExtractOperator. printMonthSQL(Expression first, Expression second, ExpressionSQLPrinter printer)Printer for MONTH (<date-time-part>argument.protected voidSQLSelectStatement. printOnClause(Expression onClause, ExpressionSQLPrinter printer, DatabasePlatform platform)Print the outer join ON clause.protected voidExtractOperator. printQuarterJava(Expression first, Expression second, ExpressionJavaPrinter printer)Printer for QUARTER (<date-time-part>argument.protected voidExtractOperator. printQuarterSQL(Expression first, Expression second, ExpressionSQLPrinter printer)Printer for QUARTER (<date-time-part>argument.protected voidExtractOperator. printSecondJava(Expression first, Expression second, ExpressionJavaPrinter printer)Printer for SECOND (<date-time-part>argument.protected voidExtractOperator. printSecondSQL(Expression first, Expression second, ExpressionSQLPrinter printer)Printer for SECOND (<date-time-part>argument.protected voidExtractOperator. printWeekJava(Expression first, Expression second, ExpressionJavaPrinter printer)Printer for WEEK (<date-time-part>argument.protected voidExtractOperator. printWeekSQL(Expression first, Expression second, ExpressionSQLPrinter printer)Printer for WEEK (<date-time-part>argument.protected voidExtractOperator. printYearJava(Expression first, Expression second, ExpressionJavaPrinter printer)Printer for YEAR (<date-time-part>argument.protected voidExtractOperator. printYearSQL(Expression first, Expression second, ExpressionSQLPrinter printer)Printer for YEAR (<date-time-part>argument.ExpressionExpressionNormalizer. processAdditionalLocalExpressions(Expression localExpression, boolean isLogicalExpression)INTERNAL This will return the localExpression if isLogicalExpression is false, otherwise it will check the addAdditionalExpressionsWithinCurrrentExpressionContext flag and clear additionalLocalExpression once adding it to the localExpression.ExpressionSQLSelectStatement. rebuildExpression(Expression expression, Expression primaryBuilder, Map<Expression,Expression> clonedExpressions)Rebuild the expression if required.ExpressionClassTypeExpression. rebuildOn(Expression newBase)ExpressionCompoundExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionConstantExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionFieldExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionFromSubSelectExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionFunctionExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionLiteralExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionManualQueryKeyExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionMapEntryExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionMapEntryExpression. rebuildOn(Expression oldBase, Expression newBase)INTERNAL: A special version of rebuildOn where the newBase need not be a new ExpressionBuilder but any expression.ExpressionParameterExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionQueryKeyExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionQueryKeyExpression. rebuildOn(Expression oldBase, Expression newBase)INTERNAL: A special version of rebuildOn where the newBase need not be a new ExpressionBuilder but any expression.ExpressionSubSelectExpression. rebuildOn(Expression newBase)Should not rebuild as has its on expression builder.ExpressionTableExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.ExpressionTreatAsExpression. rebuildOn(Expression newBase)INTERNAL: This expression is built on a different base than the one we want.voidExpressionNormalizer. setAdditionalExpression(Expression additionalExpression)voidBaseExpression. setBaseExpression(Expression baseExpression)The base expression is what the parameter was derived from.protected voidCompoundExpression. setFirstChild(Expression firstChild)voidSQLSelectStatement. setHavingExpression(Expression expressions)voidSQLSelectStatement. setHierarchicalQueryExpressions(Expression startWith, Expression connectBy, List<Expression> orderSiblingsExpressions)INTERNAL: takes the hierarchical query expression which have been set on the query and sets them here used to generate the Hierarchical Query Clause in the SQLvoidSQLSelectStatement. setHierarchicalQueryExpressions(Expression startWith, Expression connectBy, List<Expression> orderSiblingsExpressions, ReadAllQuery.Direction direction)INTERNAL: takes the hierarchical query expression which have been set on the query and sets them here used to generate the Hierarchical Query Clause in the SQLvoidSQLDeleteAllStatement. setInheritanceExpression(Expression inheritanceExpression)voidObjectExpression. setJoinSource(Expression joinSource)voidCollectionExpression. setLocalBase(Expression e)voidConstantExpression. setLocalBase(Expression e)voidFunctionExpression. setLocalBase(Expression exp)voidLiteralExpression. setLocalBase(Expression e)voidParameterExpression. setLocalBase(Expression localBase)The opposite side of the relation, this is used for conversion of the parameter using the others mapping.voidSQLSelectStatement. setNormalizedWhereClause(Expression whereClause)Set the where clause expression.voidObjectExpression. setOnClause(Expression onClause)protected voidCompoundExpression. setSecondChild(Expression secondChild)voidSubSelectDatabaseTable. setSubSelect(Expression subSelect)voidSQLStatement. setWhereClause(Expression expression)protected voidExpressionSQLPrinter. translateExpression(Expression theExpression)Translate an expression i.e.ExpressionClassTypeExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)ExpressionCompoundExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTRENAL: Used to change an expression off of one base to an expression off of a different base.ExpressionConstantExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionFieldExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionFromSubSelectExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionFunctionExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionLiteralExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionManualQueryKeyExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionParameterExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild against the base, with the values of parameters supplied by the context expression.ExpressionQueryKeyExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionSubSelectExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)ExpressionTableExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)INTERNAL: Rebuild myself against the base, with the values of parameters supplied by the context expression.ExpressionTreatAsExpression. twistedForBaseAndContext(Expression newBase, Expression context, Expression oldBase)protected voidSQLSelectStatement. writeFieldsFromExpression(ExpressionSQLPrinter printer, Expression expression, Vector<DatabaseField> newFields)INTERNAL:Method parameters in org.eclipse.persistence.internal.expressions with type arguments of type Expression Modifier and Type Method Description IntegerSQLSelectStatement. addOuterJoinExpressionsHolders(Map<DatabaseTable,Expression> outerJoinedAdditionalJoinCriteria, ClassDescriptor descriptor)INTERNAL: used by TREAT to add in a join from the parent table to the child tables when the parent expression did not add an outer join of its ownIntegerSQLSelectStatement. addOuterJoinExpressionsHolders(ObjectExpression joinExpression, Expression outerJoinedMappingCriteria, Map<DatabaseTable,Expression> outerJoinedAdditionalJoinCriteria, ClassDescriptor descriptor)INTERNAL: Used by ExpressionBuilder and QueryKeyExpression normalization to create a standard outerjoin.protected ExpressionQueryKeyExpression. checkJoinForSubSelectWithParent(ExpressionNormalizer normalizer, Expression base, List<Expression> foreignKeyJoinPointer)INTERNAL: Check if new expression need to be created for sub queries and re-normalized.List<Expression>DataExpression. copyCollection(List<Expression> in, Map alreadyDone)ExpressionQueryKeyExpression. normalize(ExpressionNormalizer normalizer, Expression base, List<Expression> foreignKeyJoinPointer)INTERNAL: For CR#2456 if this is part of an objExp.equal(objExp), do not need to add additional expressions to normalizer both times, and the foreign key join replaces the equal expression.ExpressionTreatAsExpression. normalize(ExpressionNormalizer normalizer, Expression base, List<Expression> foreignKeyJoinPointer)protected voidSQLSelectStatement. normalizeOrderBy(Expression builder, List<Expression> allExpressions, Map<Expression,Expression> clonedExpressions, AbstractSession session)Check the order by for object expressions.protected voidSQLSelectStatement. normalizeOrderBy(Expression builder, List<Expression> allExpressions, Map<Expression,Expression> clonedExpressions, AbstractSession session)Check the order by for object expressions.protected voidSQLSelectStatement. normalizeOrderBy(Expression builder, List<Expression> allExpressions, Map<Expression,Expression> clonedExpressions, AbstractSession session)Check the order by for object expressions.voidObjectExpression. postCopyIn(Map alreadyDone, List<Expression> oldDerivedFields, List<Expression> oldDerivedTables)INTERNAL: The method was added to circumvent derivedFields and derivedTables being protected.voidExtractOperator. printCollection(List<Expression> items, ExpressionSQLPrinter printer)voidExtractOperator. printJavaCollection(List<Expression> items, ExpressionJavaPrinter printer)ExpressionSQLSelectStatement. rebuildExpression(Expression expression, Expression primaryBuilder, Map<Expression,Expression> clonedExpressions)Rebuild the expression if required.ExpressionSQLSelectStatement. rebuildExpression(Expression expression, Expression primaryBuilder, Map<Expression,Expression> clonedExpressions)Rebuild the expression if required.voidExpressionNormalizer. setClonedExpressions(Map<Expression,Expression> clonedExpressions)voidExpressionNormalizer. setClonedExpressions(Map<Expression,Expression> clonedExpressions)voidSQLSelectStatement. setGroupByExpressions(List<Expression> expressions)voidSQLSelectStatement. setHierarchicalQueryExpressions(Expression startWith, Expression connectBy, List<Expression> orderSiblingsExpressions)INTERNAL: takes the hierarchical query expression which have been set on the query and sets them here used to generate the Hierarchical Query Clause in the SQLvoidSQLSelectStatement. setHierarchicalQueryExpressions(Expression startWith, Expression connectBy, List<Expression> orderSiblingsExpressions, ReadAllQuery.Direction direction)INTERNAL: takes the hierarchical query expression which have been set on the query and sets them here used to generate the Hierarchical Query Clause in the SQLvoidForUpdateOfClause. setLockedExpressions(List<Expression> lockedExpressions)voidSQLSelectStatement. setOrderByExpressions(List<Expression> orderByExpressions)voidSQLSelectStatement. setUnionExpressions(List<Expression> unionExpressions)Constructor parameters in org.eclipse.persistence.internal.expressions with type arguments of type Expression Constructor Description OuterJoinExpressionHolder(SQLSelectStatement statement, ObjectExpression joinExpression, Expression outerJoinedMappingCriteria, Map<DatabaseTable,Expression> outerJoinedAdditionalJoinCriteria, ClassDescriptor descriptor) -
Uses of Expression in org.eclipse.persistence.internal.helper
Fields in org.eclipse.persistence.internal.helper declared as Expression Modifier and Type Field Description protected ExpressionFunctionField. expressionFields in org.eclipse.persistence.internal.helper with type parameters of type Expression Modifier and Type Field Description static Class<Expression>ClassConstants. Expression_ClassMethods in org.eclipse.persistence.internal.helper that return Expression Modifier and Type Method Description ExpressionFunctionField. getExpression()Methods in org.eclipse.persistence.internal.helper with parameters of type Expression Modifier and Type Method Description voidFunctionField. setExpression(Expression expression) -
Uses of Expression in org.eclipse.persistence.internal.identitymaps
Methods in org.eclipse.persistence.internal.identitymaps with parameters of type Expression Modifier and Type Method Description VectorIdentityMapManager. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy, boolean shouldReturnInvalidatedObjects)Query the cache in-memory.ObjectIdentityMapManager. getFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy, boolean conforming, boolean shouldReturnInvalidatedObjects, ClassDescriptor descriptor)voidIdentityMapManager. invalidateObjects(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, boolean shouldInvalidateOnException)Invalidate objects meeting selectionCriteria. -
Uses of Expression in org.eclipse.persistence.internal.jpa.jpql
Methods in org.eclipse.persistence.internal.jpa.jpql that return Expression Modifier and Type Method Description ExpressionHermesParser. buildSelectionCriteria(String entityName, String selectionCriteria, AbstractSession session) -
Uses of Expression in org.eclipse.persistence.internal.oxm
Methods in org.eclipse.persistence.internal.oxm with parameters of type Expression Modifier and Type Method Description ObjectXMLObjectBuilder. extractPrimaryKeyFromExpression(boolean requiresExactMatch, Expression expression, AbstractRecord translationRow, AbstractSession session)Override method in superclass in order to set the session on the record.AbstractRecordXMLObjectBuilder. extractPrimaryKeyRowFromExpression(Expression expression, AbstractRecord translationRow, AbstractSession session)Override method in superclass in order to set the session on the record. -
Uses of Expression in org.eclipse.persistence.internal.queries
Fields in org.eclipse.persistence.internal.queries declared as Expression Modifier and Type Field Description protected ExpressionReportItem. attributeExpressionExpression (partial) describing the attribute wantedprotected ExpressionJoinedAttributeManager. lastJoinedAttributeBaseExpressionStores the last used base expression while adding joined attribute expression.protected ExpressionExpressionQueryMechanism. selectionCriteriaFields in org.eclipse.persistence.internal.queries with type parameters of type Expression Modifier and Type Field Description protected List<Expression>JoinedAttributeManager. additionalFieldExpressionsprotected List<Expression>JoinedAttributeManager. joinedAttributeExpressionsStores the joined attributes added through the queryprotected List<Expression>JoinedAttributeManager. joinedAttributesPERF: Cache the local joined attribute expressions.protected List<Expression>JoinedAttributeManager. joinedMappingExpressionsStores the joined attributes as specified in the descriptorprotected List<Expression>JoinedAttributeManager. orderByExpressionsMethods in org.eclipse.persistence.internal.queries that return Expression Modifier and Type Method Description ExpressionJoinedAttributeManager. addAndPrepareJoinedMapping(ForeignReferenceMapping mapping, AbstractSession session)Add the mapping for join fetch, prepare and return the join expression being used.protected ExpressionJoinedAttributeManager. addExpressionAndBaseToGroupedList(Expression expression, List expressionlist, Expression lastJoinedAttributeBaseExpression)adds expression and its base expressions recursively to the expressionList in groups, so that an expression is never listed before its base expressionExpressionExpressionQueryMechanism. buildBaseSelectionCriteria(boolean isSubSelect, Map clonedExpressions)Create the appropriate where clause.ExpressionExpressionQueryMechanism. buildBaseSelectionCriteria(boolean isSubSelect, Map clonedExpressions, boolean shouldUseAdditionalJoinExpression)Create the appropriate where clause.ExpressionReportItem. getAttributeExpression()ExpressionContainerPolicy. getKeySelectionCriteria()INTERNAL: Get the selection criteria for the map key This will be overridden by container policies that allow mapsExpressionMappedKeyMapContainerPolicy. getKeySelectionCriteria()INTERNAL: Get the selection criteria for the map key.ExpressionDatabaseQueryMechanism. getSelectionCriteria()Return the selection criteria for the mechanism.ExpressionExpressionQueryMechanism. getSelectionCriteria()Return the selection criteria of the query.ExpressionStatementQueryMechanism. getSelectionCriteria()Return the selection criteria for the statement.protected ExpressionJoinedAttributeManager. prepareJoinExpression(Expression expression, AbstractSession session)Validate and prepare the join expression.Methods in org.eclipse.persistence.internal.queries that return types with arguments of type Expression Modifier and Type Method Description List<Expression>JoinedAttributeManager. getAdditionalFieldExpressions()Get the list of additional field expressions.List<Expression>JoinedAttributeManager. getAdditionalFieldExpressions_()Get the list of additional field expressions.List<Expression>JoinedAttributeManager. getJoinedAttributeExpressions()Return the attributes that must be joined.List<Expression>JoinedAttributeManager. getJoinedAttributes()Return the attributes that must be joined.List<Expression>JoinedAttributeManager. getJoinedMappingExpressions()Get the list of expressions that represent elements that are joined because of their mapping for this query.List<Expression>JoinedAttributeManager. getOrderByExpressions()Get the list of orderBy expressions.List<Expression>JoinedAttributeManager. getOrderByExpressions_()Get the list of orderBy expressions.Methods in org.eclipse.persistence.internal.queries with parameters of type Expression Modifier and Type Method Description voidContainerPolicy. addAdditionalFieldsToQuery(ReadQuery selectionQuery, Expression baseExpression)INTERNAL: Called when the selection query is being initialized to add any required additional fields to the query.voidMappedKeyMapContainerPolicy. addAdditionalFieldsToQuery(ReadQuery selectionQuery, Expression baseExpression)INTERNAL: Called when the selection query is being initialize to add the fields for the key to the queryvoidOrderedListContainerPolicy. addAdditionalFieldsToQuery(ReadQuery selectionQuery, Expression baseExpression)INTERNAL: Add the index field to the query.protected ExpressionJoinedAttributeManager. addExpressionAndBaseToGroupedList(Expression expression, List expressionlist, Expression lastJoinedAttributeBaseExpression)adds expression and its base expressions recursively to the expressionList in groups, so that an expression is never listed before its base expressionvoidJoinedAttributeManager. addJoinedAttribute(Expression attributeExpression)voidJoinedAttributeManager. addJoinedAttributeExpression(Expression attributeExpression)voidJoinedAttributeManager. addJoinedMappingExpression(Expression mappingExpression)Add an attribute represented by the given attribute name to the list of joins for this query.protected SQLDeleteStatementExpressionQueryMechanism. buildDeleteAllStatement(DatabaseTable table, Expression inheritanceExpression, SQLCall selectCallForExist, SQLSelectStatement selectStatementForExist, SQLCall selectCallForNotExist, SQLSelectStatement selectStatementForNotExist, Collection primaryKeyFields)Return the appropriate delete statement Passing of a call/ statement pair is used because the same pair may be used several times.protected SQLDeleteStatementExpressionQueryMechanism. buildDeleteStatementForDeleteAllQuery(DatabaseTable table, Expression inheritanceExpression)Used by DeleteAllQuery to create DeleteStatement in a simple case when selectionCriteria==null.protected SQLSelectStatementExpressionQueryMechanism. buildReportQuerySelectStatement(boolean isSubSelect, boolean useCustomaryInheritanceExpression, Expression inheritanceExpression, boolean shouldUseAdditionalJoinExpression)Customary inheritance expression is required for DeleteAllQuery and UpdateAllQuery preparation.protected SQLSelectStatementExpressionQueryMechanism. createSQLSelectStatementForAssignedExpressionForUpdateAll(Expression value)protected SQLSelectStatementExpressionQueryMechanism. createSQLSelectStatementForModifyAll(Expression whereClause)protected SQLSelectStatementExpressionQueryMechanism. createSQLSelectStatementForModifyAll(Expression whereClause, Expression inheritanceExpression, ClassDescriptor desc, boolean useCustomaryInheritanceExpression, boolean shouldUseAdditionalJoinExpression)Customary inheritance expression is required for DeleteAllQuery and UpdateAllQuery preparation.ObjectLevelReadQueryJoinedAttributeManager. getNestedJoinedMappingQuery(Expression expression)INTERNAL: Returns the nested query corresponding to the expression.protected ExpressionJoinedAttributeManager. prepareJoinExpression(Expression expression, AbstractSession session)Validate and prepare the join expression.voidReportItem. setAttributeExpression(Expression attributeExpression)voidExpressionQueryMechanism. setSelectionCriteria(Expression expression)Set the selection criteria of the query.Method parameters in org.eclipse.persistence.internal.queries with type arguments of type Expression Modifier and Type Method Description voidJoinedAttributeManager. setAdditionalFieldExpressions_(List<Expression> expressions)Set the list of additional field expressions.voidJoinedAttributeManager. setOrderByExpressions_(List<Expression> expressions)Set the list of orderBy expressions.Constructors in org.eclipse.persistence.internal.queries with parameters of type Expression Constructor Description ExpressionQueryMechanism(DatabaseQuery query, Expression expression)Initialize the state of the queryQueryByExampleMechanism(DatabaseQuery query, Expression expression)Initialize the state of the queryReportItem(String name, Expression attributeExpression) -
Uses of Expression in org.eclipse.persistence.internal.sessions
Methods in org.eclipse.persistence.internal.sessions with parameters of type Expression Modifier and Type Method Description VectorIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow)ADVANCED: Query the cache in-memory.VectorIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy)ADVANCED: Query the cache in-memory.VectorIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy, boolean shouldReturnInvalidatedObjects)ADVANCED: Query the cache in-memory.VectorIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, InMemoryQueryIndirectionPolicy valueHolderPolicy)ADVANCED: Query the cache in-memory.VectorIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, InMemoryQueryIndirectionPolicy valueHolderPolicy, boolean shouldReturnInvalidatedObjects)ADVANCED: Query the cache in-memory.VectorIsolatedClientSessionIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy, boolean shouldReturnInvalidatedObjects)ADVANCED: Query the cache in-memory.VectorUnitOfWorkIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy, boolean shouldReturnInvalidatedObjects)INTERNAL: This method overrides the getAllFromIdentityMap method in Session.VectorUnitOfWorkImpl. getAllFromNewObjects(Expression selectionCriteria, Class<?> theClass, AbstractRecord translationRow, int valueHolderPolicy)INTERNAL: Return any new objects matching the expression.ObjectIdentityMapAccessor. getFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow)ADVANCED: Query the cache in-memory.ObjectIdentityMapAccessor. getFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy)ADVANCED: Query the cache in-memory.ObjectIdentityMapAccessor. getFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy, boolean conforming)INTERNAL: Query the cache in-memory.ObjectIdentityMapAccessor. getFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy, boolean conforming, boolean shouldReturnInvalidatedObjects)INTERNAL: Query the cache in-memory.ObjectIdentityMapAccessor. getFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy, boolean conforming, boolean shouldReturnInvalidatedObjects, ClassDescriptor descriptor)INTERNAL: Query the cache in-memory.ObjectIdentityMapAccessor. getFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, InMemoryQueryIndirectionPolicy valueHolderPolicy)ADVANCED: Query the cache in-memory.ObjectIsolatedClientSessionIdentityMapAccessor. getFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy, boolean conforming, boolean shouldReturnInvalidatedObjects, ClassDescriptor descriptor)INTERNAL: Query the cache in-memory.ObjectUnitOfWorkImpl. getObjectFromNewObjects(Expression selectionCriteria, Class<?> theClass, AbstractRecord translationRow, int valueHolderPolicy)INTERNAL: Return any new object matching the expression.voidIdentityMapAccessor. invalidateObjects(Expression selectionCriteria)ADVANCED: Set all of the objects from the given Expression to be invalid in the cache.voidIdentityMapAccessor. invalidateObjects(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, boolean shouldInvalidateOnException)ADVANCED: Queries the cache in-memory with the passed in criteria and invalidates matching Objects.voidIsolatedClientSessionIdentityMapAccessor. invalidateObjects(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, boolean shouldInvalidateOnException)ADVANCED: Queries the cache in-memory with the passed in criteria and invalidates matching Objects.VectorAbstractSession. readAllObjects(Class<?> domainClass, Expression expression)PUBLIC: Read all of the instances of the class from the database matching the given expression.ObjectAbstractSession. readObject(Class<?> domainClass, Expression expression)PUBLIC: Read the first instance of the class from the database matching the given expression.Map<Object,Object>UnitOfWorkImpl. scanForConformingInstances(Expression selectionCriteria, Class<?> referenceClass, AbstractRecord arguments, ObjectLevelReadQuery query)INTERNAL: Scans the UnitOfWork identity map for conforming instances. -
Uses of Expression in org.eclipse.persistence.mappings
Fields in org.eclipse.persistence.mappings declared as Expression Modifier and Type Field Description protected ExpressionOneToOneMapping. privateOwnedCriteriaFields in org.eclipse.persistence.mappings with type parameters of type Expression Modifier and Type Field Description protected List<Expression>DirectCollectionMapping. orderByExpressionsprotected List<Expression>OneToManyMapping. sourceExpressionsToPostInitializeKeep a reference to the source and target expressions to post initialize when building a selection criteria early.protected List<Expression>OneToOneMapping. sourceExpressionsToPostInitializeKeep a reference to the source and target expressions to post initialize when building a selection criteria early.protected List<Expression>OneToManyMapping. targetExpressionsToPostInitializeprotected List<Expression>OneToOneMapping. targetExpressionsToPostInitializeMethods in org.eclipse.persistence.mappings that return Expression Modifier and Type Method Description protected ExpressionAggregateCollectionMapping. buildBatchCriteria(ExpressionBuilder builder, ObjectLevelReadQuery query)INTERNAL: Return the selection criteria used to IN batch fetching.protected ExpressionDirectCollectionMapping. buildBatchCriteria(ExpressionBuilder builder, ObjectLevelReadQuery query)INTERNAL: Return the selection criteria used to IN batch fetching.protected ExpressionForeignReferenceMapping. buildBatchCriteria(ExpressionBuilder builder, ObjectLevelReadQuery query)INTERNAL: Return the selection criteria used to IN batch fetching.protected ExpressionManyToManyMapping. buildBatchCriteria(ExpressionBuilder builder, ObjectLevelReadQuery query)INTERNAL: Return the selection criteria used to IN batch fetching.protected ExpressionOneToManyMapping. buildBatchCriteria(ExpressionBuilder builder, ObjectLevelReadQuery query)INTERNAL: Return the selection criteria used to IN batch fetching.protected ExpressionOneToOneMapping. buildBatchCriteria(ExpressionBuilder builder, ObjectLevelReadQuery query)INTERNAL: Return the selection criteria used to IN batch fetching.protected ExpressionRelationTableMechanism. buildBatchCriteria(ExpressionBuilder builder, ObjectLevelReadQuery query)INTERNAL: Return the selection criteria used to IN batch fetching.protected ExpressionOneToManyMapping. buildDefaultSelectionCriteriaAndAddFieldsToQuery()The selection criteria are created with target foreign keys and source "primary" keys.ExpressionAggregateCollectionMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ExpressionAggregateMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method generates an expression from a attribute value pair.ExpressionCollectionMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method generates an expression from a attribute value pair.ExpressionDatabaseMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribue and it's value.ExpressionDirectCollectionMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ExpressionObjectReferenceMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method generates an expression from a attribute value pair.ExpressionAggregateObjectMapping. buildObjectJoinExpression(Expression expression, Object value, AbstractSession session)INTERNAL: Used to allow object level comparisons.ExpressionAggregateObjectMapping. buildObjectJoinExpression(Expression expression, Expression argument, AbstractSession session)INTERNAL: Used to allow object level comparisons.ExpressionDatabaseMapping. buildObjectJoinExpression(Expression base, Object value, AbstractSession session)INTERNAL: Used to allow object level comparisons.ExpressionDatabaseMapping. buildObjectJoinExpression(Expression base, Expression argument, AbstractSession session)INTERNAL: Used to allow object level comparisons.ExpressionOneToOneMapping. buildObjectJoinExpression(Expression expression, Object value, AbstractSession session)INTERNAL: Used to allow object level comparisons.ExpressionOneToOneMapping. buildObjectJoinExpression(Expression expression, Expression argument, AbstractSession session)INTERNAL: Used to allow object level comparisons.ExpressionOneToManyMapping. buildSelectionCriteria()This method would allow customers to get the potential selection criteria for a mapping prior to initialization.ExpressionOneToOneMapping. buildSelectionCriteria()This method would allow customers to get the potential selection criteria for a mapping prior to initialization.ExpressionOneToOneMapping. buildSelectionCriteria(boolean useParameter, boolean usePreviousSelectionCriteria)INTERNAL: Build the selection criteria for this mapping.ExpressionRelationTableMechanism. buildSelectionCriteriaAndAddFieldsToQueryInternal(ForeignReferenceMapping mapping, Expression criteria, boolean shouldAddTargetFields, boolean shouldAddFieldsToQuery)INTERNAL: Build the selection criteria to join the source, relation, and target tables.protected ExpressionDirectCollectionMapping. createWhereClauseForDeleteNullQuery(ExpressionBuilder builder)protected ExpressionDirectCollectionMapping. createWhereClauseForDeleteQuery(ExpressionBuilder builder)protected ExpressionCollectionMapping. getAdditionalFieldsBaseExpression(ReadQuery query)INTERNAL: Return the base expression to use for adding fields to the query.protected ExpressionDirectCollectionMapping. getAdditionalFieldsBaseExpression(ReadQuery query)INTERNAL: Return the base expression to use for adding fields to the query.protected ExpressionManyToManyMapping. getAdditionalFieldsBaseExpression(ReadQuery query)INTERNAL: Return the base expression to use for adding fields to the query.ExpressionAggregateObjectMapping. getAdditionalSelectionCriteriaForMapKey()INTERNAL: Return the selection criteria necessary to select the target object when this mapping is a map key.ExpressionOneToOneMapping. getAdditionalSelectionCriteriaForMapKey()INTERNAL: Return the selection criteria necessary to select the target object when this mapping is a map key.protected ExpressionAggregateCollectionMapping. getDeleteAllCriteria(AbstractSession session)Delete all criteria is created with target foreign keys and source keys.ExpressionCollectionMapping. getJoinCriteria(ObjectExpression context, Expression base)INTERNAL: Returns the join criteria stored in the mapping selection query.ExpressionDirectCollectionMapping. getJoinCriteria(ObjectExpression context, Expression base)INTERNAL: Returns the join criteria stored in the mapping selection query.ExpressionForeignReferenceMapping. getJoinCriteria(ObjectExpression context, Expression base)INTERNAL: Returns the join criteria stored in the mapping selection query.ExpressionManyToManyMapping. getJoinCriteria(ObjectExpression context, Expression base)INTERNAL: Returns the join criteria stored in the mapping selection query.ExpressionOneToOneMapping. getPrivateOwnedCriteria()INTERNAL: The private owned criteria is only used outside of the unit of work to compare the previous value of the reference.ExpressionForeignReferenceMapping. getSelectionCriteria()INTERNAL: Returns the selection criteria stored in the mapping selection query.ExpressionRelationTableMechanism. joinRelationTableField(Expression expression, Expression baseExpression)INTERNAL: Adds to the passed expression a single relation table field joined to source field.Methods in org.eclipse.persistence.mappings that return types with arguments of type Expression Modifier and Type Method Description protected List<Expression>DatabaseMapping. extractNestedExpressions(List<Expression> expressions, ExpressionBuilder newRoot)INTERNAL: Extract the nested attribute expressions that apply to this mapping.protected List<Expression>DatabaseMapping. extractNestedNonAggregateExpressions(List<Expression> expressions, ExpressionBuilder newRoot, boolean rootExpressionsAllowed)INTERNAL: Extract the nested attribute expressions that apply to this mapping.List<Expression>DirectCollectionMapping. getOrderByExpressions()PUBLIC: Return the order by expression.List<Expression>AggregateObjectMapping. getOrderByNormalizedExpressions(Expression base)INTERNAL: Aggregate order by all their fields by default.List<Expression>DatabaseMapping. getOrderByNormalizedExpressions(Expression base)INTERNAL: Return the list of fields that should be used if this mapping is used in an order by.List<Expression>DirectCollectionMapping. getOrderByNormalizedExpressions(Expression base)INTERNAL: Return null if this mapping is used in an order by.List<Expression>ForeignReferenceMapping. getOrderByNormalizedExpressions(Expression base)INTERNAL: Relationships order by their target primary key fields by default.List<Expression>OneToOneMapping. getOrderByNormalizedExpressions(Expression base)INTERNAL: Order by foreign key fields if a foreign key mapping (avoids joins).List<Expression>CollectionMapping. getOrderByQueryKeyExpressions()INTERNAL: Return the ordering query keys.Methods in org.eclipse.persistence.mappings with parameters of type Expression Modifier and Type Method Description voidAggregateObjectMapping. addAdditionalFieldsToQuery(ReadQuery selectionQuery, Expression baseExpression)INTERNAL: Used when initializing queries for mappings that use a Map Called when the selection query is being initialized to add the fields for the map key to the queryvoidOneToOneMapping. addAdditionalFieldsToQuery(ReadQuery selectionQuery, Expression baseExpression)INTERNAL: Used when initializing queries for mappings that use a Map.voidDirectCollectionMapping. addOrdering(Expression expression)ADVANCED: Used this method to add custom ordering expressions when fetching the collection.ExpressionAggregateCollectionMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ExpressionAggregateMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method generates an expression from a attribute value pair.ExpressionCollectionMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method generates an expression from a attribute value pair.ExpressionDatabaseMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribue and it's value.ExpressionDirectCollectionMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ExpressionObjectReferenceMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method generates an expression from a attribute value pair.ExpressionAggregateObjectMapping. buildObjectJoinExpression(Expression expression, Object value, AbstractSession session)INTERNAL: Used to allow object level comparisons.ExpressionAggregateObjectMapping. buildObjectJoinExpression(Expression expression, Expression argument, AbstractSession session)INTERNAL: Used to allow object level comparisons.ExpressionDatabaseMapping. buildObjectJoinExpression(Expression base, Object value, AbstractSession session)INTERNAL: Used to allow object level comparisons.ExpressionDatabaseMapping. buildObjectJoinExpression(Expression base, Expression argument, AbstractSession session)INTERNAL: Used to allow object level comparisons.ExpressionOneToOneMapping. buildObjectJoinExpression(Expression expression, Object value, AbstractSession session)INTERNAL: Used to allow object level comparisons.ExpressionOneToOneMapping. buildObjectJoinExpression(Expression expression, Expression argument, AbstractSession session)INTERNAL: Used to allow object level comparisons.ExpressionRelationTableMechanism. buildSelectionCriteriaAndAddFieldsToQueryInternal(ForeignReferenceMapping mapping, Expression criteria, boolean shouldAddTargetFields, boolean shouldAddFieldsToQuery)INTERNAL: Build the selection criteria to join the source, relation, and target tables.ExpressionCollectionMapping. getJoinCriteria(ObjectExpression context, Expression base)INTERNAL: Returns the join criteria stored in the mapping selection query.ExpressionDirectCollectionMapping. getJoinCriteria(ObjectExpression context, Expression base)INTERNAL: Returns the join criteria stored in the mapping selection query.ExpressionForeignReferenceMapping. getJoinCriteria(ObjectExpression context, Expression base)INTERNAL: Returns the join criteria stored in the mapping selection query.ExpressionManyToManyMapping. getJoinCriteria(ObjectExpression context, Expression base)INTERNAL: Returns the join criteria stored in the mapping selection query.List<Expression>AggregateObjectMapping. getOrderByNormalizedExpressions(Expression base)INTERNAL: Aggregate order by all their fields by default.List<Expression>DatabaseMapping. getOrderByNormalizedExpressions(Expression base)INTERNAL: Return the list of fields that should be used if this mapping is used in an order by.List<Expression>DirectCollectionMapping. getOrderByNormalizedExpressions(Expression base)INTERNAL: Return null if this mapping is used in an order by.List<Expression>ForeignReferenceMapping. getOrderByNormalizedExpressions(Expression base)INTERNAL: Relationships order by their target primary key fields by default.List<Expression>OneToOneMapping. getOrderByNormalizedExpressions(Expression base)INTERNAL: Order by foreign key fields if a foreign key mapping (avoids joins).protected voidRelationTableMechanism. initializeLockRelationTableQuery(AbstractSession session, ForeignReferenceMapping mapping, Expression startCriteria)INTERNAL: Initialize lockRelationTableQuery.protected voidManyToManyMapping. initializeSelectionCriteriaAndAddFieldsToQuery(Expression startCriteria)INTERNAL: Selection criteria is created to read target records from the table.ExpressionRelationTableMechanism. joinRelationTableField(Expression expression, Expression baseExpression)INTERNAL: Adds to the passed expression a single relation table field joined to source field.protected voidOneToOneMapping. setPrivateOwnedCriteria(Expression expression)INTERNAL: Private owned criteria is used to verify the deletion of the target.voidDirectCollectionMapping. setSelectionCriteria(Expression anExpression)PUBLIC: Sets the selection criteria to be used as a where clause to read reference objects.voidForeignReferenceMapping. setSelectionCriteria(Expression anExpression)PUBLIC: Sets the selection criteria to be used as a where clause to read reference objects.Method parameters in org.eclipse.persistence.mappings with type arguments of type Expression Modifier and Type Method Description protected List<Expression>DatabaseMapping. extractNestedExpressions(List<Expression> expressions, ExpressionBuilder newRoot)INTERNAL: Extract the nested attribute expressions that apply to this mapping.protected List<Expression>DatabaseMapping. extractNestedNonAggregateExpressions(List<Expression> expressions, ExpressionBuilder newRoot, boolean rootExpressionsAllowed)INTERNAL: Extract the nested attribute expressions that apply to this mapping. -
Uses of Expression in org.eclipse.persistence.mappings.foundation
Methods in org.eclipse.persistence.mappings.foundation that return Expression Modifier and Type Method Description ExpressionAbstractCompositeCollectionMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ExpressionAbstractCompositeObjectMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ExpressionAbstractDirectMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value for a directToField mapping.ExpressionAbstractDirectMapping. getAdditionalSelectionCriteriaForMapKey()INTERNAL: Return the selection criteria necessary to select the target object when this mapping is a map key.ExpressionMapKeyMapping. getAdditionalSelectionCriteriaForMapKey()INTERNAL: Return the selection criteria necessary to select the target objectMethods in org.eclipse.persistence.mappings.foundation with parameters of type Expression Modifier and Type Method Description voidAbstractDirectMapping. addAdditionalFieldsToQuery(ReadQuery selectionQuery, Expression baseExpression)INTERNAL: Used when initializing queries for mappings that use a Map.voidMapKeyMapping. addAdditionalFieldsToQuery(ReadQuery selectionQuery, Expression baseExpression)INTERNAL: Used when initializing queries for mappings that use a Map Called when the selection query is being initialized to add the fields for the map key to the queryExpressionAbstractCompositeCollectionMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ExpressionAbstractCompositeObjectMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ExpressionAbstractDirectMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value for a directToField mapping. -
Uses of Expression in org.eclipse.persistence.mappings.querykeys
Fields in org.eclipse.persistence.mappings.querykeys declared as Expression Modifier and Type Field Description protected ExpressionForeignReferenceQueryKey. joinCriteriaMethods in org.eclipse.persistence.mappings.querykeys that return Expression Modifier and Type Method Description ExpressionForeignReferenceQueryKey. getJoinCriteria()PUBLIC: Return the join expression for the relationship defined by the query key.Methods in org.eclipse.persistence.mappings.querykeys with parameters of type Expression Modifier and Type Method Description voidForeignReferenceQueryKey. setJoinCriteria(Expression joinCriteria)PUBLIC: Set the join expression for the relationship defined by the query key. -
Uses of Expression in org.eclipse.persistence.mappings.structures
Methods in org.eclipse.persistence.mappings.structures that return Expression Modifier and Type Method Description ExpressionNestedTableMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ExpressionReferenceMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ExpressionNestedTableMapping. getJoinCriteria(ObjectExpression context, Expression base)INTERNAL: Join criteria is created to read target records (nested table) from the table.ExpressionReferenceMapping. getJoinCriteria(ObjectExpression context, Expression base)INTERNAL: Join criteria is created to read target records (nested table) from the table.Methods in org.eclipse.persistence.mappings.structures with parameters of type Expression Modifier and Type Method Description ExpressionNestedTableMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ExpressionReferenceMapping. buildExpression(Object queryObject, QueryByExamplePolicy policy, Expression expressionBuilder, Map processedObjects, AbstractSession session)INTERNAL: In case Query By Example is used, this method builds and returns an expression that corresponds to a single attribute and it's value.ExpressionNestedTableMapping. getJoinCriteria(ObjectExpression context, Expression base)INTERNAL: Join criteria is created to read target records (nested table) from the table.ExpressionReferenceMapping. getJoinCriteria(ObjectExpression context, Expression base)INTERNAL: Join criteria is created to read target records (nested table) from the table. -
Uses of Expression in org.eclipse.persistence.platform.database
Methods in org.eclipse.persistence.platform.database that return Expression Modifier and Type Method Description ExpressionOraclePlatform. createExpressionFor(DatabaseField field, Expression builder, String fieldClassificationClassName)Methods in org.eclipse.persistence.platform.database with parameters of type Expression Modifier and Type Method Description ExpressionOraclePlatform. createExpressionFor(DatabaseField field, Expression builder, String fieldClassificationClassName) -
Uses of Expression in org.eclipse.persistence.queries
Fields in org.eclipse.persistence.queries declared as Expression Modifier and Type Field Description protected ExpressionReadAllQuery. connectByExpressionprotected ExpressionReportQuery. havingExpressionExpression representing the HAVING clause.protected ExpressionCursor. selectionCriteriaCloneSelectionCriteria & translation row ready for incremental conforming.protected ExpressionReadAllQuery. startWithExpressionUsed for Oracle HierarchicalQuery supportFields in org.eclipse.persistence.queries with type parameters of type Expression Modifier and Type Field Description protected List<Expression>BatchFetchPolicy. attributeExpressionsDefine the attributes to be batch fetched.protected List<Expression>ReportQuery. groupByExpressionsExpressions representing fields to be used in the GROUP BY clause.protected List<Expression>ObjectLevelReadQuery. nonFetchJoinAttributeExpressionsStores the non fetchjoin attributes, these are joins that will be represented in the where clause but not in the select.protected List<Expression>ObjectLevelReadQuery. orderByExpressionsUsed for ordering support.protected List<Expression>ReadAllQuery. orderSiblingsByExpressionsprotected List<Expression>ObjectLevelReadQuery. partialAttributeExpressionsStores the partial attributes that have been added to this queryprotected List<Expression>ObjectLevelReadQuery. unionExpressionsAllow a query's results to be unioned (UNION, INTERSECT, EXCEPT) with another query results.Methods in org.eclipse.persistence.queries that return Expression Modifier and Type Method Description ExpressionCursoredStream. buildCountDistinctExpression(List includeFields, ExpressionBuilder builder)INTERNAL: Must build the count on the primary key fields, not * as * is not allowed if there was a distinct.ExpressionJPAQueryBuilder. buildSelectionCriteria(String entityName, String selectionCriteria, AbstractSession session)Creates a newExpressionthat represents the given selection criteria.ExpressionQueryByExamplePolicy. completeExpression(Expression expression, Object attributeValue, Class<?> attributeValueClass)INTERNAL: This method is used to determine which operation to use for comparison (equal, or a special operation).ExpressionQueryByExamplePolicy. completeExpressionForNull(Expression expression)INTERNAL: This method is used when the attribute value is null, but it has to be included at all times.ExpressionReadAllQuery. getConnectByExpression()PUBLIC:ExpressionReportQuery. getHavingExpression()INTERNAL: Return the Having expression.ExpressionDatabaseQuery. getSelectionCriteria()PUBLIC: Return the selection criteria of the query.ExpressionCursor. getSelectionCriteriaClone()INTERNAL: The clone of the selection criteria is needed for in-memory conforming each object read from the Cursor.ExpressionReadAllQuery. getStartWithExpression()PUBLIC:Methods in org.eclipse.persistence.queries that return types with arguments of type Expression Modifier and Type Method Description List<Expression>BatchFetchPolicy. getAttributeExpressions()INTERNAL: Return all attributes specified for batch reading.List<Expression>ObjectLevelReadQuery. getBatchReadAttributeExpressions()INTERNAL: Return all attributes specified for batch reading.List<Expression>ReportQuery. getGroupByExpressions()INTERNAL: Return the group bys.List<Expression>ObjectLevelReadQuery. getNonFetchJoinAttributeExpressions()INTERNAL: Return the attributes that must be joined, but not fetched, that is, do not trigger the value holder.List<Expression>ObjectLevelReadQuery. getOrderByExpressions()INTERNAL: Return the order expressions for the query.List<Expression>ReadAllQuery. getOrderSiblingsByExpressions()PUBLIC:List<Expression>ObjectLevelReadQuery. getPartialAttributeExpressions()INTERNAL: Return the partial attributes to select.List<Expression>ObjectLevelReadQuery. getUnionExpressions()Return any union expressions.Methods in org.eclipse.persistence.queries with parameters of type Expression Modifier and Type Method Description voidObjectLevelReadQuery. addAdditionalField(Expression fieldExpression)INTERNAL: Additional fields can be added to a query.voidConstructorReportItem. addAttribute(String attributeName, Expression attributeExpression, List joinedExpressions)Add the attribute with joining.voidConstructorReportItem. addAttribute(Expression attributeExpression)Method to add an expression to be used to return the parameter that is then passed into the constructor method.voidReportQuery. addAttribute(String itemName, Expression attributeExpression)PUBLIC: Add the attribute to be included in the result.voidReportQuery. addAttribute(String itemName, Expression attributeExpression, Class<?> type)PUBLIC: Add the attribute to be included in the result.voidReportQuery. addAverage(String itemName, Expression attributeExpression)PUBLIC: Add the average value of the attribute to be included in the result.voidReportQuery. addAverage(String itemName, Expression attributeExpression, Class<?> resultType)PUBLIC: Add the average value of the attribute to be included in the result and return it as the specified resultType.voidObjectLevelReadQuery. addBatchReadAttribute(Expression attributeExpression)PUBLIC: Specify the foreign-reference mapped attribute to be optimized in this query.voidReportQuery. addCount(String itemName, Expression attributeExpression)PUBLIC: Include the number of rows returned by the query in the result, where attributeExpression is not null.voidReportQuery. addCount(String itemName, Expression attributeExpression, Class<?> resultType)PUBLIC: Include the number of rows returned by the query in the result, where attributeExpression is not null.voidReportQuery. addFunctionItem(String itemName, Expression attributeExpression, String functionName)ADVANCED: Add the function against the attribute expression to be included in the result.voidReportQuery. addGrouping(Expression expression)PUBLIC: Add the attribute expression to the group by expressions.voidReportQuery. addItem(String itemName, Expression attributeExpression)ADVANCED: Add the expression value to be included in the result.protected voidReportQuery. addItem(String itemName, Expression attributeExpression, Class<?> resultType)INTERNAL: Add the expression value to be included in the result.voidReportQuery. addItem(String itemName, Expression attributeExpression, List joinedExpressions)ADVANCED: Add the expression value to be included in the result.voidObjectLevelReadQuery. addJoinedAttribute(Expression attributeExpression)PUBLIC: Specify the attribute to be join fetched in this query.voidReportQuery. addMaximum(String itemName, Expression attributeExpression)PUBLIC: Add the maximum value of the attribute to be included in the result.voidReportQuery. addMaximum(String itemName, Expression attributeExpression, Class<?> resultType)PUBLIC: Add the maximum value of the attribute to be included in the result.voidReportQuery. addMinimum(String itemName, Expression attributeExpression)PUBLIC: Add the minimum value of the attribute to be included in the result.voidReportQuery. addMinimum(String itemName, Expression attributeExpression, Class<?> resultType)PUBLIC: Add the minimum value of the attribute to be included in the result.voidObjectLevelReadQuery. addNonFetchJoin(Expression target)PUBLIC: Specify the object expression to be joined in this query.voidObjectLevelReadQuery. addNonFetchJoinedAttribute(Expression attributeExpression)PUBLIC: Specify the relationship attribute to be join in this query.voidObjectLevelReadQuery. addOrdering(Expression orderingExpression)PUBLIC: Add the ordering expression.voidObjectLevelReadQuery. addPartialAttribute(Expression attributeExpression)Deprecated.since EclipseLink 2.1, partial attributes replaced by fetch groups.protected voidObjectLevelReadQuery. addSelectionFieldsForJoinedExpression(List fields, boolean isCustomSQL, Expression expression)INTERNAL: The method adds to the passed input vector the fields or expressions corresponding to the passed join expression.voidReportQuery. addStandardDeviation(String itemName, Expression attributeExpression)PUBLIC: Add the standard deviation value of the attribute to be included in the result.voidReportQuery. addSum(String itemName, Expression attributeExpression)PUBLIC: Add the sum value of the attribute to be included in the result.voidReportQuery. addSum(String itemName, Expression attributeExpression, Class<?> resultType)PUBLIC: Add the sum value of the attribute to be included in the result and return it as the specified resultType.voidObjectLevelReadQuery. addUnionExpression(Expression union)PUBLIC: Add the union expression to the query.voidUpdateAllQuery. addUpdate(String attributeName, Expression value)PUBLIC: Adds the update (SET) clause to the query.voidUpdateAllQuery. addUpdate(Expression field, Object value)PUBLIC: Adds the update (SET) clause to the query.voidUpdateAllQuery. addUpdate(Expression field, Expression value)PUBLIC: Adds the update (SET) clause to the query.voidReportQuery. addVariance(String itemName, Expression attributeExpression)PUBLIC: Add the variance value of the attribute to be included in the result.ExpressionQueryByExamplePolicy. completeExpression(Expression expression, Object attributeValue, Class<?> attributeValueClass)INTERNAL: This method is used to determine which operation to use for comparison (equal, or a special operation).ExpressionQueryByExamplePolicy. completeExpressionForNull(Expression expression)INTERNAL: This method is used when the attribute value is null, but it has to be included at all times.protected ObjectObjectLevelReadQuery. conformIndividualResult(Object clone, UnitOfWorkImpl unitOfWork, AbstractRecord arguments, Expression selectionCriteriaClone, Map alreadyReturned)INTERNAL: Conforms and registers an individual result.voidReportQuery. setHavingExpression(Expression expression)PUBLIC: Add the expression to the query to be used in the HAVING clause.voidReadAllQuery. setHierarchicalQueryClause(Expression startWith, Expression connectBy, List<Expression> orderSiblingsExpressions)PUBLIC: Set the Hierarchical Query Clause for the queryvoidReadAllQuery. setHierarchicalQueryClause(Expression startWith, Expression connectBy, List<Expression> orderSiblingsExpressions, ReadAllQuery.Direction direction)PUBLIC: Set the Hierarchical Query Clause for the query, specifying the hierarchy traversal directionvoidDatabaseQuery. setSelectionCriteria(Expression expression)PUBLIC: To any user of this object.voidObjectLevelReadQuery. setSelectionCriteria(Expression expression)PUBLIC: Set the Expression/where clause of the query.voidCursor. setSelectionCriteriaClone(Expression expression)INTERNAL: The clone of the selection criteria is needed for in-memory conforming each object read from the Cursor.Method parameters in org.eclipse.persistence.queries with type arguments of type Expression Modifier and Type Method Description protected voidObjectLevelReadQuery. computeNestedQueriesForBatchReadExpressions(List<Expression> batchReadExpressions)INTERNAL: This method is used when computing the nested queries for batch read mappings.voidBatchFetchPolicy. setAttributeExpressions(List<Expression> attributeExpressions)voidObjectLevelReadQuery. setBatchReadAttributeExpressions(List<Expression> attributeExpressions)INTERNAL: Set all attributes specified for batch reading.voidReportQuery. setGroupByExpressions(List<Expression> groupByExpressions)INTERNAL: Set the group bys.voidReadAllQuery. setHierarchicalQueryClause(Expression startWith, Expression connectBy, List<Expression> orderSiblingsExpressions)PUBLIC: Set the Hierarchical Query Clause for the queryvoidReadAllQuery. setHierarchicalQueryClause(Expression startWith, Expression connectBy, List<Expression> orderSiblingsExpressions, ReadAllQuery.Direction direction)PUBLIC: Set the Hierarchical Query Clause for the query, specifying the hierarchy traversal directionvoidObjectLevelReadQuery. setNonFetchJoinAttributeExpressions(List<Expression> nonFetchJoinExpressions)INTERNAL: Return the attributes that must be joined, but not fetched, that is, do not trigger the value holder.voidObjectLevelReadQuery. setOrderByExpressions(List<Expression> orderByExpressions)INTERNAL: Set the order expressions for the query.voidObjectLevelReadQuery. setPartialAttributeExpressions(List<Expression> partialAttributeExpressions)INTERNAL: Set the partial attributes to select.voidObjectLevelReadQuery. setUnionExpressions(List<Expression> unionExpressions)INTERNAL: Set any union expressions.Constructors in org.eclipse.persistence.queries with parameters of type Expression Constructor Description DeleteAllQuery(Class<?> referenceClass, Expression selectionCriteria)PUBLIC: Create a new delete all query for the class and the selection criteria specified.ModifyAllQuery(Class<?> referenceClass, Expression selectionCriteria)PUBLIC: Create a new update all query for the class and the selection criteria specified.ReadAllQuery(Class<?> classToRead, Expression selectionCriteria)PUBLIC: Return a new read all query for the class and the selection criteria.ReadObjectQuery(Class<?> classToRead, Expression selectionCriteria)PUBLIC: Return a new read object query for the class and the selection criteria.ReportQuery(Class<?> javaClass, Expression expression)UpdateAllQuery(Class<?> referenceClass, Expression selectionCriteria)PUBLIC: Constructs an update all query for the specified Class type and selection criteria. -
Uses of Expression in org.eclipse.persistence.sessions
Methods in org.eclipse.persistence.sessions with parameters of type Expression Modifier and Type Method Description VectorIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy)ADVANCED: Queries the cache in-memory with the passed in criteria and returns matching Objects.VectorIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy, boolean shouldReturnInvalidatedObjects)ADVANCED: Queries the cache in-memory with the passed in criteria and returns matching Objects.VectorIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, InMemoryQueryIndirectionPolicy valueHolderPolicy)ADVANCED: Queries the cache in-memory with the passed in criteria and returns matching Objects.VectorIdentityMapAccessor. getAllFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, InMemoryQueryIndirectionPolicy valueHolderPolicy, boolean shouldReturnInvalidatedObjects)ADVANCED: Queries the cache in-memory with the passed in criteria and returns matching Objects.ObjectIdentityMapAccessor. getFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow)ADVANCED: Queries the cache in-memory and returns an Object from this identity map.ObjectIdentityMapAccessor. getFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, int valueHolderPolicy)ADVANCED: Queries the cache in-memory and returns an Object from this identity map.ObjectIdentityMapAccessor. getFromIdentityMap(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, InMemoryQueryIndirectionPolicy valueHolderPolicy)ADVANCED: Queries the cache in-memory and returns an Object from this identity map.voidIdentityMapAccessor. invalidateObjects(Expression selectionCriteria)ADVANCED: Sets all of the Objects matching the given Expression to be invalid in the cache.voidIdentityMapAccessor. invalidateObjects(Expression selectionCriteria, Class<?> theClass, DataRecord translationRow, boolean shouldInvalidateOnException)ADVANCED: Queries the cache in-memory with the passed in criteria and invalidates matching Objects.VectorSession. readAllObjects(Class<?> domainClass, Expression selectionCriteria)PUBLIC: Read all of the instances of the class from the database matching the given expression.ObjectSession. readObject(Class<?> domainClass, Expression selectionCriteria)PUBLIC: Read the first instance of the class from the database matching the given expression. -
Uses of Expression in org.eclipse.persistence.sessions.factories
Methods in org.eclipse.persistence.sessions.factories with parameters of type Expression Modifier and Type Method Description protected voidProjectClassGenerator. buildExpressionString(String builderString, NonreflectiveMethodDefinition method, String queryIdentifier, Expression exp, String attrString)
-