Modifier and Type | Field and Description |
---|---|
protected Expression |
DescriptorQueryManager.additionalJoinExpression |
protected Expression |
VersionLockingPolicy.cachedExpression |
protected Expression |
InheritancePolicy.childrenJoinExpression |
protected Expression |
DescriptorQueryManager.multipleTableJoinExpression |
protected Expression |
InheritancePolicy.onlyInstancesExpression |
protected Expression |
InheritancePolicy.withAllSubclassesExpression |
Modifier and Type | Method and Description |
---|---|
Expression |
VersionLockingPolicy.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 Expression |
VersionLockingPolicy.buildExpression()
INTERNAL:
Returns an expression that will be used for both the update and
delete where clause
|
Expression |
VersionLockingPolicy.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.
|
Expression |
DescriptorQueryManager.getAdditionalJoinExpression()
ADVANCED:
Returns the join expression that should be appended to all of the descriptors expressions
Contains any multiple table or inheritance dependencies
|
Expression |
InheritancePolicy.getChildrenJoinExpression()
INTERNAL:
all expressions from childrenTablesJoinExpressions ANDed together
|
Expression |
DescriptorQueryManager.getMultipleTableJoinExpression()
ADVANCED:
This is normally generated for descriptors that have multiple tables.
|
Expression |
InheritancePolicy.getOnlyInstancesExpression()
ADVANCED:
Return the 'only instances expression'.
|
Expression |
InheritancePolicy.getWithAllSubclassesExpression()
ADVANCED:
Return the Expression which gets all subclasses.
|
Expression |
TimestampLockingPolicy.getWriteLockUpdateExpression(ExpressionBuilder builder)
INTERNAL:
Retrun an expression that updates the write lock
|
Expression |
VersionLockingPolicy.getWriteLockUpdateExpression(ExpressionBuilder builder)
INTERNAL:
Retrun an expression that updates the write lock
|
Modifier and Type | Method and Description |
---|---|
protected void |
InheritancePolicy.addChildTableJoinExpression(DatabaseTable table,
Expression expression)
INTERNAL:
childrenTablesJoinExpressions, childrenTables, allTables and childrenJoinExpression
are created simultaneously and kept in sync.
|
void |
InheritancePolicy.addChildTableJoinExpressionToAllParents(DatabaseTable table,
Expression expression)
INTERNAL:
call addChildTableJoinExpression on all parents
|
Expression |
VersionLockingPolicy.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.
|
Expression |
VersionLockingPolicy.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.
|
void |
DescriptorQueryManager.setAdditionalJoinExpression(Expression additionalJoinExpression)
ADVANCED:
Set the additional join expression.
|
void |
DescriptorQueryManager.setInternalMultipleTableJoinExpression(Expression multipleTableJoinExpression)
INTERNAL:
Used to set the multiple table join expression that was generated by TopLink as opposed
to a custom one supplied by the user.
|
void |
DescriptorQueryManager.setMultipleTableJoinExpression(Expression multipleTableJoinExpression)
ADVANCED:
This is normally generated for descriptors that have multiple tables.
|
void |
InheritancePolicy.setOnlyInstancesExpression(Expression onlyInstancesExpression)
ADVANCED:
Sets the expression used to select instance of the class only.
|
void |
InheritancePolicy.setWithAllSubclassesExpression(Expression withAllSubclassesExpression)
ADVANCED:
Sets the expression to be used for querying for a class and all its subclasses.
|
Modifier and Type | Method and Description |
---|---|
Query |
EntityManager.createQuery(Expression expression,
Class resultType)
This method is used to create a query using a Toplink Expression and the return type.
|
Modifier and Type | Class and Description |
---|---|
class |
ExpressionBuilder
Purpose: Allow for instances of expression to be created.
|
Modifier and Type | Method and Description |
---|---|
static Expression |
ExpressionMath.abs(Expression expression)
PUBLIC:
Return a new expression that aplies the function to the given expression.
|
static Expression |
ExpressionMath.acos(Expression expression)
PUBLIC:
Return a new expression that aplies the function to the given expression.
|
static Expression |
ExpressionMath.add(Expression left,
int right)
PUBLIC:
Return a new expression that aplies the function to the given expression.
|
static Expression |
ExpressionMath.add(Expression right,
Object left)
PUBLIC:
Return a new expression that aplies the function to the given expression.
|
Expression |
Expression.addDate(String datePart,
int numberToAdd)
PUBLIC:
Function, return an expression that adds to a date based on
the specified datePart.
|
Expression |
Expression.addDate(String datePart,
Object numberToAdd)
PUBLIC:
Function, return an expression that adds to a date based on
the specified datePart.
|
Expression |
Expression.addMonths(int months)
PUBLIC:
Function, to add months to a date.
|
Expression |
Expression.addMonths(Object months)
PUBLIC:
Function, to add months to a date.
|
Expression |
Expression.all(boolean[] theBooleans)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.all(byte[] theBytes)
PUBLIC:
Return an expression that is used with a comparison expression.
|
Expression |
Expression.all(char[] theChars)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.all(double[] theDoubles)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.all(Expression arguments) |
Expression |
Expression.all(float[] theFloats)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.all(int[] theInts)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.all(long[] theLongs)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.all(Object[] theObjects)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.all(ReportQuery subQuery) |
Expression |
Expression.all(short[] theShorts)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.all(Vector theObjects)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.allOf(String attributeName,
Expression criteria)
PUBLIC: Returns an expression equivalent to all of
attributeName
holding true for criteria . |
Expression |
Expression.and(Expression theExpression)
PUBLIC:
Return an expression that is the boolean logical combination of both expressions.
|
Expression |
Expression.any(boolean[] theBooleans)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.any(byte[] theBytes)
PUBLIC:
Return an expression that is used with a comparison expression.
|
Expression |
Expression.any(char[] theChars)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.any(double[] theDoubles)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.any(Expression arguments) |
Expression |
Expression.any(float[] theFloats)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.any(int[] theInts)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.any(long[] theLongs)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.any(Object[] theObjects)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.any(ReportQuery subQuery) |
Expression |
Expression.any(short[] theShorts)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.any(Vector theObjects)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.anyOf(String attributeName)
PUBLIC:
Return an expression representing traversal of a 1:many or many:many relationship.
|
Expression |
Expression.anyOfAllowingNone(String attributeName)
ADVANCED:
Return an expression representing traversal of a 1:many or many:many relationship.
|
Expression |
Expression.ascending()
PUBLIC:
This can only be used within an ordering expression.
|
Expression |
Expression.asciiValue()
PUBLIC:
Function, returns the single character strings ascii value.
|
static Expression |
ExpressionMath.asin(Expression expression)
PUBLIC:
Return a new expression that aplies the function to the given expression.
|
static Expression |
ExpressionMath.atan(Expression expression)
PUBLIC:
Return a new expression that aplies the function to the given expression.
|
static Expression |
ExpressionMath.atan2(Expression expression1,
Expression expression2)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.atan2(Expression expression,
int value)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.atan2(Expression expression,
Object value)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.average()
PUBLIC:
Function, This represents the aggregate function Average.
|
Expression |
Expression.between(byte leftValue,
byte rightValue)
PUBLIC:
Function, between two bytes
|
Expression |
Expression.between(char leftChar,
char rightChar)
PUBLIC:
Function, between two chars
|
Expression |
Expression.between(double leftValue,
double rightValue)
PUBLIC:
Function, between two doubles
|
Expression |
Expression.between(Expression leftExpression,
Expression rightExpression) |
Expression |
Expression.between(float leftValue,
float rightValue)
PUBLIC:
Function, between two floats
|
Expression |
Expression.between(int leftValue,
int rightValue)
PUBLIC:
Function, between two ints
|
Expression |
Expression.between(long leftValue,
long rightValue)
PUBLIC:
Function, between two longs
|
Expression |
Expression.between(Object leftValue,
Object rightValue)
PUBLIC:
Return an expression that compares if the receiver's value is between two other values.
|
Expression |
Expression.between(short leftValue,
short rightValue)
PUBLIC:
Function, between two shorts
|
Expression |
Expression.caseStatement(Hashtable caseItems,
String defaultItem)
PUBLIC:
Function Convert values returned by the query to values
given in the caseItems hashtable.
|
static Expression |
ExpressionMath.ceil(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.chr(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.cloneUsing(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
Expression.concat(Object left)
PUBLIC:
Function, returns the concatenation of the two string values.
|
Expression |
Expression.containsAllKeyWords(String spaceSeperatedKeyWords)
PUBLIC:
Return an expression that performs a key word search.
|
Expression |
Expression.containsAnyKeyWords(String spaceSeperatedKeyWords)
PUBLIC:
Return an expression that performs a key word search.
|
Expression |
Expression.containsSubstring(Expression expression)
PUBLIC:
Return an expression that compares if the receivers value contains the substring.
|
Expression |
Expression.containsSubstring(String theValue)
PUBLIC:
Return an expression that compares if the receivers value contains the substring.
|
Expression |
Expression.containsSubstringIgnoringCase(Expression expression)
PUBLIC:
Return an expression that compares if the receivers value contains the substring, ignoring case.
|
Expression |
Expression.containsSubstringIgnoringCase(String theValue)
PUBLIC:
Return an expression that compares if the receivers value contains the substring, ignoring case.
|
Expression |
Expression.convertToUseOuterJoin()
INTERNAL:
Modify this expression to use outer joins wherever there are
equality operations between two field nodes.
|
Expression |
Expression.copiedVersionFrom(Dictionary alreadyDone)
INTERNAL:
|
static Expression |
ExpressionMath.cos(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.cosh(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.cot(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.count()
PUBLIC:
This represents the aggregate function Average.
|
Expression |
Expression.create(Expression base,
Object singleArgument,
ExpressionOperator anOperator)
INTERNAL:
|
Expression |
Expression.create(Expression base,
Vector arguments,
ExpressionOperator anOperator)
INTERNAL:
|
Expression |
Expression.createWithBaseLast(Expression base,
Object singleArgument,
ExpressionOperator anOperator)
INTERNAL:
|
Expression |
Expression.currentDate()
PUBLIC:
This gives access to the current date on the database through expression.
|
Expression |
Expression.currentDateDate()
PUBLIC:
This gives access to the current date only on the database through expression.
|
Expression |
Expression.currentTime()
PUBLIC:
This gives access to the current time only on the database through expression.
|
Expression |
Expression.currentTimeStamp()
PUBLIC:
This gives access to the current timestamp on the database through expression.
|
Expression |
Expression.dateDifference(String datePart,
Date date)
PUBLIC:
Function, Return the difference between the queried part of a date(i.e.
|
Expression |
Expression.dateDifference(String datePart,
Expression comparisonExpression)
PUBLIC:
Function, Return the difference between the queried part of a date(i.e.
|
Expression |
Expression.dateName(String datePart)
PUBLIC:
return a string that represents the given part of a date.
|
Expression |
Expression.datePart(String datePart)
PUBLIC:
Function return an integer which represents the requested
part of the date.
|
Expression |
Expression.dateToString()
PUBLIC:
Function, returns the date converted to the string value in the default database format.
|
Expression |
Expression.decode(Hashtable decodeableItems,
String defaultItem)
PUBLIC:
Function Convert values returned by the query to values
given in the decodeableItems hashtable.
|
Expression |
Expression.descending()
PUBLIC:
This can only be used within an ordering expression.
|
Expression |
Expression.difference(String expression)
PUBLIC:
Function return a value which indicates how much difference there is
between two expressions.
|
Expression |
Expression.distinct()
PUBLIC:
Function, This represents the distinct option inside an aggregate function.
|
static Expression |
ExpressionMath.divide(Expression left,
int right)
PUBLIC:
Return a new expression that aplies the function to the given expression.
|
static Expression |
ExpressionMath.divide(Expression left,
Object right)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.equal(boolean theBoolean) |
Expression |
Expression.equal(byte theValue) |
Expression |
Expression.equal(char theChar) |
Expression |
Expression.equal(double theValue) |
Expression |
Expression.equal(Expression theValue)
Returns an expression that compares if the receiver's value is equal to the other value.
|
Expression |
Expression.equal(float theValue) |
Expression |
Expression.equal(int theValue) |
Expression |
Expression.equal(long theValue) |
Expression |
Expression.equal(Object theValue)
PUBLIC:
Return an expression that compares if the receiver's value is equal to the other value.
|
Expression |
Expression.equal(short theValue) |
Expression |
Expression.equalOuterJoin(Expression theValue)
INTERNAL:
Return an expression representing an outer join comparison
|
Expression |
Expression.equalOuterJoin(Object theValue)
INTERNAL:
Return an expression representing an outer join comparison
|
Expression |
Expression.equalsIgnoreCase(Expression theValue)
PUBLIC:
Return an expression that compares if the receiver's value is equal to the other value, ignoring case.
|
Expression |
Expression.equalsIgnoreCase(String theValue)
PUBLIC:
Return an expression that compares if the receiver's value is equal to the other value, ignoring case.
|
Expression |
Expression.exists(ReportQuery subQuery)
PUBLIC:
Return a sub query expression.
|
Expression |
Expression.existsNode(String path)
PUBLIC:
XMLType Function, gets the number of nodes returned by the given xpath expression
returns 0 if there are none
|
static Expression |
ExpressionMath.exp(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
ExpressionOperator.expressionFor(Expression base)
INTERNAL:
Create an expression for this operator, using the given base.
|
Expression |
ExpressionOperator.expressionFor(Expression base,
Object value)
INTERNAL:
Create an expression for this operator, using the given base and a single argument.
|
Expression |
ExpressionOperator.expressionForArguments(Expression base,
Vector arguments)
INTERNAL:
Create an expression for this operator, using the given base and arguments.
|
Expression |
ExpressionOperator.expressionForWithBaseLast(Expression base,
Object value)
INTERNAL:
Create an expression for this operator, using the given base and a single argument.
|
Expression |
Expression.extract(String path)
PUBLIC:
XMLType Function, extracts a secton of XML from a larget XML document
|
Expression |
Expression.extractValue(String path)
PUBLIC:
XMLType Function, extracts a value from an XMLType field
|
static Expression |
ExpressionMath.floor(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
Expression.from(Object value,
Expression base)
INTERNAL:
Create an expression node.
|
static Expression |
Expression.fromConstant(Object value,
Expression base)
INTERNAL:
Create an expression node.
|
static Expression |
Expression.fromLiteral(String value,
Expression base)
INTERNAL:
Create an expression node.
|
Expression |
Expression.get(String attributeName)
PUBLIC:
Return an expression that wraps the attribute or query key name.
|
Expression |
Expression.get(String attributeName,
Vector arguments)
INTERNAL:
|
Expression |
Expression.getAllowingNull(String attributeName)
ADVANCED:
Return an expression that wraps the attribute or query key name.
|
Expression |
Expression.getAllowingNull(String attributeName,
Vector arguments)
INTERNAL:
|
Expression |
Expression.getField(DatabaseField field)
ADVANCED: Return an expression representing a field in a data-level query.
|
Expression |
Expression.getField(String fieldName)
ADVANCED:
Return an expression representing a field in a data-level query.
|
Expression |
Expression.getFunction(int selector)
ADVANCED:
This can be used for accessing user defined functions.
|
Expression |
Expression.getFunction(int selector,
Vector arguments)
ADVANCED:
This can be used for accessing user defined functions that have arguments.
|
Expression |
Expression.getFunction(String functionName)
ADVANCED:
Return a user defined function accepting the argument.
|
Expression |
Expression.getFunction(String functionName,
Object argument)
ADVANCED:
Return a user defined function accepting the argument.
|
Expression |
Expression.getFunctionWithArguments(String functionName,
Vector arguments)
ADVANCED:
Return a user defined function accepting all of the arguments.
|
Expression |
Expression.getNumberVal()
PUBLIC:
XMLType Function - gets a number value from an XMLType
|
Expression |
Expression.getParameter(DatabaseField field)
ADVANCED:
Return an expression representing a parameter with the given name.
|
Expression |
Expression.getParameter(String parameterName)
ADVANCED:
Return an expression representing a parameter with the given name.
|
Expression |
Expression.getParameter(String parameterName,
Object type)
INTERNAL:
Return an expression representing a parameter with the given name and type
|
Expression |
Expression.getStringVal()
PUBLIC:
XMLType Function - gets a string value from an XMLType
|
Expression |
Expression.getTable(DatabaseTable table)
ADVANCED: Return an expression representing a table in a data-level query.
|
Expression |
Expression.getTable(String tableName)
ADVANCED: Return an expression representing a table in a data-level query.
|
Expression |
Expression.greaterThan(boolean theBoolean)
PUBLIC:
Return an expression that compares if the receivers value is equal to the other value.
|
Expression |
Expression.greaterThan(byte theValue)
PUBLIC:
Return an expression that compares if the receivers value is equal to the other value.
|
Expression |
Expression.greaterThan(char theChar)
PUBLIC:
Return an expression that compares if the receivers value is equal to the other value.
|
Expression |
Expression.greaterThan(double theValue)
PUBLIC:
Return an expression that compares if the receivers value is equal to the other value.
|
Expression |
Expression.greaterThan(Expression theValue) |
Expression |
Expression.greaterThan(float theValue)
PUBLIC:
Return an expression that compares if the receivers value is equal to the other value.
|
Expression |
Expression.greaterThan(int theValue)
PUBLIC:
Return an expression that compares if the receivers value is equal to the other value.
|
Expression |
Expression.greaterThan(long theValue)
PUBLIC:
Return an expression that compares if the receivers value is equal to the other value.
|
Expression |
Expression.greaterThan(Object theValue)
PUBLIC:
Return an expression that compares if the receiver's value is greater than the other value.
|
Expression |
Expression.greaterThan(short theValue)
PUBLIC:
Return an expression that compares if the receivers value is equal to the other value.
|
Expression |
Expression.greaterThanEqual(boolean theBoolean)
PUBLIC:
Return an expression that compares if the receivers value is greater and equal to the other value.
|
Expression |
Expression.greaterThanEqual(byte theValue)
PUBLIC:
Return an expression that compares if the receivers value is greater and equal to the other value.
|
Expression |
Expression.greaterThanEqual(char theChar)
PUBLIC:
Return an expression that compares if the receivers value is greater and equal to the other value.
|
Expression |
Expression.greaterThanEqual(double theValue)
PUBLIC:
Return an expression that compares if the receivers value is greater and equal to the other value.
|
Expression |
Expression.greaterThanEqual(Expression theValue)
PUBLIC:
Return an expression that compares if the receivers value is greater and equal to the other value.
|
Expression |
Expression.greaterThanEqual(float theValue)
PUBLIC:
Return an expression that compares if the receivers value is greater and equal to the other value.
|
Expression |
Expression.greaterThanEqual(int theValue)
PUBLIC:
Return an expression that compares if the receivers value is greater and equal to the other value.
|
Expression |
Expression.greaterThanEqual(long theValue)
PUBLIC:
Return an expression that compares if the receivers value is greater and equal to the other value.
|
Expression |
Expression.greaterThanEqual(Object theValue)
PUBLIC:
Return an expression that compares if the receivers value is greater and equal to the other value.
|
Expression |
Expression.greaterThanEqual(short theValue)
PUBLIC:
Return an expression that compares if the receivers value is greater and equal to the other value.
|
Expression |
Expression.hexToRaw()
PUBLIC:
Function, returns binary array value for the hex string.
|
Expression |
Expression.ifNull(Object nullValue)
PUBLIC:
Function return the a specific value if item returned from the
query is null.
|
Expression |
Expression.in(boolean[] theBooleans)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.in(byte[] theBytes)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.in(char[] theChars)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.in(double[] theDoubles)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.in(Expression arguments) |
Expression |
Expression.in(float[] theFloats)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.in(int[] theInts)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.in(long[] theLongs)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.in(Object[] theObjects)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.in(ReportQuery subQuery) |
Expression |
Expression.in(short[] theShorts)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.in(Vector theObjects)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.indexOf(Object substring)
PUBLIC:
Function, returns the integer index of the substring within the source string.
|
Expression |
Expression.isEmpty(String attributeName)
PUBLIC: A logical expression for the collection
attributeName
being empty. |
Expression |
Expression.isFragment()
PUBLIC:
XMLType Function - evaluates to 0 if the xml is a well formed document and 1 if the document
is a fragment
|
Expression |
Expression.isNull()
PUBLIC:
Compare to null.
|
Expression |
Expression.lastDay()
PUBLIC:
Function, returns the date with the last date in the months of this source date.
|
Expression |
Expression.leftPad(int size,
Object substring)
PUBLIC:
Function, returns the string padded with the substring to the size.
|
Expression |
Expression.leftPad(Object size,
Object substring)
PUBLIC:
Function, returns the string padded with the substring to the size.
|
Expression |
Expression.leftTrim()
PUBLIC:
Function, returns the string left trimmed for white space.
|
Expression |
Expression.leftTrim(Object substring)
PUBLIC:
Function, returns the string with the substring trimed from the left.
|
Expression |
Expression.length()
PUBLIC:
Function, returns the size of the string.
|
Expression |
Expression.lessThan(boolean theBoolean)
PUBLIC:
Return an expression that compares if the receivers value is less than the other value.
|
Expression |
Expression.lessThan(byte theValue)
PUBLIC:
Return an expression that compares if the receivers value is less than the other value.
|
Expression |
Expression.lessThan(char theChar)
PUBLIC:
Return an expression that compares if the receivers value is less than the other value.
|
Expression |
Expression.lessThan(double theValue)
PUBLIC:
Return an expression that compares if the receivers value is less than the other value.
|
Expression |
Expression.lessThan(Expression theValue) |
Expression |
Expression.lessThan(float theValue)
PUBLIC:
Return an expression that compares if the receivers value is less than the other value.
|
Expression |
Expression.lessThan(int theValue)
PUBLIC:
Return an expression that compares if the receivers value is less than the other value.
|
Expression |
Expression.lessThan(long theValue)
PUBLIC:
Return an expression that compares if the receivers value is less than the other value.
|
Expression |
Expression.lessThan(Object theValue)
PUBLIC:
Return an expression that compares if the receivers value is less than the other value.
|
Expression |
Expression.lessThan(short theValue)
PUBLIC:
Return an expression that compares if the receivers value is less than the other value.
|
Expression |
Expression.lessThanEqual(boolean theBoolean)
PUBLIC:
Return an expression that compares if the receivers value is less than and equal to the other value.
|
Expression |
Expression.lessThanEqual(byte theValue)
PUBLIC:
Return an expression that compares if the receivers value is less than and equal to the other value.
|
Expression |
Expression.lessThanEqual(char theChar)
PUBLIC:
Return an expression that compares if the receivers value is less than and equal to the other value.
|
Expression |
Expression.lessThanEqual(double theValue)
PUBLIC:
Return an expression that compares if the receivers value is less than and equal to the other value.
|
Expression |
Expression.lessThanEqual(Expression theValue)
PUBLIC:
Return an expression that compares if the receivers value is less than and equal to the other value.
|
Expression |
Expression.lessThanEqual(float theValue)
PUBLIC:
Return an expression that compares if the receivers value is less than and equal to the other value.
|
Expression |
Expression.lessThanEqual(int theValue)
PUBLIC:
Return an expression that compares if the receivers value is less than and equal to the other value.
|
Expression |
Expression.lessThanEqual(long theValue)
PUBLIC:
Return an expression that compares if the receivers value is less than and equal to the other value.
|
Expression |
Expression.lessThanEqual(Object theValue)
PUBLIC:
Return an expression that compares if the receivers value is less than and equal to the other value.
|
Expression |
Expression.lessThanEqual(short theValue)
PUBLIC:
Return an expression that compares if the receivers value is less than and equal to the other value.
|
Expression |
Expression.like(Expression argument)
PUBLIC:
Return an expression that compares if the receivers value is like other value.
|
Expression |
Expression.like(Expression value,
Expression escapeSequence)
PUBLIC:
Return an expression that compares if the receivers value is like other value.
|
Expression |
Expression.like(String value)
PUBLIC:
Return an expression that compares if the receivers value is like other value.
|
Expression |
Expression.like(String value,
String escapeSequence)
PUBLIC:
Return an expression that compares if the receivers value is like other value.
|
Expression |
Expression.likeIgnoreCase(Expression theValue)
PUBLIC:
Return an expression that compares if the receivers value is like the other value, ignoring case.
|
Expression |
Expression.likeIgnoreCase(String theValue)
PUBLIC:
Return an expression that compares if the receivers value is like the other value, ignoring case.
|
Expression |
Expression.literal(String literal)
ADVANCED:
Return an expression on the literal.
|
static Expression |
ExpressionMath.ln(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.locate(Object str)
PUBLIC:
Function, returns the position of
str in this |
Expression |
Expression.locate(Object str,
Object fromIndex)
PUBLIC:
Function, returns the position of
str in this ,
starting the search at fromIndex . |
Expression |
Expression.locate(String str,
int fromIndex)
PUBLIC:
Function, returns the position of
str in this ,
starting the search at fromIndex . |
static Expression |
ExpressionMath.log(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.max(Expression left,
int right)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.max(Expression left,
Object right)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.maximum()
PUBLIC:
This represents the aggregate function Maximum.
|
static Expression |
ExpressionMath.min(Expression left,
int right)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.min(Expression left,
Object right)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.minimum()
PUBLIC:
This represents the aggregate function Minimum.
|
static Expression |
ExpressionMath.mod(Expression expression,
int base)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.mod(Expression expression,
Object base)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.monthsBetween(Object otherDate)
PUBLIC:
Function, returns the decimal number of months between the two dates.
|
static Expression |
ExpressionMath.multiply(Expression left,
int right)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.multiply(Expression left,
Object right)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
ExpressionOperator.newExpressionForArgument(Expression base,
Object singleArgument)
INTERNAL:
Create a new expression.
|
Expression |
ExpressionOperator.newExpressionForArguments(Expression base,
Vector arguments)
INTERNAL:
The general case.
|
Expression |
ExpressionOperator.newExpressionForArgumentWithBaseLast(Expression base,
Object singleArgument)
INTERNAL:
Create a new expression.
|
Expression |
Expression.newTime(String timeZoneFrom,
String timeZoneTo)
PUBLIC:
funcation return a date converted to a new timezone.
|
Expression |
Expression.nextDay(Object dayName)
PUBLIC:
Function, returns the date with the next day from the source date as the day name given.
|
Expression |
Expression.noneOf(String attributeName,
Expression criteria)
PUBLIC: Returns an expression equivalent to none of
attributeName
holding true for criteria . |
Expression |
Expression.normalize(ExpressionNormalizer normalizer)
INTERNAL:
Normalize into a structure that is printable.
|
Expression |
ExpressionBuilder.normalize(ExpressionNormalizer normalizer)
INTERNAL:
Normalize the expression into a printable structure.
|
Expression |
Expression.not()
PUBLIC:
Return an expression that is the boolean logical negation of the expression.
|
Expression |
Expression.notBetween(byte leftValue,
byte rightValue)
PUBLIC:
Return an expression that compares if the receivers value is not between two other values.
|
Expression |
Expression.notBetween(char leftChar,
char rightChar)
PUBLIC:
Return an expression that compares if the receivers value is not between two other values.
|
Expression |
Expression.notBetween(double leftValue,
double rightValue)
PUBLIC:
Return an expression that compares if the receivers value is not between two other values.
|
Expression |
Expression.notBetween(Expression leftExpression,
Expression rightExpression)
PUBLIC:
Return an expression that compares if the receivers value is not between two other values.
|
Expression |
Expression.notBetween(float leftValue,
float rightValue)
PUBLIC:
Return an expression that compares if the receivers value is not between two other values.
|
Expression |
Expression.notBetween(int leftValue,
int rightValue)
PUBLIC:
Return an expression that compares if the receivers value is not between two other values.
|
Expression |
Expression.notBetween(long leftValue,
long rightValue)
PUBLIC:
Return an expression that compares if the receivers value is not between two other values.
|
Expression |
Expression.notBetween(Object leftValue,
Object rightValue)
PUBLIC:
Return an expression that compares if the receivers value is not between two other values.
|
Expression |
Expression.notBetween(short leftValue,
short rightValue)
PUBLIC:
Return an expression that compares if the receivers value is not between two other values.
|
Expression |
Expression.notEmpty(String attributeName)
PUBLIC: A logical expression for the collection
attributeName
not being empty. |
Expression |
Expression.notEqual(boolean theBoolean)
PUBLIC:
Return an expression that compares if the receivers value is not equal to the other value.
|
Expression |
Expression.notEqual(byte theValue)
PUBLIC:
Return an expression that compares if the receivers value is not equal to the other value.
|
Expression |
Expression.notEqual(char theChar)
PUBLIC:
Return an expression that compares if the receivers value is not equal to the other value.
|
Expression |
Expression.notEqual(double theValue)
PUBLIC:
Return an expression that compares if the receivers value is not equal to the other value.
|
Expression |
Expression.notEqual(Expression theValue)
PUBLIC:
Return an expression that compares if the receivers value is not equal to the other value.
|
Expression |
Expression.notEqual(float theValue)
PUBLIC:
Return an expression that compares if the receivers value is not equal to the other value.
|
Expression |
Expression.notEqual(int theValue)
PUBLIC:
Return an expression that compares if the receivers value is not equal to the other value.
|
Expression |
Expression.notEqual(long theValue)
PUBLIC:
Return an expression that compares if the receivers value is not equal to the other value.
|
Expression |
Expression.notEqual(Object theValue)
PUBLIC:
Return an expression that compares if the receivers value is not equal to the other value.
|
Expression |
Expression.notEqual(short theValue)
PUBLIC:
Return an expression that compares if the receivers value is not equal to the other value.
|
Expression |
Expression.notExists(ReportQuery subQuery)
PUBLIC:
Return a sub query expression.
|
Expression |
Expression.notIn(boolean[] theBooleans)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.notIn(byte[] theBytes)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.notIn(char[] theChars)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.notIn(double[] theDoubles)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.notIn(Expression arguments) |
Expression |
Expression.notIn(float[] theFloats)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.notIn(int[] theInts)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.notIn(long[] theLongs)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.notIn(Object[] theObjects)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.notIn(ReportQuery subQuery) |
Expression |
Expression.notIn(short[] theShorts)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.notIn(Vector theObjects)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.notLike(Expression arguments)
PUBLIC:
Return an expression that compares if the receivers value is not like the other value.
|
Expression |
Expression.notLike(String aString)
PUBLIC:
Return an expression that compares if the receivers value is not like the other value.
|
Expression |
Expression.notNull()
PUBLIC:
Return an expression representing a comparison to null
|
Expression |
Expression.or(Expression theExpression)
PUBLIC:
Return an expression that is the boolean logical combination of both expressions.
|
Expression |
Expression.performOperator(ExpressionOperator anOperator,
Vector args)
INTERNAL:
|
Expression |
Expression.postfixSQL(String sqlString)
ADVANCED:
Inserts the SQL as is directly into the expression.
|
static Expression |
ExpressionMath.power(Expression expression,
int raised)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.power(Expression expression,
Object raised)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.prefixSQL(String sqlString)
ADVANCED:
Insert the SQL as is directly into the expression.
|
abstract Expression |
Expression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
ExpressionBuilder.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
Expression.ref()
ADVANCED:
For Object-relational support.
|
protected Expression |
Expression.registerIn(Dictionary alreadyDone) |
protected Expression |
ExpressionBuilder.registerIn(Dictionary alreadyDone)
INTERNAL:
Override Expression.registerIn to check if the new base expression
has already been provided for the clone.
|
Expression |
Expression.replace(Object stringToReplace,
Object stringToReplaceWith)
PUBLIC:
Function, returns the string with occurances of the first substring replaced with the second substring.
|
Expression |
Expression.replicate(int constant)
PUBLIC:
return the result of this query repeated a given number of times.
|
Expression |
Expression.replicate(Object theValue)
PUBLIC:
return the result of this query repeated a given number of times.
|
Expression |
Expression.reverse()
PUBLIC:
Function return the reverse of the query result.
|
Expression |
Expression.right(int characters)
PUBLIC:
Function return a given number of characters starting at the
right of a string.
|
Expression |
Expression.right(Object characters)
PUBLIC:
Function return a given number of characters starting at the
right of a string.
|
Expression |
Expression.rightPad(int size,
Object substring)
PUBLIC:
Function, returns the string padded with the substring to the size.
|
Expression |
Expression.rightPad(Object size,
Object substring)
PUBLIC:
Function, returns the string padded with the substring to the size.
|
Expression |
Expression.rightTrim()
PUBLIC:
Function, returns the string right trimmed for white space.
|
Expression |
Expression.rightTrim(Object substring)
PUBLIC:
Function, returns the string with the substring trimed from the right.
|
static Expression |
ExpressionMath.round(Expression expression,
int decimalPlaces)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.round(Expression expression,
Object decimalPlaces)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.roundDate(Object yearOrMonthOrDayRoundToken)
PUBLIC:
Function, returns the date rounded to the year, month or day.
|
Expression |
Expression.shallowClone()
INTERNAL:
|
static Expression |
ExpressionMath.sign(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.sin(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.sinh(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.size(String attributeName)
PUBLIC: A logical expression for the size of collection
attributeName . |
Expression |
Expression.some(boolean[] theBooleans)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.some(byte[] theBytes)
PUBLIC:
Return an expression that is used with a comparison expression.
|
Expression |
Expression.some(char[] theChars)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.some(double[] theDoubles)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.some(Expression arguments) |
Expression |
Expression.some(float[] theFloats)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.some(int[] theInts)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.some(long[] theLongs)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.some(Object[] theObjects)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.some(ReportQuery subQuery) |
Expression |
Expression.some(short[] theShorts)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.some(Vector theObjects)
PUBLIC:
Return an expression that checks if the receivers value is contained in the collection.
|
Expression |
Expression.standardDeviation()
PUBLIC:
This represents the aggregate function StandardDeviation.
|
Expression |
Expression.subQuery(ReportQuery subQuery)
PUBLIC:
Return a sub query expression.
|
Expression |
Expression.substring(int startPosition,
int size)
PUBLIC:
Function, returns the substring from the souce string.
|
Expression |
Expression.substring(Object startPosition,
Object size)
PUBLIC:
Function, returns the substring from the souce string.
|
static Expression |
ExpressionMath.subtract(Expression left,
int right)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.subtract(Expression left,
Object right)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.sum()
PUBLIC:
This represents the aggregate function Sum.
|
static Expression |
ExpressionMath.tan(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.tanh(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.toChar()
PUBLIC:
Return an expression that represents the receiver value converted to a character string.
|
Expression |
Expression.toChar(String format)
PUBLIC:
Return an expression that represents the receiver value converted to a character string,
with the database formating options (i.e.
|
Expression |
Expression.toCharacter()
PUBLIC:
Function, returns the single character string with the ascii or character set value.
|
Expression |
Expression.toDate()
PUBLIC:
Function, returns date from the string using the default format.
|
Expression |
Expression.toLowerCase()
PUBLIC:
Return an expression that represents the receiver value converted to lower case.
|
Expression |
Expression.toNumber()
PUBLIC:
Function, returns the number converted from the string.
|
Expression |
Expression.toUpperCase()
PUBLIC:
Return an expression that represents the receiver value converted to upper case.
|
Expression |
Expression.toUppercaseCasedWords()
PUBLIC:
Function, returns the string with the first letter of each word capitalized.
|
Expression |
Expression.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.
|
Expression |
Expression.trim()
PUBLIC:
Function, returns the string trimmed for white space.
|
Expression |
Expression.trim(Object substring)
PUBLIC:
Function, returns the string right and left trimmed for the substring.
|
static Expression |
ExpressionMath.trunc(Expression expression,
int decimalPlaces)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.trunc(Expression expression,
Object decimalPlaces)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.truncateDate(String datePart)
PUBLIC:
return the date truncated to the indicated datePart.
|
Expression |
Expression.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.
|
Expression |
Expression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
Expression |
ExpressionBuilder.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
Expression |
Expression.value()
PUBLIC:
Function, this represents the value function, used in nestedtable
|
Expression |
Expression.value(boolean constant)
PUBLIC:
Return an expression on the constant.
|
Expression |
Expression.value(byte constant)
PUBLIC:
Return an expression on the constant.
|
Expression |
Expression.value(char constant)
PUBLIC:
Return an expression on the constant.
|
Expression |
Expression.value(double constant)
PUBLIC:
Return an expression on the constant.
|
Expression |
Expression.value(float constant)
PUBLIC:
Return an expression on the constant.
|
Expression |
Expression.value(int constant)
PUBLIC:
Return an expression on the constant.
|
Expression |
Expression.value(long constant)
PUBLIC:
Return an expression on the constant.
|
Expression |
Expression.value(Object constant)
PUBLIC:
Return an expression on the constant.
|
Expression |
Expression.value(short constant)
PUBLIC:
Return an expression on the constant.
|
Expression |
Expression.variance()
PUBLIC:
Function, this represents the aggregate function Variance.
|
Modifier and Type | Method and Description |
---|---|
static Expression |
ExpressionMath.abs(Expression expression)
PUBLIC:
Return a new expression that aplies the function to the given expression.
|
static Expression |
ExpressionMath.acos(Expression expression)
PUBLIC:
Return a new expression that aplies the function to the given expression.
|
static Expression |
ExpressionMath.add(Expression left,
int right)
PUBLIC:
Return a new expression that aplies the function to the given expression.
|
static Expression |
ExpressionMath.add(Expression right,
Object left)
PUBLIC:
Return a new expression that aplies the function to the given expression.
|
Expression |
Expression.all(Expression arguments) |
Expression |
Expression.allOf(String attributeName,
Expression criteria)
PUBLIC: Returns an expression equivalent to all of
attributeName
holding true for criteria . |
Expression |
Expression.and(Expression theExpression)
PUBLIC:
Return an expression that is the boolean logical combination of both expressions.
|
Expression |
Expression.any(Expression arguments) |
static Expression |
ExpressionMath.asin(Expression expression)
PUBLIC:
Return a new expression that aplies the function to the given expression.
|
static Expression |
ExpressionMath.atan(Expression expression)
PUBLIC:
Return a new expression that aplies the function to the given expression.
|
static Expression |
ExpressionMath.atan2(Expression expression1,
Expression expression2)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.atan2(Expression expression,
int value)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.atan2(Expression expression,
Object value)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.between(Expression leftExpression,
Expression rightExpression) |
static Expression |
ExpressionMath.ceil(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.chr(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.cloneUsing(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
Expression.containsSubstring(Expression expression)
PUBLIC:
Return an expression that compares if the receivers value contains the substring.
|
Expression |
Expression.containsSubstringIgnoringCase(Expression expression)
PUBLIC:
Return an expression that compares if the receivers value contains the substring, ignoring case.
|
static Expression |
ExpressionMath.cos(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.cosh(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.cot(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.create(Expression base,
Object singleArgument,
ExpressionOperator anOperator)
INTERNAL:
|
Expression |
Expression.create(Expression base,
Vector arguments,
ExpressionOperator anOperator)
INTERNAL:
|
Expression |
Expression.createWithBaseLast(Expression base,
Object singleArgument,
ExpressionOperator anOperator)
INTERNAL:
|
Expression |
Expression.dateDifference(String datePart,
Expression comparisonExpression)
PUBLIC:
Function, Return the difference between the queried part of a date(i.e.
|
static Expression |
ExpressionMath.divide(Expression left,
int right)
PUBLIC:
Return a new expression that aplies the function to the given expression.
|
static Expression |
ExpressionMath.divide(Expression left,
Object right)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.equal(Expression theValue)
Returns an expression that compares if the receiver's value is equal to the other value.
|
Expression |
Expression.equalOuterJoin(Expression theValue)
INTERNAL:
Return an expression representing an outer join comparison
|
Expression |
Expression.equalsIgnoreCase(Expression theValue)
PUBLIC:
Return an expression that compares if the receiver's value is equal to the other value, ignoring case.
|
static Expression |
ExpressionMath.exp(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
ExpressionOperator.expressionFor(Expression base)
INTERNAL:
Create an expression for this operator, using the given base.
|
Expression |
ExpressionOperator.expressionFor(Expression base,
Object value)
INTERNAL:
Create an expression for this operator, using the given base and a single argument.
|
Expression |
ExpressionOperator.expressionForArguments(Expression base,
Vector arguments)
INTERNAL:
Create an expression for this operator, using the given base and arguments.
|
Expression |
ExpressionOperator.expressionForWithBaseLast(Expression base,
Object value)
INTERNAL:
Create an expression for this operator, using the given base and a single argument.
|
static Expression |
ExpressionMath.floor(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
Expression.from(Object value,
Expression base)
INTERNAL:
Create an expression node.
|
static Expression |
Expression.fromConstant(Object value,
Expression base)
INTERNAL:
Create an expression node.
|
static Expression |
Expression.fromLiteral(String value,
Expression base)
INTERNAL:
Create an expression node.
|
Expression |
Expression.greaterThan(Expression theValue) |
Expression |
Expression.greaterThanEqual(Expression theValue)
PUBLIC:
Return an expression that compares if the receivers value is greater and equal to the other value.
|
Expression |
Expression.in(Expression arguments) |
Expression |
Expression.lessThan(Expression theValue) |
Expression |
Expression.lessThanEqual(Expression theValue)
PUBLIC:
Return an expression that compares if the receivers value is less than and equal to the other value.
|
Expression |
Expression.like(Expression argument)
PUBLIC:
Return an expression that compares if the receivers value is like other value.
|
Expression |
Expression.like(Expression value,
Expression escapeSequence)
PUBLIC:
Return an expression that compares if the receivers value is like other value.
|
Expression |
Expression.likeIgnoreCase(Expression theValue)
PUBLIC:
Return an expression that compares if the receivers value is like the other value, ignoring case.
|
static Expression |
ExpressionMath.ln(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.log(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.max(Expression left,
int right)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.max(Expression left,
Object right)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.min(Expression left,
int right)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.min(Expression left,
Object right)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.mod(Expression expression,
int base)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.mod(Expression expression,
Object base)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.multiply(Expression left,
int right)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.multiply(Expression left,
Object right)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
ExpressionOperator.newExpressionForArgument(Expression base,
Object singleArgument)
INTERNAL:
Create a new expression.
|
Expression |
ExpressionOperator.newExpressionForArguments(Expression base,
Vector arguments)
INTERNAL:
The general case.
|
Expression |
ExpressionOperator.newExpressionForArgumentWithBaseLast(Expression base,
Object singleArgument)
INTERNAL:
Create a new expression.
|
Expression |
Expression.noneOf(String attributeName,
Expression criteria)
PUBLIC: Returns an expression equivalent to none of
attributeName
holding true for criteria . |
Expression |
Expression.notBetween(Expression leftExpression,
Expression rightExpression)
PUBLIC:
Return an expression that compares if the receivers value is not between two other values.
|
Expression |
Expression.notEqual(Expression theValue)
PUBLIC:
Return an expression that compares if the receivers value is not equal to the other value.
|
Expression |
Expression.notIn(Expression arguments) |
Expression |
Expression.notLike(Expression arguments)
PUBLIC:
Return an expression that compares if the receivers value is not like the other value.
|
Expression |
Expression.or(Expression theExpression)
PUBLIC:
Return an expression that is the boolean logical combination of both expressions.
|
static Expression |
ExpressionMath.power(Expression expression,
int raised)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.power(Expression expression,
Object raised)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
void |
ExpressionOperator.printDuo(Expression first,
Expression second,
ExpressionSQLPrinter printer)
INTERNAL:
For performance, special case printing two children, since it's by far the most common
|
void |
ExpressionOperator.printJavaDuo(Expression first,
Expression second,
ExpressionJavaPrinter printer)
INTERNAL:
For performance, special case printing two children, since it's by far the most common
|
abstract Expression |
Expression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
ExpressionBuilder.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
static Expression |
ExpressionMath.round(Expression expression,
int decimalPlaces)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.round(Expression expression,
Object decimalPlaces)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
void |
Expression.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 Expression |
ExpressionMath.sign(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.sin(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.sinh(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.some(Expression arguments) |
static Expression |
ExpressionMath.subtract(Expression left,
int right)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.subtract(Expression left,
Object right)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.tan(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.tanh(Expression expression)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.trunc(Expression expression,
int decimalPlaces)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
static Expression |
ExpressionMath.trunc(Expression expression,
Object decimalPlaces)
PUBLIC:
Return a new expression that applies the function to the given expression.
|
Expression |
Expression.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.
|
Expression |
Expression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
Expression |
ExpressionBuilder.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
Modifier and Type | Field and Description |
---|---|
protected Expression |
ObjectBuilder.primaryKeyExpression |
Modifier and Type | Method and Description |
---|---|
Expression |
ObjectBuilder.buildDeleteExpression(DatabaseTable table,
AbstractRecord row)
Build and return the expression to use as the where clause to delete an object.
|
Expression |
OptimisticLockingPolicy.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.
|
Expression |
ObjectBuilder.buildPrimaryKeyExpression(DatabaseTable table)
Build the primary key expression for the secondary table.
|
Expression |
ObjectBuilder.buildPrimaryKeyExpressionFromKeys(Vector primaryKeyValues,
AbstractSession session)
Build the primary key expression from the specified primary key values.
|
Expression |
ObjectBuilder.buildPrimaryKeyExpressionFromObject(Object domainObject,
AbstractSession session)
Build the primary key expression from the specified domain object.
|
Expression |
ObjectBuilder.buildUpdateExpression(DatabaseTable table,
AbstractRecord transactionRow,
AbstractRecord modifyRow)
Build and return the expression to use as the where clause to an update object.
|
Expression |
OptimisticLockingPolicy.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.
|
Expression |
ObjectBuilder.getPrimaryKeyExpression()
Return the primary key expression
|
Expression |
OptimisticLockingPolicy.getWriteLockUpdateExpression(ExpressionBuilder builder)
INTERNAL:
This method will return an expression that is used to update its optimistic
locking field.
|
Modifier and Type | Method and Description |
---|---|
Expression |
OptimisticLockingPolicy.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.
|
Expression |
OptimisticLockingPolicy.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.
|
Vector |
ObjectBuilder.extractPrimaryKeyFromExpression(boolean requiresExactMatch,
Expression expression,
AbstractRecord translationRow,
AbstractSession session)
Return the row with primary keys and their values from the given expression.
|
AbstractRecord |
ObjectBuilder.extractPrimaryKeyRowFromExpression(Expression expression,
AbstractRecord translationRow,
AbstractSession session)
Return the row with primary keys and their values from the given expression.
|
void |
ObjectBuilder.setPrimaryKeyExpression(Expression criteria)
The primary key expression is cached to improve performance.
|
Modifier and Type | Method and Description |
---|---|
Query |
EntityManagerImpl.createQuery(Expression expression,
Class resultType)
This method is used to create a query using a Toplink Expression and the return type.
|
Modifier and Type | Method and Description |
---|---|
protected DatabaseQuery |
EntityManagerImpl.createQueryInternal(Expression expression,
Class resultType)
This method is used to create a query using a Toplink Expression and the return type.
|
Modifier and Type | Class and Description |
---|---|
class |
CompoundExpression
Abstract class for expression that have exactly two children, such as and/or and relations.
|
class |
ConstantExpression
Used for wrapping constant values.
|
class |
DataExpression
Superclass for all expression that have a context.
|
class |
FieldExpression
Field expressions represent a field of a table.
|
class |
FunctionExpression
Used for expressions that have 0 to n children.
|
class |
LiteralExpression
Used for wrapping literal values.
|
class |
LogicalExpression
Used for logical AND and OR.
|
class |
ManualQueryKeyExpression
This class represents a "query key" that isn't really there
in the descriptors.
|
class |
ObjectExpression
Superclass for any object type expressions.
|
class |
ParameterExpression
Used for parameterized expressions, such as expression defined in mapping queries.
|
class |
QueryKeyExpression
Represents expression on query keys or mappings.
|
class |
RelationExpression
Purpose:Used for all relation operators except for between.
|
class |
SubSelectExpression
This is used to support subselects.
|
class |
TableExpression |
Modifier and Type | Field and Description |
---|---|
protected Expression |
ExpressionNormalizer.additionalExpression
A new root expression can be made from joins being added to the original expression.
|
protected Expression |
FunctionExpression.baseExpression |
protected Expression |
SubSelectExpression.baseExpression |
protected Expression |
ParameterExpression.baseExpression
The base expression is what the parameter was derived from, used for nested parameters.
|
protected Expression |
DataExpression.baseExpression |
protected Expression |
SQLSelectStatement.connectByExpression |
protected Expression |
CompoundExpression.firstChild |
protected Expression |
SQLSelectStatement.havingExpression
Having clause for report queries.
|
protected Expression |
SQLDeleteAllStatement.inheritanceExpression |
protected Expression |
LiteralExpression.localBase |
protected Expression |
ParameterExpression.localBase
The opposite side of the relation, this is used for conversion of the parameter using the others mapping.
|
protected Expression |
ConstantExpression.localBase |
protected Expression |
CompoundExpression.secondChild |
protected Expression |
SQLSelectStatement.startWithExpression
Used for Oracle Hierarchical Queries
|
protected Expression |
SQLStatement.whereClause |
Modifier and Type | Method and Description |
---|---|
Expression |
ObjectExpression.additionalExpressionCriteria()
INTERNAL:
Return the expression to join the main table of this node to any auxiliary tables.
|
Expression |
QueryKeyExpression.additionalExpressionCriteria()
INTERNAL:
Return the expression to join the main table of this node to any auxiliary tables.
|
Expression |
ObjectExpression.anyOf(String attributeName)
PUBLIC:
Return an expression representing traversal of a 1:many or many:many relationship.
|
Expression |
FunctionExpression.create(Expression base,
Object singleArgument,
ExpressionOperator operator)
INTERNAL:
|
Expression |
CompoundExpression.create(Expression base,
Object singleArgument,
ExpressionOperator operator)
INTERNAL:
|
Expression |
FunctionExpression.create(Expression base,
Vector arguments,
ExpressionOperator operator)
INTERNAL:
|
Expression |
CompoundExpression.create(Expression base,
Vector arguments,
ExpressionOperator operator)
INTERNAL:
|
Expression |
FunctionExpression.createWithBaseLast(Expression base,
Object singleArgument,
ExpressionOperator anOperator)
INTERNAL:
added for Trim support.
|
Expression |
ObjectExpression.derivedManualExpressionNamed(String attributeName,
ClassDescriptor aDescriptor) |
Expression |
DataExpression.existingDerivedField(DatabaseField field)
INTERNAL:
|
Expression |
DataExpression.existingDerivedTable(DatabaseTable table)
INTERNAL:
|
Expression |
ParameterExpression.get(String attributeOrQueryKey)
This allows for nesting of parametrized expression.
|
Expression |
ObjectExpression.get(String attributeName,
Vector arguments) |
Expression |
ExpressionNormalizer.getAdditionalExpression() |
Expression |
ObjectExpression.getAllowingNull(String attributeName,
Vector arguments) |
Expression |
FunctionExpression.getBaseExpression() |
Expression |
SubSelectExpression.getBaseExpression() |
Expression |
ParameterExpression.getBaseExpression()
The base expression is what the parameter was derived from.
|
Expression |
DataExpression.getBaseExpression() |
Expression |
SQLSelectStatement.getConnectByExpression()
INTERNAL:
Return the CONNECT BY expression
|
Expression |
ParameterExpression.getField(DatabaseField field)
This allows for nesting of parametrized expression.
|
Expression |
DataExpression.getField(DatabaseField field) |
Expression |
TableExpression.getField(String fieldName)
INTERNAL:
Fully-qualify the databaseField if the table is known.
|
Expression |
DataExpression.getField(String fieldName) |
Expression |
CompoundExpression.getFirstChild() |
Expression |
SQLSelectStatement.getHavingExpression()
INTERNAL:
Return the having expression.
|
Expression |
SQLDeleteAllStatement.getInheritanceExpression() |
protected Expression |
LiteralExpression.getLocalBase() |
Expression |
ParameterExpression.getLocalBase()
The opposite side of the relation, this is used for conversion of the parameter using the others mapping.
|
protected Expression |
ConstantExpression.getLocalBase() |
Expression |
ObjectExpression.getManualQueryKey(String attributeName,
ClassDescriptor aDescriptor) |
Expression |
CompoundExpression.getSecondChild() |
Expression |
SQLSelectStatement.getStartWithExpression()
INTERNAL:
Return the StartWith expression
|
Expression |
DataExpression.getTable(DatabaseTable table) |
Expression |
DataExpression.getTable(String tableName) |
Expression |
SQLStatement.getWhereClause() |
Expression |
ManualQueryKeyExpression.mappingCriteria() |
Expression |
QueryKeyExpression.mappingCriteria() |
Expression |
DataExpression.mappingCriteria() |
Expression |
DataExpression.newDerivedField(DatabaseField field)
INTERNAL:
|
Expression |
DataExpression.newDerivedTable(DatabaseTable table)
INTERNAL:
|
Expression |
ObjectExpression.newManualDerivedExpressionNamed(String attributeName,
ClassDescriptor aDescriptor) |
Expression |
TableExpression.normalize(ExpressionNormalizer normalizer)
INTERNAL:
Normalize the expression into a printable structure.
|
Expression |
FunctionExpression.normalize(ExpressionNormalizer normalizer)
INTERNAL:
Normalize into a structure that is printable.
|
Expression |
RelationExpression.normalize(ExpressionNormalizer normalizer)
INTERNAL:
Check for object comparison as this requires for the expression to be replaced by the object comparison.
|
Expression |
SubSelectExpression.normalize(ExpressionNormalizer normalizer)
INTERNAL:
The subquery must be normalized with the knowledge of the outer statement for outer references and correct aliasing.
|
Expression |
CompoundExpression.normalize(ExpressionNormalizer normalizer)
INTERNAL:
Normalize into a structure that is printable.
|
Expression |
QueryKeyExpression.normalize(ExpressionNormalizer normalizer)
INTERNAL:
Normalize the expression into a printable structure.
|
Expression |
DataExpression.normalize(ExpressionNormalizer normalizer)
INTERNAL:
Normalize the expression into a printable structure.
|
Expression |
QueryKeyExpression.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.
|
Expression |
SubSelectExpression.normalizeSubSelect(ExpressionNormalizer normalizer,
Dictionary clonedExpressions)
INTERNAL:
Normalize this expression now that the parent statment has been normalized.
|
Expression |
TableExpression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
FunctionExpression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
ManualQueryKeyExpression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
FieldExpression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
SubSelectExpression.rebuildOn(Expression newBase)
Should not rebuild as has its on expression builder.
|
Expression |
LiteralExpression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
CompoundExpression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
QueryKeyExpression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
ParameterExpression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
ConstantExpression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
QueryKeyExpression.rebuildOn(Expression oldBase,
Expression newBase)
INTERNAL:
A special version of rebuildOn where the newBase need not be a new
ExpressionBuilder but any expression.
|
Expression |
TableExpression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
Expression |
FunctionExpression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
Expression |
ManualQueryKeyExpression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
Expression |
FieldExpression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
Expression |
LiteralExpression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
Expression |
CompoundExpression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTRENAL:
Used to change an expression off of one base to an expression off of a different base.
|
Expression |
QueryKeyExpression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
Expression |
ParameterExpression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild against the base, with the values of parameters supplied by the context
expression.
|
Expression |
ConstantExpression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
Modifier and Type | Method and Description |
---|---|
void |
ExpressionNormalizer.addAdditionalExpression(Expression theExpression) |
void |
FunctionExpression.addChild(Expression child) |
void |
ObjectExpression.addDerivedExpression(Expression addThis) |
void |
DataExpression.addDerivedField(Expression addThis) |
void |
DataExpression.addDerivedTable(Expression addThis) |
void |
SQLSelectStatement.addField(Expression expression)
INTERNAL: adds an expression to the fields.
|
Expression |
FunctionExpression.create(Expression base,
Object singleArgument,
ExpressionOperator operator)
INTERNAL:
|
Expression |
CompoundExpression.create(Expression base,
Object singleArgument,
ExpressionOperator operator)
INTERNAL:
|
Expression |
FunctionExpression.create(Expression base,
Vector arguments,
ExpressionOperator operator)
INTERNAL:
|
Expression |
CompoundExpression.create(Expression base,
Vector arguments,
ExpressionOperator operator)
INTERNAL:
|
Expression |
FunctionExpression.createWithBaseLast(Expression base,
Object singleArgument,
ExpressionOperator anOperator)
INTERNAL:
added for Trim support.
|
protected boolean |
SQLSelectStatement.fieldsContainField(Vector fields,
Expression expression)
Check if the field from the field expression is already contained in the select clause of the statement.
|
boolean |
ExpressionIterator.hasAlreadyVisited(Expression expression)
Answers if this expression has already been visited.
|
abstract void |
ExpressionIterator.iterate(Expression expression)
INTERNAL:
This method must be defined by subclasses to implement the logic of the iteratation.
|
void |
ExpressionIterator.iterateOn(Expression expression)
INTERNAL:
Return the call.
|
protected static SortedSet |
SQLSelectStatement.mapTableIndexToExpression(Expression expression,
SortedMap map,
Vector tablesInOrder)
INTERNAL:
The method searches for expressions that join two tables each in a given expression.
|
static Map |
SQLSelectStatement.mapTableToExpression(Expression expression,
Vector tablesInOrder)
INTERNAL:
The method searches for expressions that join two tables each in a given expression.
|
void |
ExpressionSQLPrinter.printExpression(Expression expression) |
Expression |
TableExpression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
FunctionExpression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
ManualQueryKeyExpression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
FieldExpression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
SubSelectExpression.rebuildOn(Expression newBase)
Should not rebuild as has its on expression builder.
|
Expression |
LiteralExpression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
CompoundExpression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
QueryKeyExpression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
ParameterExpression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
ConstantExpression.rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
QueryKeyExpression.rebuildOn(Expression oldBase,
Expression newBase)
INTERNAL:
A special version of rebuildOn where the newBase need not be a new
ExpressionBuilder but any expression.
|
void |
ExpressionNormalizer.setAdditionalExpression(Expression additionalExpression) |
void |
FunctionExpression.setBaseExpression(Expression expression)
Sets the base of the expression
Added to allow creation of functions which take the column name
as something other than the first option.
|
protected void |
SubSelectExpression.setBaseExpression(Expression baseExpression) |
protected void |
ParameterExpression.setBaseExpression(Expression baseExpression)
The base expression is what the parameter was derived from.
|
protected void |
DataExpression.setBaseExpression(Expression e) |
protected void |
CompoundExpression.setFirstChild(Expression firstChild) |
void |
SQLSelectStatement.setHavingExpression(Expression expressions) |
void |
SQLSelectStatement.setHierarchicalQueryExpressions(Expression startWith,
Expression connectBy,
Vector 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 SQL
|
void |
SQLDeleteAllStatement.setInheritanceExpression(Expression inheritanceExpression) |
void |
FunctionExpression.setLocalBase(Expression exp) |
void |
LiteralExpression.setLocalBase(Expression e) |
void |
ParameterExpression.setLocalBase(Expression localBase)
The opposite side of the relation, this is used for conversion of the parameter using the others mapping.
|
void |
ConstantExpression.setLocalBase(Expression e) |
void |
SQLSelectStatement.setNormalizedWhereClause(Expression whereClause)
Set the where clause expression.
|
protected void |
CompoundExpression.setSecondChild(Expression secondChild) |
void |
SQLStatement.setWhereClause(Expression expression) |
protected void |
ExpressionSQLPrinter.translateExpression(Expression theExpression)
Translate an expression i.e.
|
Expression |
TableExpression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
Expression |
FunctionExpression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
Expression |
ManualQueryKeyExpression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
Expression |
FieldExpression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
Expression |
LiteralExpression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
Expression |
CompoundExpression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTRENAL:
Used to change an expression off of one base to an expression off of a different base.
|
Expression |
QueryKeyExpression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
Expression |
ParameterExpression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild against the base, with the values of parameters supplied by the context
expression.
|
Expression |
ConstantExpression.twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
protected void |
SQLSelectStatement.writeFieldsFromExpression(ExpressionSQLPrinter printer,
Expression expression,
Vector newFields)
INTERNAL:
|
Constructor and Description |
---|
ConstantExpression(Object newValue,
Expression baseExpression) |
FieldExpression(DatabaseField newField,
Expression myBase)
FieldExpression constructor comment.
|
LiteralExpression(String newValue,
Expression baseExpression) |
ManualQueryKeyExpression(String impliedRelationshipName,
Expression base) |
ManualQueryKeyExpression(String impliedRelationshipName,
Expression base,
ClassDescriptor descriptor) |
ParameterExpression(DatabaseField field,
Expression baseExpression) |
ParameterExpression(String fieldName,
Expression baseExpression,
Object type) |
QueryKeyExpression(String aName,
Expression base) |
SubSelectExpression(ReportQuery query,
Expression baseExpression) |
Modifier and Type | Method and Description |
---|---|
Vector |
IdentityMapManager.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean shouldReturnInvalidatedObjects)
Query the cache in-memory.
|
Object |
IdentityMapManager.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean conforming,
boolean shouldReturnInvalidatedObjects,
ClassDescriptor descriptor) |
Modifier and Type | Field and Description |
---|---|
protected Expression |
GenerationContext.baseExpression |
Modifier and Type | Method and Description |
---|---|
protected Expression |
CountNode.addAggregateExression(Expression expr)
INTERNAL
|
protected Expression |
MaxNode.addAggregateExression(Expression expr)
INTERNAL
|
protected Expression |
AvgNode.addAggregateExression(Expression expr)
INTERNAL
|
protected Expression |
MinNode.addAggregateExression(Expression expr)
INTERNAL
|
protected Expression |
SumNode.addAggregateExression(Expression expr)
INTERNAL
|
protected abstract Expression |
AggregateNode.addAggregateExression(Expression expr)
INTERNAL
|
Expression |
AttributeNode.addToExpression(Expression parentExpression,
GenerationContext context) |
Expression |
Node.addToExpression(Expression parentExpression,
GenerationContext context)
INTERNAL
Add my expression semantics to the parentExpression.
|
Expression |
SortDirectionNode.addToExpression(Expression parentExpression,
GenerationContext context)
INTERNAL
Return the parent expression unmodified
|
Expression |
Node.appendExpression(Expression left,
Expression right)
INTERNAL
Returns left.and(right) if both are defined.
|
Expression |
GenerationContext.expressionFor(String aliasName) |
Expression |
VariableNode.generateBaseBuilderExpression(GenerationContext context) |
Expression |
ParseTree.generateExpression(DatabaseQuery readQuery,
GenerationContext generationContext)
INTERNAL
Build a context for the expression generation
|
Expression |
VariableNode.generateExpression(GenerationContext generationContext) |
Expression |
ConcatNode.generateExpression(GenerationContext context)
INTERNAL
Generate the TopLink expression for this node
|
Expression |
AnyNode.generateExpression(GenerationContext context)
INTERNAL
Generate the TopLink expression for this node
|
Expression |
LengthNode.generateExpression(GenerationContext context)
INTERNAL
Generate the TopLink expression for this node
|
Expression |
MultiplyNode.generateExpression(GenerationContext context)
INTERNAL
Generate the expression.
|
Expression |
MemberOfNode.generateExpression(GenerationContext context) |
Expression |
EqualsNode.generateExpression(GenerationContext context)
Resolve the expression.
|
Expression |
NullComparisonNode.generateExpression(GenerationContext context)
INTERNAL
Return a TopLink expression for this node.
|
Expression |
LocateNode.generateExpression(GenerationContext context)
INTERNAL
Generate the TopLink expression for this node
|
Expression |
LowerNode.generateExpression(GenerationContext context)
INTERNAL
Generate the TopLink expression for this node
|
Expression |
EscapeNode.generateExpression(GenerationContext context) |
Expression |
MinusNode.generateExpression(GenerationContext context)
INTERNAL
Generate the expression.
|
Expression |
ParameterNode.generateExpression(GenerationContext context) |
Expression |
BetweenNode.generateExpression(GenerationContext context)
INTERNAL
Return a TopLink expression by 'BETWEEN' and 'AND'ing the expressions from the left,
rightForBetween and rightForAnd nodes
|
Expression |
EmptyCollectionComparisonNode.generateExpression(GenerationContext context)
INTERNAL
Return a TopLink expression for this node.
|
Expression |
InNode.generateExpression(GenerationContext context)
INTERNAL
Return the TopLink expression for this node
|
Expression |
LessThanNode.generateExpression(GenerationContext context)
INTERNAL
Resolve the expression.
|
Expression |
DateFunctionNode.generateExpression(GenerationContext context)
INTERNAL
Generate the TopLink expression for this node
|
Expression |
UnaryMinus.generateExpression(GenerationContext context)
INTERNAL
Generate the expression.
|
Expression |
WhereNode.generateExpression(GenerationContext context)
INTERNAL
|
Expression |
NotEqualsNode.generateExpression(GenerationContext context)
Resolve the expression.
|
Expression |
SizeNode.generateExpression(GenerationContext context)
INTERNAL
Generate the TopLink expression for this node
|
Expression |
AndNode.generateExpression(GenerationContext context)
INTERNAL
Return a TopLink expression by 'AND'ing the expressions from the left and right nodes
|
Expression |
SubstringNode.generateExpression(GenerationContext context)
INTERNAL
Generate the TopLink expression for this node
|
Expression |
PlusNode.generateExpression(GenerationContext context)
INTERNAL
Generate the expression.
|
Expression |
SomeNode.generateExpression(GenerationContext context)
INTERNAL
Generate the TopLink expression for this node
|
Expression |
OrderByItemNode.generateExpression(GenerationContext context) |
Expression |
SqrtNode.generateExpression(GenerationContext context)
INTERNAL
Generate the TopLink expression for this node
|
Expression |
LessThanEqualToNode.generateExpression(GenerationContext context)
INTERNAL
Resolve the expression.
|
Expression |
AllNode.generateExpression(GenerationContext context)
INTERNAL
Generate the TopLink expression for this node
|
Expression |
OrNode.generateExpression(GenerationContext context)
INTERNAL
Return a TopLink expression by 'OR'ing the expressions from the left and right nodes
|
Expression |
DivideNode.generateExpression(GenerationContext context)
INTERNAL
Generate the expression.
|
Expression |
Node.generateExpression(GenerationContext context)
INTERNAL
Generate an expression for the node.
|
Expression |
ExistsNode.generateExpression(GenerationContext context)
INTERNAL
Generate the TopLink expression for this node
|
Expression |
GreaterThanNode.generateExpression(GenerationContext context)
INTERNAL
Resolve the expression.
|
Expression |
LiteralNode.generateExpression(GenerationContext context)
INTERNAL
Generate the a new TopLink ConstantExpression for this node.
|
Expression |
AbsNode.generateExpression(GenerationContext context)
INTERNAL
Generate the TopLink expression for this node
|
abstract Expression |
QueryNode.generateExpression(GenerationContext context)
INTERNAL
Return a TopLink expression generated using the left node
|
Expression |
LikeNode.generateExpression(GenerationContext context)
INTERNAL
Return a TopLink expression for this node.
|
Expression |
SubqueryNode.generateExpression(GenerationContext context)
INTERNAL
Generate the TopLink expression for this node
|
Expression |
TrimNode.generateExpression(GenerationContext context)
INTERNAL
Generate the TopLink expression for this node
|
Expression |
DotNode.generateExpression(GenerationContext context)
INTERNAL
Return a TopLink expression by getting the required variables using the
left and right nodes
"emp.address.city" = builder.get("address").get("city")
|
Expression |
ModifyNode.generateExpression(GenerationContext context)
INTERNAL
|
Expression |
SelectNode.generateExpression(GenerationContext context)
INTERNAL
Return a TopLink expression generated using the left node
|
Expression |
NotNode.generateExpression(GenerationContext context)
INTERNAL
Return a TopLink expression by calling generateExpression on the right node and adding .not()
to the returned expression
|
Expression |
ModNode.generateExpression(GenerationContext context) |
Expression |
UpperNode.generateExpression(GenerationContext context)
INTERNAL
Generate the TopLink expression for this node
|
Expression |
AggregateNode.generateExpression(GenerationContext context)
INTERNAL
Return a TopLink expression generated using the left node
|
Expression |
GreaterThanEqualToNode.generateExpression(GenerationContext context)
INTERNAL
Resolve the expression.
|
Expression |
VariableNode.generateExpressionForAlias(GenerationContext context) |
Expression |
GenerationContext.getBaseExpression() |
protected Expression |
SetNode.getExpressionForNode(Node node,
Class referenceClass,
GenerationContext context)
Create an expression to represent one of the nodes on a SetToNode.
|
Expression |
MemberOfNode.getLeftExpression() |
Expression |
SelectGenerationContext.joinVariables(Set variables)
Iterate the set of variables declared in an outer scope and
connect the inner varaible expression with the outer one.
|
Expression |
GenerationContext.joinVariables(Set variables) |
Modifier and Type | Method and Description |
---|---|
protected Expression |
CountNode.addAggregateExression(Expression expr)
INTERNAL
|
protected Expression |
MaxNode.addAggregateExression(Expression expr)
INTERNAL
|
protected Expression |
AvgNode.addAggregateExression(Expression expr)
INTERNAL
|
protected Expression |
MinNode.addAggregateExression(Expression expr)
INTERNAL
|
protected Expression |
SumNode.addAggregateExression(Expression expr)
INTERNAL
|
protected abstract Expression |
AggregateNode.addAggregateExression(Expression expr)
INTERNAL
|
void |
GenerationContext.addExpression(Expression expression,
String aliasName) |
Expression |
AttributeNode.addToExpression(Expression parentExpression,
GenerationContext context) |
Expression |
Node.addToExpression(Expression parentExpression,
GenerationContext context)
INTERNAL
Add my expression semantics to the parentExpression.
|
Expression |
SortDirectionNode.addToExpression(Expression parentExpression,
GenerationContext context)
INTERNAL
Return the parent expression unmodified
|
Expression |
Node.appendExpression(Expression left,
Expression right)
INTERNAL
Returns left.and(right) if both are defined.
|
void |
GenerationContext.setBaseExpression(String variable,
Expression expr)
Caches the specified expression under the variable name for the base
query class.
|
void |
MemberOfNode.setLeftExpression(Expression newLeftExpression) |
Modifier and Type | Field and Description |
---|---|
protected Expression |
ReportItem.attributeExpression
Expression (partial) describing the attribute wanted
|
protected Expression |
ExpressionQueryMechanism.selectionCriteria |
Modifier and Type | Method and Description |
---|---|
Expression |
ExpressionQueryMechanism.buildBaseSelectionCriteria(boolean isSubSelect,
Dictionary clonedExpressions)
Create the appropriate where clause.
|
Expression |
ReportItem.getAttributeExpression() |
Expression |
ExpressionQueryMechanism.getSelectionCriteria()
Return the selection criteria of the query.
|
Expression |
StatementQueryMechanism.getSelectionCriteria()
Return the selection criteria for the statement.
|
Expression |
DatabaseQueryMechanism.getSelectionCriteria()
Return the selection criteria for the mechanism.
|
Modifier and Type | Method and Description |
---|---|
void |
JoinedAttributeManager.addJoinedAttributeExpression(Expression attributeExpression)
INTERNAL:
|
void |
JoinedAttributeManager.addJoinedMappingExpression(Expression mappingExpression)
INTERNAL:
Add an attribute represented by the given attribute name to the list of joins
for this query.
|
protected SQLDeleteStatement |
ExpressionQueryMechanism.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 SQLDeleteStatement |
ExpressionQueryMechanism.buildDeleteStatementForDeleteAllQuery(DatabaseTable table,
Expression inheritanceExpression)
Used by DeleteAllQuery to create DeleteStatement in a simple case
when selectionCriteria==null.
|
protected SQLSelectStatement |
ExpressionQueryMechanism.buildReportQuerySelectStatement(boolean isSubSelect,
boolean useCustomaryInheritanceExpression,
Expression inheritanceExpression)
Customary inheritance expression is required for DeleteAllQuery and UpdateAllQuery preparation.
|
protected SQLSelectStatement |
ExpressionQueryMechanism.createSQLSelectStatementForAssignedExpressionForUpdateAll(Expression value) |
protected SQLSelectStatement |
ExpressionQueryMechanism.createSQLSelectStatementForModifyAll(Expression whereClause) |
protected SQLSelectStatement |
ExpressionQueryMechanism.createSQLSelectStatementForModifyAll(Expression whereClause,
Expression inheritanceExpression) |
protected SQLSelectStatement |
ExpressionQueryMechanism.createSQLSelectStatementForModifyAll(Expression whereClause,
Expression inheritanceExpression,
ClassDescriptor desc) |
protected SQLSelectStatement |
ExpressionQueryMechanism.createSQLSelectStatementForModifyAll(Expression whereClause,
Expression inheritanceExpression,
ClassDescriptor desc,
boolean useCustomaryInheritanceExpression) |
protected void |
JoinedAttributeManager.prepareJoinExpression(Expression expression,
AbstractSession session)
Validate and prepare the join expression.
|
void |
ExpressionQueryMechanism.setSelectionCriteria(Expression expression)
Set the selection criteria of the query.
|
Constructor and Description |
---|
ExpressionQueryMechanism(DatabaseQuery query,
Expression expression)
Initialize the state of the query
|
ReportItem(String name,
Expression attributeExpression) |
Modifier and Type | Method and Description |
---|---|
Vector |
UnitOfWorkIdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean shouldReturnInvalidatedObjects)
INTERNAL:
This method overrides the getAllFromIdentityMap method in Session.
|
Vector |
IdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow)
ADVANCED:
Query the cache in-memory.
|
Vector |
IdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy)
ADVANCED:
Query the cache in-memory.
|
Vector |
IsolatedClientSessionIdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean shouldReturnInvalidatedObjects)
ADVANCED:
Query the cache in-memory.
|
Vector |
IdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean shouldReturnInvalidatedObjects)
ADVANCED:
Query the cache in-memory.
|
Vector |
UnitOfWorkImpl.getAllFromNewObjects(Expression selectionCriteria,
Class theClass,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy)
INTERNAL:
Return any new objects matching the expression.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow)
ADVANCED:
Query the cache in-memory.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy)
ADVANCED:
Query the cache in-memory.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean conforming)
INTERNAL:
Query the cache in-memory.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean conforming,
boolean shouldReturnInvalidatedObjects)
INTERNAL:
Query the cache in-memory.
|
Object |
IsolatedClientSessionIdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean conforming,
boolean shouldReturnInvalidatedObjects,
ClassDescriptor descriptor)
INTERNAL:
Query the cache in-memory.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean conforming,
boolean shouldReturnInvalidatedObjects,
ClassDescriptor descriptor)
INTERNAL:
Query the cache in-memory.
|
Object |
UnitOfWorkImpl.getObjectFromNewObjects(Expression selectionCriteria,
Class theClass,
AbstractRecord translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy)
INTERNAL:
Return any new object matching the expression.
|
void |
IdentityMapAccessor.invalidateObjects(Expression selectionCriteria)
ADVANCED:
Set all of the objects from the given Expression to be invalid in the TopLink Identity Maps
|
Vector |
AbstractSession.readAllObjects(Class domainClass,
Expression expression)
PUBLIC:
Read all of the instances of the class from the database matching the given expression.
|
Object |
AbstractSession.readObject(Class domainClass,
Expression expression)
PUBLIC:
Read the first instance of the class from the database matching the given expression.
|
IdentityHashtable |
UnitOfWorkImpl.scanForConformingInstances(Expression selectionCriteria,
Class referenceClass,
AbstractRecord arguments,
ObjectLevelReadQuery query)
INTERNAL:
Scans the UnitOfWork identity map for conforming instances.
|
Modifier and Type | Field and Description |
---|---|
protected Expression |
OneToOneMapping.privateOwnedCriteria |
Modifier and Type | Method and Description |
---|---|
protected Expression |
OneToManyMapping.buildDefaultSelectionCriteria()
The selection criteria are created with target foreign keys and source "primary" keys.
|
Expression |
AggregateObjectMapping.buildObjectJoinExpression(Expression expression,
Expression argument,
AbstractSession session)
INTERNAL:
Used to allow object level comparisons.
|
Expression |
OneToOneMapping.buildObjectJoinExpression(Expression expression,
Expression argument,
AbstractSession session)
INTERNAL:
Used to allow object level comparisons.
|
Expression |
DatabaseMapping.buildObjectJoinExpression(Expression base,
Expression argument,
AbstractSession session)
INTERNAL:
Used to allow object level comparisons.
|
Expression |
AggregateObjectMapping.buildObjectJoinExpression(Expression expression,
Object value,
AbstractSession session)
INTERNAL:
Used to allow object level comparisons.
|
Expression |
OneToOneMapping.buildObjectJoinExpression(Expression expression,
Object value,
AbstractSession session)
INTERNAL:
Used to allow object level comparisons.
|
Expression |
DatabaseMapping.buildObjectJoinExpression(Expression base,
Object value,
AbstractSession session)
INTERNAL:
Used to allow object level comparisons.
|
Expression |
OneToOneMapping.buildSelectionCriteria()
This method would allow customers to get the potential selection criteria for a mapping
prior to initialization.
|
Expression |
OneToManyMapping.buildSelectionCriteria()
This method would allow customers to get the potential selection criteria for a mapping
prior to initialization.
|
protected Expression |
AggregateCollectionMapping.getDeleteAllCriteria(AbstractSession session)
Delete all criteria is created with target foreign keys and source keys.
|
Expression |
ForeignReferenceMapping.getJoinCriteria(QueryKeyExpression exp)
INTERNAL:
Returns the join criteria stored in the mapping selection query.
|
Expression |
OneToOneMapping.getPrivateOwnedCriteria()
INTERNAL:
The private owned criteria is only used outside of the unit of work to compare the previous value of the reference.
|
Expression |
ManyToManyMapping.getSelectionCriteria()
INTERNAL:
Returns the selection criteria stored in the mapping selection query.
|
Expression |
ForeignReferenceMapping.getSelectionCriteria()
INTERNAL:
Returns the selection criteria stored in the mapping selection query.
|
Modifier and Type | Method and Description |
---|---|
Expression |
AggregateObjectMapping.buildObjectJoinExpression(Expression expression,
Expression argument,
AbstractSession session)
INTERNAL:
Used to allow object level comparisons.
|
Expression |
OneToOneMapping.buildObjectJoinExpression(Expression expression,
Expression argument,
AbstractSession session)
INTERNAL:
Used to allow object level comparisons.
|
Expression |
DatabaseMapping.buildObjectJoinExpression(Expression base,
Expression argument,
AbstractSession session)
INTERNAL:
Used to allow object level comparisons.
|
Expression |
AggregateObjectMapping.buildObjectJoinExpression(Expression expression,
Object value,
AbstractSession session)
INTERNAL:
Used to allow object level comparisons.
|
Expression |
OneToOneMapping.buildObjectJoinExpression(Expression expression,
Object value,
AbstractSession session)
INTERNAL:
Used to allow object level comparisons.
|
Expression |
DatabaseMapping.buildObjectJoinExpression(Expression base,
Object value,
AbstractSession session)
INTERNAL:
Used to allow object level comparisons.
|
protected void |
OneToOneMapping.setPrivateOwnedCriteria(Expression expression)
INTERNAL:
Private owned criteria is used to verify the deletion of the target.
|
void |
ForeignReferenceMapping.setSelectionCriteria(Expression anExpression)
PUBLIC:
Sets the selection criteria to be used as a where clause to read
reference objects.
|
Modifier and Type | Field and Description |
---|---|
protected Expression |
ReportQuery.havingExpression
Expression representing the HAVING clause.
|
Modifier and Type | Method and Description |
---|---|
Expression |
ReportQuery.getHavingExpression()
INTERNAL:
Return the Having expression.
|
Expression |
DatabaseQuery.getSelectionCriteria()
PUBLIC:
Return the selection criteria of the query.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectLevelReadQuery.addAdditionalField(Expression fieldExpression)
INTERNAL:
Additional fields can be added to a query.
|
void |
ConstructorReportItem.addAttribute(Expression attributeExpression)
Method to add an expression to be used to return the parameter that is then passed into the constructor method.
|
void |
ReportQuery.addAttribute(String itemName,
Expression attributeExpression)
PUBLIC:
Add the attribute to be included in the result.
|
void |
ReportQuery.addAttribute(String itemName,
Expression attributeExpression,
Class type)
PUBLIC:
Add the attribute to be included in the result.
|
void |
ConstructorReportItem.addAttribute(String attributeName,
Expression attributeExpression,
List joinedExpressions) |
void |
ReportQuery.addAverage(String itemName,
Expression attributeExpression)
PUBLIC:
Add the average value of the attribute to be included in the result.
|
void |
ReportQuery.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.
|
void |
ReportQuery.addCount(String itemName,
Expression attributeExpression)
PUBLIC:
Include the number of rows returned by the query in the result, where attributeExpression
is not null.
|
void |
ReportQuery.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.
|
void |
FetchGroup.addFetchGroupAttribute(Expression attributeExpression)
INTERNAL:
Specify that only a subset of the class' attributes be fetched in this query.
|
void |
ReportQuery.addFunctionItem(String itemName,
Expression attributeExpression,
String functionName)
ADVANCED:
Add the function against the attribute expression to be included in the result.
|
void |
ReportQuery.addGrouping(Expression expression)
PUBLIC:
Add the attribute expression to the group by expressions.
|
void |
ReportQuery.addItem(String itemName,
Expression attributeExpression)
ADVANCED:
Add the expression value to be included in the result.
|
protected void |
ReportQuery.addItem(String itemName,
Expression attributeExpression,
Class resultType)
INTERNAL:
Add the expression value to be included in the result.
|
void |
ReportQuery.addItem(String itemName,
Expression attributeExpression,
List joinedExpressions)
ADVANCED:
Add the expression value to be included in the result.
|
void |
ObjectLevelReadQuery.addJoinedAttribute(Expression attributeExpression)
PUBLIC:
Specify the to-one or to-many mapped attribute to be optimized in this query.
|
void |
ReportQuery.addMaximum(String itemName,
Expression attributeExpression)
PUBLIC:
Add the maximum value of the attribute to be included in the result.
|
void |
ReportQuery.addMinimum(String itemName,
Expression attributeExpression)
PUBLIC:
Add the minimum value of the attribute to be included in the result.
|
void |
ObjectLevelReadQuery.addNonFetchJoinedAttribute(Expression attributeExpression)
PUBLIC:
Specify the one-to-one mapped attribute to be optimized in this query.
|
void |
ReadAllQuery.addOrdering(Expression orderingExpression)
PUBLIC:
Add the ordering expression.
|
void |
ReportQuery.addStandardDeviation(String itemName,
Expression attributeExpression)
PUBLIC:
Add the standard deviation value of the attribute to be included in the result.
|
void |
ReportQuery.addSum(String itemName,
Expression attributeExpression)
PUBLIC:
Add the sum value of the attribute to be included in the result.
|
void |
ReportQuery.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.
|
void |
UpdateAllQuery.addUpdate(Expression field,
Expression value)
PUBLIC:
Adds the update (SET) clause to the query.
|
void |
UpdateAllQuery.addUpdate(Expression field,
Object value)
PUBLIC:
Adds the update (SET) clause to the query.
|
void |
UpdateAllQuery.addUpdate(String attributeName,
Expression value)
PUBLIC:
Adds the update (SET) clause to the query.
|
void |
ReportQuery.addVariance(String itemName,
Expression attributeExpression)
PUBLIC:
Add the variance value of the attribute to be included in the result.
|
protected Object |
ObjectLevelReadQuery.conformIndividualResult(Object result,
UnitOfWorkImpl unitOfWork,
AbstractRecord arguments,
Expression selectionCriteriaClone,
IdentityHashtable alreadyReturned,
boolean buildDirectlyFromRows)
INTERNAL:
Conforms and registers an individual result.
|
ClassDescriptor |
ObjectLevelReadQuery.getLeafDescriptorFor(Expression expression,
ClassDescriptor rootDescriptor)
INTERNAL:
Lookup the descriptor for this item by traversing its expression recursively.
|
DatabaseMapping |
ObjectLevelReadQuery.getLeafMappingFor(Expression expression,
ClassDescriptor rootDescriptor)
INTERNAL:
Lookup the mapping for this item by traversing its expression recursively.
|
void |
ReportQuery.setHavingExpression(Expression expression)
PUBLIC:
Add the expression to the query to be used in the HAVING clause.
|
void |
DatabaseQuery.setSelectionCriteria(Expression expression)
PUBLIC:
To any user of this object.
|
void |
ObjectLevelReadQuery.setSelectionCriteria(Expression expression) |
Constructor and 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.
|
Modifier and Type | Field and Description |
---|---|
protected Expression |
ForeignReferenceQueryKey.joinCriteria |
Modifier and Type | Method and Description |
---|---|
Expression |
ForeignReferenceQueryKey.getJoinCriteria()
PUBLIC:
Return the join expression for the relationship defined by the query key.
|
Modifier and Type | Method and Description |
---|---|
void |
ForeignReferenceQueryKey.setJoinCriteria(Expression joinCriteria)
PUBLIC:
Set the join expression for the relationship defined by the query key.
|
Modifier and Type | Method and Description |
---|---|
Vector |
IdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy)
ADVANCED:
Queries the cache in-memory with the passed in criteria and returns matching Objects.
|
Vector |
IdentityMapAccessor.getAllFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy,
boolean shouldReturnInvalidatedObjects)
ADVANCED:
Queries the cache in-memory with the passed in criteria and returns matching Objects.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow)
ADVANCED:
Queries the cache in-memory and returns an Object from this identity map.
|
Object |
IdentityMapAccessor.getFromIdentityMap(Expression selectionCriteria,
Class theClass,
Record translationRow,
InMemoryQueryIndirectionPolicy valueHolderPolicy)
ADVANCED:
Queries the cache in-memory and returns an Object from this identity map.
|
void |
IdentityMapAccessor.invalidateObjects(Expression selectionCriteria)
ADVANCED:
Sets all of the Objects matching the given Expression to be invalid in the TopLink identity maps.
|
Vector |
Session.readAllObjects(Class domainClass,
Expression selectionCriteria)
PUBLIC:
Read all of the instances of the class from the database matching the given expression.
|
Object |
Session.readObject(Class domainClass,
Expression selectionCriteria)
PUBLIC:
Read the first instance of the class from the database matching the given expression.
|
Copyright © 2022. All rights reserved.