Top Description Fields Constructors Methods
org.eclipse.persistence.internal.expressions

public Class FromAliasExpression

extends QueryKeyExpression
Class Inheritance
Imports
org.eclipse.persistence.descriptors.ClassDescriptor, org.eclipse.persistence.exceptions.QueryException, org.eclipse.persistence.expressions.*, org.eclipse.persistence.internal.helper.DatabaseField, org.eclipse.persistence.internal.queries.ReportItem, org.eclipse.persistence.internal.sessions.AbstractSession, org.eclipse.persistence.mappings.querykeys.DirectQueryKey, .QueryKey, org.eclipse.persistence.queries.ReportQuery

Represents an alias to a item selected by a from clause sub-select.

Field Summary

Modifier and TypeField and Description
protected ClassDescriptor
protected ReportItem
Inherited from org.eclipse.persistence.internal.expressions.QueryKeyExpression:
aliasedFieldhasMappinghasQueryKeyindexisAttributeExpressionisClonedForSubQuerymappingnamequeryKeyshouldQueryToManyRelationship

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public String
public ClassDescriptor
getContainingDescriptor()

Overrides org.eclipse.persistence.internal.expressions.DataExpression.getContainingDescriptor.

INTERNAL: If the alias is for a query key item, then return its descriptor.
public ReportItem
getItem()

INTERNAL: Return the report item that this is an alias for.

public QueryKey
getQueryKeyOrNull()

Overrides org.eclipse.persistence.internal.expressions.QueryKeyExpression.getQueryKeyOrNull.

INTERNAL: If a descriptor cannot be found, then return null.
Inherited from org.eclipse.persistence.internal.expressions.QueryKeyExpression:
additionalExpressionCriteriaadditionalExpressionCriteriaMapaliasForTablecheckJoinForSubSelectWithParentcomputeHashCodedoQueryToManyRelationshipequalsgetAdditionalTablesgetAliasedFieldgetAliasedTablegetFieldgetFieldsgetFieldValuegetLeafDescriptorgetLeafMappinggetMapKeyDescriptorgetMappinggetMappingFromQueryKeygetNamegetNestedAttributeNamegetOwnedTablesgetReferenceTablegetRelationTablegetSelectionFieldsgetSourceTableindexinitializeAliasedFieldisAttributeisDirectCollectionisManyToManyisMapKeyObjectRelationshipisOneToManyisOneToOneisQueryKeyExpressionmappingCriterianormalizenormalizepostCopyInprintJavaprintSQLrebuildOnrebuildOnresetCacheshouldQueryToManyRelationshiptreattwistedForBaseAndContextvalidateNodevalueFromObjectvaluesFromCollectionwriteDescriptionOn

Field Detail

containingDescriptorback to summary
protected ClassDescriptor containingDescriptor
itemback to summary
protected ReportItem item

Constructor Detail

FromAliasExpressionback to summary
public FromAliasExpression()
FromAliasExpressionback to summary
public FromAliasExpression(String name, Expression base)

Method Detail

descriptionOfNodeTypeback to summary
public String descriptionOfNodeType()

Overrides org.eclipse.persistence.internal.expressions.QueryKeyExpression.descriptionOfNodeType.

INTERNAL: Used for debug printing.

Annotations
@Override
getContainingDescriptorback to summary
public ClassDescriptor getContainingDescriptor()

Overrides org.eclipse.persistence.internal.expressions.DataExpression.getContainingDescriptor.

INTERNAL: If the alias is for a query key item, then return its descriptor. If it is for a function, then it has no descriptor.

Annotations
@Override
getItemback to summary
public ReportItem getItem()

INTERNAL: Return the report item that this is an alias for.

getQueryKeyOrNullback to summary
public QueryKey getQueryKeyOrNull()

Overrides org.eclipse.persistence.internal.expressions.QueryKeyExpression.getQueryKeyOrNull.

INTERNAL: If a descriptor cannot be found, then return null.

Annotations
@Override