| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private String[] | columns
The column names that this resolves to. |
| public static final DotNode. | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private int | dereferenceType
The type of dereference that hapened (DEREF_xxx). |
| private boolean | fetch
Fetch join or not. |
| public static DotNode. | |
| private FromElement | impliedJoin
Deprecated
as a consequence of
FromElement being deprecated.
|
| private int | joinType
The type of join to create. |
| private static final Logger | |
| 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 void | |
| private void | |
| private boolean | |
| private void | dereferenceCollection(CollectionType collectionType, boolean implicitJoin, boolean indexed, String classAlias, AST parent)
|
| private void | |
| private void | dereferenceEntity(EntityType entityType, boolean implicitJoin, String classAlias, boolean generateJoin, AST parent)
|
| 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 | |
| private void | |
| private boolean | |
| private boolean | |
| private boolean | Returns: True if propertyName references the entity's (owningType->associatedEntity) primary key; false otherwise.The name of the property to check. propertyName, EntityType The type represeting the entity "owning" the property owningType)Is the given property name a reference to the primary key of the associated entity construed by the given entity type? |
| private Type | |
| public void | resolve(boolean generateJoin, boolean implicitJoin, String classAlias, AST parent)
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 | |
| 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. | |
| DEREF_COLLECTION | back to summary |
|---|---|
| private static final int DEREF_COLLECTION | |
| DEREF_COMPONENT | back to summary |
|---|---|
| private static final int DEREF_COMPONENT | |
| DEREF_ENTITY | back to summary |
|---|---|
| private static final int DEREF_ENTITY | |
| DEREF_IDENTIFIER | back to summary |
|---|---|
| private static final int DEREF_IDENTIFIER | |
| DEREF_JAVA_CONSTANT | back to summary |
|---|---|
| private static final int DEREF_JAVA_CONSTANT | |
| DEREF_PRIMITIVE | back to summary |
|---|---|
| private static final int DEREF_PRIMITIVE | |
| DEREF_UNKNOWN | back to summary |
|---|---|
| private static final int DEREF_UNKNOWN | |
| dereferenceType | back to summary |
|---|---|
| private int dereferenceType The type of dereference that hapened (DEREF_xxx). | |
| 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 int joinType The type of join to create. Default is an inner join. | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| 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. | |
| REGRESSION_STYLE_JOIN_SUPPRESSION | back to summary |
|---|---|
| public static boolean REGRESSION_STYLE_JOIN_SUPPRESSION | |
| 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) | |
| 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 entityType, boolean implicitJoin, String classAlias, boolean generateJoin, AST parent) throws SemanticException | |
| dereferenceEntityIdentifier | back to summary |
|---|---|
| private void dereferenceEntityIdentifier(String propertyName, DotNode dotParent) | |
| dereferenceEntityJoin | back to summary |
|---|---|
| private void dereferenceEntityJoin(String classAlias, EntityType propertyType, boolean impliedJoin, 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() | |
| initText | back to summary |
|---|---|
| private void initText() | |
| isCorrelatedSubselect | back to summary |
|---|---|
| private boolean isCorrelatedSubselect() | |
| isDotNode | back to summary |
|---|---|
| private boolean isDotNode(AST n) | |
| isReferenceToPrimaryKey | back to summary |
|---|---|
| private boolean isReferenceToPrimaryKey(String propertyName, EntityType owningType) Is the given property name a reference to the primary key of the associated entity construed by the given entity type? For example, consider a fragment like order.customer.id (where order is a from-element alias). Here, we'd have: propertyName = "id" AND owningType = ManyToOneType(Customer) and are being asked to determine whether "customer.id" is a reference to customer's PK...
| |
| prepareLhs | back to summary |
|---|---|
| private Type prepareLhs() throws SemanticException | |
| resolve | back to summary |
|---|---|
| public void resolve(boolean generateJoin, boolean implicitJoin, String classAlias, AST parent) 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 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(int 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 | Method and Description |
|---|---|
| public QueryException |
| buildIllegalCollectionDereferenceException | back to summary |
|---|---|
| public QueryException buildIllegalCollectionDereferenceException(String collectionPropertyName, FromReferenceNode lhs) | |