public class MapEntryExpression extends QueryKeyExpression
derivedExpressionsshouldUseUpperCaseForIgnoreCase| Constructor and Description |
|---|
MapEntryExpression() |
MapEntryExpression(Expression base) |
| Modifier and Type | Method and Description |
|---|---|
DatabaseTable |
aliasForTable(DatabaseTable table)
INTERNAL:
Find the alias for a given table.
|
java.lang.String |
descriptionOfNodeType()
INTERNAL:
Used for debug printing.
|
Expression |
existingDerivedTable(DatabaseTable table)
INTERNAL:
|
ClassDescriptor |
getDescriptor() |
DatabaseField |
getField()
INTERNAL:
|
java.util.Vector |
getFields()
INTERNAL:
Return all the fields
|
CollectionMapping |
getMapping() |
java.util.List<DatabaseTable> |
getOwnedTables()
Exclude any tables defined by base.
|
QueryKey |
getQueryKeyOrNull() |
java.util.List<DatabaseField> |
getSelectionFields(ReadQuery query)
INTERNAL:
|
boolean |
isAttribute()
INTERNAL:
Return if the expression is for a direct mapped attribute.
|
boolean |
isMapEntryExpression()
INTERNAL:
|
Expression |
mappingCriteria(Expression base)
INTERNAL:
Mapping criteria will be provided by the base expression
|
Expression |
rebuildOn(Expression newBase)
INTERNAL:
This expression is built on a different base than the one we want.
|
Expression |
rebuildOn(Expression oldBase,
Expression newBase)
INTERNAL:
A special version of rebuildOn where the newBase need not be a new
ExpressionBuilder but any expression.
|
void |
returnMapEntry()
Set this expression to represent a Map.Entry rather than the Map's key
|
boolean |
shouldReturnMapEntry() |
void |
validateNode()
Do any required validation for this node.
|
void |
writeDescriptionOn(java.io.BufferedWriter writer)
INTERNAL:
Used to print a debug form of the expression tree.
|
additionalExpressionCriteria, additionalExpressionCriteriaMap, computeHashCode, doQueryToManyRelationship, equals, getAdditionalTables, getAliasedField, getFieldValue, getLeafDescriptor, getLeafMapping, getMapKeyDescriptor, getMappingFromQueryKey, getName, getNestedAttributeName, getReferenceTable, getRelationTable, getSourceTable, index, isDirectCollection, isManyToMany, isMapKeyObjectRelationship, isOneToMany, isOneToOne, isQueryKeyExpression, normalize, normalize, printJava, printSQL, shouldQueryToManyRelationship, treat, twistedForBaseAndContext, valueFromObject, valuesFromCollectionaddDerivedExpression, anyOf, anyOfAllowingNone, assignTableAliasesStartingAt, clearAliases, convertToCastDescriptor, copyDerivedExpressions, derivedExpressionNamed, derivedManualExpressionNamed, doNotUseOuterJoin, doUseOuterJoin, existingDerivedExpressionNamed, get, getAllowingNull, getCastClass, getFirstNonAggregateExpressionAfterExpressionBuilder, getJoinSource, getManualQueryKey, getOnClause, getOuterJoinExpIndex, hasBeenAliased, isDowncast, isObjectExpression, isTreatUsed, isUsingOuterJoinForMultitableInheritance, join, leftJoin, newDerivedExpressionNamed, newManualDerivedExpressionNamed, postCopyIn, setCastClass, setJoinSource, setOnClause, setOuterJoinExpIndex, setShouldUseOuterJoinForMultitableInheritance, shouldUseOuterJoin, shouldUseOuterJoinForMultitableInheritance, typeaddDerivedField, addDerivedTable, asOf, copyCollection, existingDerivedField, getAlias, getAsOfClause, getContainingDescriptor, getField, getField, getTable, getTable, getTableAliases, hasAsOfClause, hasBeenNormalized, isDataExpression, iterateOn, newDerivedField, newDerivedTable, setHasBeenNormalized, setTableAliases, tableAliasesDescription, writeSubexpressionsTogetBaseExpression, getBuilder, resetPlaceHolderBuilder, setBaseExpression, shallowCloneaddDate, addDate, addMonths, addMonths, alias, all, 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, any, anyOf, anyOfAllowingNone, as, as, ascending, asciiValue, average, between, between, between, between, between, between, between, between, between, caseConditionStatement, caseConditionStatement, caseStatement, caseStatement, cast, clone, cloneUsing, coalesce, coalesce, concat, containsAllKeyWords, containsAnyKeyWords, containsSubstring, containsSubstring, containsSubstringIgnoringCase, containsSubstringIgnoringCase, convertToUseOuterJoin, copiedVersionFrom, count, create, create, createWithBaseLast, currentDate, currentDateDate, currentTime, currentTimeStamp, dateDifference, dateDifference, dateName, datePart, dateToString, decode, descending, difference, distinct, doesConform, doesConform, equal, equal, equal, equal, equal, equal, equal, equal, equal, equal, equalOuterJoin, equalOuterJoin, equalsIgnoreCase, equalsIgnoreCase, except, except, exceptAll, exceptAll, exists, existsNode, extract, extractFields, extractPrimaryKeyValues, extractValue, extractValues, extractXml, from, fromConstant, fromLiteral, get, getAsOfClauseRecursively, getClonedField, getFunction, getFunction, getFunction, getFunction, getFunction, getFunctionWithArguments, getFunctionWithArguments, getNumberVal, getOperator, getOperator, getParameter, getParameter, getParameter, getProperty, getSelectionFields, getSession, getStringVal, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, greaterThanEqual, hashCode, hexToRaw, ifNull, in, in, in, in, in, in, in, in, in, in, in, in, indexOf, intersect, intersect, intersectAll, intersectAll, isClassTypeExpression, isCompoundExpression, isConstantExpression, isEmpty, isExpressionBuilder, isFieldExpression, isFragment, isFunctionExpression, isLiteralExpression, isLogicalExpression, isNull, isParameterExpression, isRelationExpression, isSubSelectExpression, isTableExpression, isTreatExpression, 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, mapEntry, mapKey, 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, notLike, notLike, notNull, nullIf, nullsFirst, nullsLast, operator, or, performOperator, postfixSQL, prefixSQL, ref, regexp, regexp, replace, replicate, replicate, reverse, right, right, rightPad, rightPad, rightTrim, rightTrim, roundDate, selectIfOrderedBy, setLocalBase, setSelectIfOrderedBy, size, size, some, some, some, some, some, some, some, some, some, some, some, some, some, sql, standardDeviation, subQuery, substring, substring, substring, substring, sum, toChar, toChar, toCharacter, toDate, toLowerCase, toNumber, toString, toString, toUpperCase, toUppercaseCasedWords, translate, trim, trim, truncateDate, twist, union, union, unionAll, unionAll, value, value, value, value, value, value, value, value, value, value, valueFromObject, variance, writeFieldspublic MapEntryExpression(Expression base)
public MapEntryExpression()
public DatabaseTable aliasForTable(DatabaseTable table)
aliasForTable in class QueryKeyExpressionpublic void returnMapEntry()
public Expression rebuildOn(Expression newBase)
rebuildOn in class QueryKeyExpressionExpression.cloneUsing(Expression newBase)public Expression rebuildOn(Expression oldBase, Expression newBase)
For nested joined attributes, the joined attribute query must have its joined attributes rebuilt relative to it.
rebuildOn in class QueryKeyExpressionpublic java.lang.String descriptionOfNodeType()
descriptionOfNodeType in class QueryKeyExpressionpublic Expression existingDerivedTable(DatabaseTable table)
existingDerivedTable in class DataExpressionpublic java.util.List<DatabaseTable> getOwnedTables()
getOwnedTables in class QueryKeyExpressionpublic ClassDescriptor getDescriptor()
getDescriptor in class ObjectExpressionpublic DatabaseField getField()
getField in class QueryKeyExpressionpublic java.util.Vector getFields()
getFields in class QueryKeyExpressionpublic java.util.List<DatabaseField> getSelectionFields(ReadQuery query)
getSelectionFields in class QueryKeyExpressionpublic CollectionMapping getMapping()
getMapping in class QueryKeyExpressionpublic QueryKey getQueryKeyOrNull()
getQueryKeyOrNull in class QueryKeyExpressionpublic boolean isAttribute()
isAttribute in class QueryKeyExpressionpublic boolean isMapEntryExpression()
isMapEntryExpression in class Expressionpublic Expression mappingCriteria(Expression base)
mappingCriteria in class QueryKeyExpressionpublic boolean shouldReturnMapEntry()
public void validateNode()
validateNode in class QueryKeyExpressionpublic void writeDescriptionOn(java.io.BufferedWriter writer)
throws java.io.IOException
writeDescriptionOn in class QueryKeyExpressionjava.io.IOExceptionEclipseLink 2.6.3, "build v20160428-59c81c5" API Reference