| Modifier and Type | Class and Description |
|---|---|
| public static enum | |
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private String[] | columns
The column names that this resolves to. |
| public static final DotNode. | |
| private DotNode. | dereferenceType
The type of dereference that happened |
| private boolean | fetch
Fetch join or not. |
| public static DotNode. | |
| private FromElement | impliedJoin
Deprecated
as a consequence of
FromElement being deprecated.
|
| private JoinType | joinType
The type of join to create. |
| private static final CoreMessageLogger | |
| private String | path
The full path, to the root alias of this dot node. |
| private String | propertyName
The identifier that is the name of the property. |
| private String | propertyPath
The unresolved property path relative to this dot node. |
| public static boolean | |
| public static boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| private boolean | canReuse(String classAlias, FromElement fromElement)
Deprecated
as a consequence of
FromElement being deprecated.
|
| private void | |
| private void | |
| private boolean | |
| private void | dereferenceCollection(CollectionType collectionType, boolean implicitJoin, boolean indexed, String classAlias, AST parent)
|
| private void | |
| private void | dereferenceEntity(EntityType toOneType, boolean implicitJoin, String classAlias, boolean generateJoin, AST parent, AST parentPredicate)
|
| private void | |
| private void | |
| private String[] | |
| public Type | getDataType()
Overrides org. Implements org. |
| public String | getDisplayText()
Overrides org. Implements org. |
| public FromElement | getImpliedJoin()
Overrides org.
Deprecated
as a consequence of
Sub-classes can override this method if they produce implied joins (e.g. DotNode).
FromElement being deprecated.
|
| public FromReferenceNode | |
| public String | Returns: the full path of the node.Overrides org. Implements org. |
| public String | |
| public String[] | getReferencedTables()
Implements org. |
| private void | |
| private boolean | |
| private static boolean | |
| private boolean | Returns: True if propertyName references the entity's (owningType->associatedEntity) join key; false otherwise.The name of the property to check. propertyName)Is the given property name a reference to the join key of the associated entity constructed by the given entity type? |
| private Type | |
| public void | resolve(boolean generateJoin, boolean implicitJoin, String classAlias, AST parent, AST parentPredicate)
Implements org. |
| public void | resolveFirstChild()
Overrides org. |
| public void | resolveIndex(AST parent)
Implements org. |
| public void | resolveInFunctionCall(boolean generateJoin, boolean implicitJoin)
Overrides org. Implements org. |
| public void | |
| public void | |
| private void | |
| public void | setJoinType(JoinType
The type of join to use. joinType)Sets the join type for this '.' node structure. |
| private void | |
| public void | |
| public void | |
| public void | setScalarColumnText(int
The index of the select expression in the projection list. i)Implements org. |
| columns | back to summary |
|---|---|
| private String[] columns The column names that this resolves to. | |
| DEF_ILLEGAL_COLL_DEREF_EXCP_BUILDER | back to summary |
|---|---|
| public static final DotNode. | |
| dereferenceType | back to summary |
|---|---|
| private DotNode. The type of dereference that happened | |
| fetch | back to summary |
|---|---|
| private boolean fetch Fetch join or not. | |
| ILLEGAL_COLL_DEREF_EXCP_BUILDER | back to summary |
|---|---|
| public static DotNode. | |
| impliedJoin | back to summary |
|---|---|
| private FromElement impliedJoin
Deprecated as a consequence of | |
| joinType | back to summary |
|---|---|
| private JoinType joinType The type of join to create. Default is an inner join. | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG Hides org. | |
| path | back to summary |
|---|---|
| private String path The full path, to the root alias of this dot node. | |
| propertyName | back to summary |
|---|---|
| private String propertyName The identifier that is the name of the property. | |
| propertyPath | back to summary |
|---|---|
| private String propertyPath The unresolved property path relative to this dot node. | |
| regressionStyleJoinSuppression | back to summary |
|---|---|
| public static boolean regressionStyleJoinSuppression | |
| useThetaStyleImplicitJoins | back to summary |
|---|---|
| public static boolean useThetaStyleImplicitJoins | |
| DotNode | back to summary |
|---|---|
| public DotNode() | |
| areSame | back to summary |
|---|---|
| private boolean areSame(String alias1, String alias2) | |
| canReuse | back to summary |
|---|---|
| private boolean canReuse(String classAlias, FromElement fromElement)
Deprecated as a consequence of | |
| checkForCorrelatedSubquery | back to summary |
|---|---|
| private void checkForCorrelatedSubquery(String methodName) | |
| checkLhsIsNotCollection | back to summary |
|---|---|
| private void checkLhsIsNotCollection() throws SemanticException | |
| checkSubclassOrSuperclassPropertyReference | back to summary |
|---|---|
| private boolean checkSubclassOrSuperclassPropertyReference(FromReferenceNode lhs, String propertyName) | |
| dereferenceCollection | back to summary |
|---|---|
| private void dereferenceCollection(CollectionType collectionType, boolean implicitJoin, boolean indexed, String classAlias, AST parent) throws SemanticException | |
| dereferenceComponent | back to summary |
|---|---|
| private void dereferenceComponent(AST parent) | |
| dereferenceEntity | back to summary |
|---|---|
| private void dereferenceEntity(EntityType toOneType, boolean implicitJoin, String classAlias, boolean generateJoin, AST parent, AST parentPredicate) throws SemanticException | |
| dereferenceEntityIdentifier | back to summary |
|---|---|
| private void dereferenceEntityIdentifier(String propertyName, DotNode dotParent) | |
| dereferenceEntityJoin | back to summary |
|---|---|
| private void dereferenceEntityJoin(String classAlias, EntityType toOneType, boolean isImpliedJoin, AST parent) throws SemanticException | |
| getColumns | back to summary |
|---|---|
| private String[] getColumns() throws QueryException | |
| getDataType | back to summary |
|---|---|
| public Type getDataType() Overrides org. Implements org. Doc from org. Returns the data type of the select expression. | |
| getDisplayText | back to summary |
|---|---|
| public String getDisplayText() Overrides org. Implements org. Doc from org. Returns additional display text for the AST node. | |
| getImpliedJoin | back to summary |
|---|---|
| public FromElement getImpliedJoin() Overrides org. Doc from org. Deprecated as a consequence of Sub-classes can override this method if they produce implied joins (e.g. DotNode).
| |
| getLhs | back to summary |
|---|---|
| public FromReferenceNode getLhs() | |
| getPath | back to summary |
|---|---|
| public String getPath() Overrides org. Implements org. Returns the full path of the node. | |
| getPropertyPath | back to summary |
|---|---|
| public String getPropertyPath() | |
| getReferencedTables | back to summary |
|---|---|
| public String[] getReferencedTables() Implements org. Doc from org. Returns table names which are referenced by this node. If the tables can not be determined it returns null. | |
| initText | back to summary |
|---|---|
| private void initText() | |
| isCorrelatedSubselect | back to summary |
|---|---|
| private boolean isCorrelatedSubselect() | |
| isDotNode | back to summary |
|---|---|
| private static boolean isDotNode(AST n) | |
| isPropertyEmbeddedInJoinProperties | back to summary |
|---|---|
| private boolean isPropertyEmbeddedInJoinProperties(String propertyName) Is the given property name a reference to the join key of the associated entity constructed by the given entity type?
This method resolves the For example, consider a fragment like order.customer.id (where order is a from-element alias). Here, we'd have: propertyName = "id" AND propertyPath = "customer" FromElement = Order and are being asked to determine whether "customer.id" is a property path of Order
| |
| prepareLhs | back to summary |
|---|---|
| private Type prepareLhs() throws SemanticException | |
| resolve | back to summary |
|---|---|
| public void resolve(boolean generateJoin, boolean implicitJoin, String classAlias, AST parent, AST parentPredicate) throws SemanticException Implements org. Doc from org. Does the work of resolving an identifier or a dot | |
| resolveFirstChild | back to summary |
|---|---|
| public void resolveFirstChild() throws SemanticException Overrides org. Resolves the left hand side of the DOT.
| |
| resolveIndex | back to summary |
|---|---|
| public void resolveIndex(AST parent) throws SemanticException Implements org. Doc from org. Does the work of resolving an index []. | |
| resolveInFunctionCall | back to summary |
|---|---|
| public void resolveInFunctionCall(boolean generateJoin, boolean implicitJoin) throws SemanticException Overrides org. Implements org. Doc from org. Does the work of resolving inside of the scope of a function call
| |
| resolveSelectExpression | back to summary |
|---|---|
| public void resolveSelectExpression() throws SemanticException Special method to resolve expressions in the SELECT list.
| |
| setFetch | back to summary |
|---|---|
| public void setFetch(boolean fetch) | |
| setImpliedJoin | back to summary |
|---|---|
| private void setImpliedJoin(FromElement elem)
Deprecated as a consequence of | |
| setJoinType | back to summary |
|---|---|
| public void setJoinType(JoinType joinType) Sets the join type for this '.' node structure.
| |
| setPropertyNameAndPath | back to summary |
|---|---|
| private void setPropertyNameAndPath(AST parent) | |
| setPropertyPath | back to summary |
|---|---|
| public void setPropertyPath(String propertyPath) | |
| setResolvedConstant | back to summary |
|---|---|
| public void setResolvedConstant(String text) | |
| setScalarColumnText | back to summary |
|---|---|
| public void setScalarColumnText(int i) throws SemanticException Implements org. Doc from org. Appends AST nodes that represent the columns after the current AST node. (e.g. 'as col0_O_')
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final DotNode. | |
| public static final DotNode. | |
| public static final DotNode. | |
| public static final DotNode. | |
| public static final DotNode. | |
| public static final DotNode. | |
| public static final DotNode. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static DotNode. | |
| public static DotNode. |
| COLLECTION | back to summary |
|---|---|
| public static final DotNode. | |
| COMPONENT | back to summary |
|---|---|
| public static final DotNode. | |
| ENTITY | back to summary |
|---|---|
| public static final DotNode. | |
| IDENTIFIER | back to summary |
|---|---|
| public static final DotNode. | |
| JAVA_CONSTANT | back to summary |
|---|---|
| public static final DotNode. | |
| PRIMITIVE | back to summary |
|---|---|
| public static final DotNode. | |
| UNKNOWN | back to summary |
|---|---|
| public static final DotNode. | |
| DereferenceType | back to summary |
|---|---|
| private DereferenceType() | |
| valueOf | back to summary |
|---|---|
| public static DotNode. | |
| values | back to summary |
|---|---|
| public static DotNode. | |
| Modifier and Type | Method and Description |
|---|---|
| public QueryException |
| buildIllegalCollectionDereferenceException | back to summary |
|---|---|
| public QueryException buildIllegalCollectionDereferenceException(String collectionPropertyName, FromReferenceNode lhs) | |