public class ManualQueryKeyExpression extends QueryKeyExpression
aliasedField, hasMapping, hasQueryKey, mapping, name, queryKey, shouldQueryToManyRelationship
derivedExpressions, descriptor, shouldUseOuterJoin, shouldUseOuterJoinForMultitableInheritance
baseExpression, derivedFields, derivedTables, hasBeenNormalized, tableAliases
currentAlias, lastTable, selectIfOrderedBy
Constructor and Description |
---|
ManualQueryKeyExpression() |
ManualQueryKeyExpression(String impliedRelationshipName,
Expression base) |
ManualQueryKeyExpression(String impliedRelationshipName,
Expression base,
ClassDescriptor descriptor) |
Modifier and Type | Method and Description |
---|---|
String |
descriptionOfNodeType()
INTERNAL:
Used for debug printing.
|
Vector |
getOwnedTables()
INTERNAL:
If we ever get in the circumstance of a manual query key
to an aggregate, then we can assume that the owner of that
aggregate isn't participating (and even if it is, we can't
know which node it is, so *DO* use the aggregate's parents tables
|
QueryKey |
getQueryKeyOrNull() |
boolean |
isAttribute()
INTERNAL:
We can never be an attribute, we're always a join
|
Expression |
mappingCriteria() |
Expression |
rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
twistedForBaseAndContext(Expression newBase,
Expression context)
INTERNAL:
Rebuild myself against the base, with the values of parameters supplied by the context
expression.
|
void |
validateNode()
Do any required validation for this node.
|
additionalExpressionCriteria, additionalExpressionCriteriaMap, aliasForTable, doQueryToManyRelationship, getAliasedField, getAliasedTable, getContainingDescriptor, getField, getFields, getFieldValue, getMapping, getMappingFromQueryKey, getName, initializeAliasedField, isNormalizationRequired, isQueryKeyExpression, normalize, normalize, printJava, printSQL, rebuildOn, resetCache, shouldQueryToManyRelationship, valueFromObject, valuesFromCollection, writeDescriptionOn
addDerivedExpression, anyOf, derivedExpressionNamed, derivedManualExpressionNamed, doNotUseOuterJoin, doUseOuterJoin, existingDerivedExpressionNamed, get, getAllowingNull, getDescriptor, getForUpdateOfFields, getManualQueryKey, hasDerivedExpressions, isObjectExpression, isUsingOuterJoinForMultitableInheritance, newDerivedExpressionNamed, newManualDerivedExpressionNamed, postCopyIn, postCopyIn, setShouldUseOuterJoinForMultitableInheritance, shouldUseOuterJoin, shouldUseOuterJoinForMultitableInheritance, writeForUpdateOfFields
addDerivedField, addDerivedTable, assignAlias, assignAlias, clearAliases, copyCollection, existingDerivedField, existingDerivedTable, getBaseExpression, getBuilder, getField, getField, getTable, getTable, getTableAliases, hasBeenAliased, hasBeenNormalized, hasDerivedFields, hasDerivedTables, isDataExpression, iterateOn, newDerivedField, newDerivedTable, setBaseExpression, setHasBeenNormalized, setTableAliases, tableAliasesDescription, writeSubexpressionsTo
addDate, addDate, addMonths, addMonths, all, all, all, all, all, all, all, all, all, all, all, all, allOf, and, any, any, any, any, any, any, any, any, any, any, any, any, anyOfAllowingNone, ascending, asciiValue, assignTableAliasesStartingAt, average, between, between, between, between, between, between, between, between, between, caseStatement, clone, cloneUsing, concat, containsAllKeyWords, containsAnyKeyWords, containsSubstring, containsSubstring, containsSubstringIgnoringCase, containsSubstringIgnoringCase, convertNodeToUseOuterJoin, convertToUseOuterJoin, copiedVersionFrom, count, create, create, createWithBaseLast, currentDate, currentDateDate, currentTime, currentTimeStamp, dateDifference, dateDifference, dateName, datePart, dateToString, decode, descending, detectExpression, difference, distinct, doesConform, doesConform, equal, equal, equal, equal, equal, equal, equal, equal, equal, equal, equalOuterJoin, equalOuterJoin, equalsIgnoreCase, equalsIgnoreCase, exists, existsNode, extract, extractPrimaryKeyValues, extractValue, from, fromConstant, fromLiteral, get, getAllowingNull, getClonedField, getFunction, getFunction, getFunction, getFunction, getFunctionWithArguments, getNumberVal, getOperator, getOperator, getParameter, getParameter, getParameter, getSession, getStringVal, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, hasAsOfClause, hexToRaw, ifNull, in, in, in, in, in, in, in, in, in, in, in, in, indexOf, isCompoundExpression, isConstantExpression, isEmpty, isExpressionBuilder, isFieldExpression, isFragment, isFunctionExpression, isLiteralExpression, isLogicalExpression, isNull, isParameterExpression, isRelationExpression, isTableExpression, isValueExpression, lastDay, leftPad, leftPad, leftTrim, leftTrim, length, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThan, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, lessThanEqual, like, like, like, like, likeIgnoreCase, likeIgnoreCase, literal, locate, locate, locate, maximum, minimum, monthsBetween, newTime, nextDay, noneOf, not, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notBetween, notEmpty, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notEqual, notExists, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notIn, notLike, notLike, notNull, or, performOperator, postfixSQL, prefixSQL, printSQLWithoutConversion, ref, registerIn, replace, replicate, replicate, reverse, right, right, rightPad, rightPad, rightTrim, rightTrim, roundDate, selectIfOrderedBy, setLocalBase, setSelectIfOrderedBy, shallowClone, size, some, some, some, some, some, some, some, some, some, some, some, some, standardDeviation, subQuery, substring, substring, sum, toChar, toChar, toCharacter, toDate, toLowerCase, toNumber, toString, toString, toUpperCase, toUppercaseCasedWords, translate, trim, trim, truncateDate, twist, value, value, value, value, value, value, value, value, value, value, valueFromObject, variance, writeField, writeFields
public ManualQueryKeyExpression()
public ManualQueryKeyExpression(String impliedRelationshipName, Expression base)
public ManualQueryKeyExpression(String impliedRelationshipName, Expression base, ClassDescriptor descriptor)
public String descriptionOfNodeType()
descriptionOfNodeType
in class QueryKeyExpression
public Vector getOwnedTables()
getOwnedTables
in class QueryKeyExpression
public QueryKey getQueryKeyOrNull()
getQueryKeyOrNull
in class QueryKeyExpression
public boolean isAttribute()
isAttribute
in class QueryKeyExpression
public Expression mappingCriteria()
mappingCriteria
in class QueryKeyExpression
public Expression rebuildOn(Expression newBase)
rebuildOn
in class QueryKeyExpression
Expression.cloneUsing(Expression newBase)
public Expression twistedForBaseAndContext(Expression newBase, Expression context)
twistedForBaseAndContext
in class QueryKeyExpression
public void validateNode()
validateNode
in class QueryKeyExpression
Copyright © 2021. All rights reserved.