Map.Entry ) of a Map association.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final String[] | |
| private MapEntryNode. | |
| private int | |
| private List |
| Access | Constructor and Description |
|---|---|
| public |
| ALIASES | back to summary |
|---|---|
| private static final String[] ALIASES | |
| mapEntryBuilder | back to summary |
|---|---|
| private MapEntryNode. | |
| scalarColumnIndex | back to summary |
|---|---|
| private int scalarColumnIndex Hides org. | |
| types | back to summary |
|---|---|
| private List<E> types | |
| MapEntryNode | back to summary |
|---|---|
| public MapEntryNode() | |
| appendSelectExpressions | back to summary |
|---|---|
private void appendSelectExpressions(String[] columnNames, List<E> selections, AliasGenerator aliasGenerator)
| |
| appendSelectExpressions | back to summary |
|---|---|
private void appendSelectExpressions(SelectFragment fragment, List<E> selections, AliasGenerator aliasGenerator)
| |
| collectionTableAlias | back to summary |
|---|---|
| private String collectionTableAlias() | |
| determineKeySelectExpressions | back to summary |
|---|---|
| private void determineKeySelectExpressions(QueryableCollection collectionPersister, List<E> selections) | |
| determineValueSelectExpressions | back to summary |
|---|---|
| private void determineValueSelectExpressions(QueryableCollection collectionPersister, List<E> selections) | |
| elementTableAlias | back to summary |
|---|---|
| private String elementTableAlias() | |
| expressionDescription | back to summary |
|---|---|
| protected String expressionDescription() Implements abstract org.
| |
| getAggregatedAliases | back to summary |
|---|---|
| public String[] getAggregatedAliases() Implements org. Doc from org. Retrieve the aliases for the columns aggregated here. | |
| getAggregatedSelectionTypeList | back to summary |
|---|---|
| public List Implements org. Doc from org. Retrieves a list of the selection | |
| getAggregationResultType | back to summary |
|---|---|
| public Class Implements org. Doc from org. Obtain the java type of the aggregation | |
| getResultTransformer | back to summary |
|---|---|
| public ResultTransformer getResultTransformer() Implements org. Doc from org. Retrieve the
| |
| getScalarColumnIndex | back to summary |
|---|---|
| public int getScalarColumnIndex() Overrides org. Implements org. Doc from org. Gets index of the select expression in the projection list.
| |
| isScalar | back to summary |
|---|---|
| public boolean isScalar() Overrides org. Implements org.
| |
| resolve | back to summary |
|---|---|
| public void resolve(boolean generateJoin, boolean implicitJoin, String classAlias, AST parent, AST parentPredicate) throws SemanticException Overrides org. Implements org. Doc from org. Does the work of resolving an identifier or a dot
| |
| resolveColumns | back to summary |
|---|---|
| protected String[] resolveColumns(QueryableCollection collectionPersister) Implements abstract org.
| |
| resolveType | back to summary |
|---|---|
| protected Type resolveType(QueryableCollection collectionPersister) Implements abstract org.
| |
| setScalarColumn | back to summary |
|---|---|
| public void setScalarColumn(int i) Overrides org. Implements org. Doc from org. Sets the index and text for select expression in the projection list.
| |
| setScalarColumnText | back to summary |
|---|---|
| public void setScalarColumnText(int i) Overrides org. Implements org. Doc from org. Appends AST nodes that represent the columns after the current AST node. (e.g. 'as col0_O_')
| |
| setText | back to summary |
|---|---|
| public void setText(String s) Overrides org. Implements org. Doc from org. Sets the text of the node. | |
| sfi | back to summary |
|---|---|
| public SessionFactoryImplementor sfi()
Deprecated as a consequence of | |
| Access | Constructor and Description |
|---|---|
| private |
| alias | back to summary |
|---|---|
| private final String alias | |
| expression | back to summary |
|---|---|
| private final String expression | |
| BasicSelectExpression | back to summary |
|---|---|
| private BasicSelectExpression(String expression, String alias) | |
| getAlias | back to summary |
|---|---|
| public String getAlias() Implements org.
| |
| getExpression | back to summary |
|---|---|
| public String getExpression() Implements org.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
object to be compared for equality with this map entry o)Overrides java. Implements java. |
| public Object | |
| public Object | |
| public int | hashCode()
Overrides java. Implements java. |
| public Object | setValue(Object
new value to be stored in this entry value)Implements java. |
| EntryAdapter | back to summary |
|---|---|
| private EntryAdapter(Object key, Object value) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Implements java. Doc from java. Compares the specified object with this entry for equality.
Returns
(e1.getKey()==null ?
e2.getKey()==null : e1.getKey().equals(e2.getKey())) &&
(e1.getValue()==null ?
e2.getValue()==null : e1.getValue().equals(e2.getValue()))
This ensures that the equals method works properly across
different implementations of the Map.Entry interface.
| |
| getKey | back to summary |
|---|---|
| public Object getKey() Implements java. Doc from java. Returns the key corresponding to this entry. | |
| getValue | back to summary |
|---|---|
| public Object getValue() Implements java. Doc from java. Returns the value corresponding to this entry. If the mapping
has been removed from the backing map (by the iterator's
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements java. Doc from java. Returns the hash code value for this map entry. The hash code
of a map entry
(e.getKey()==null ? 0 : e.getKey().hashCode()) ^
(e.getValue()==null ? 0 : e.getValue().hashCode())
This ensures that e1.equals(e2) implies that
e1.hashCode()==e2.hashCode() for any two Entries
e1 and e2, as required by the general
contract of Object.hashCode.
| |
| setValue | back to summary |
|---|---|
| public Object setValue(Object value) Implements java. Doc from java. Replaces the value corresponding to this entry with the specified
value (optional operation). (Writes through to the map.) The
behavior of this call is undefined if the mapping has already been
removed from the map (by the iterator's | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| LocalAliasGenerator | back to summary |
|---|---|
| private LocalAliasGenerator(int base) | |
| generateAlias | back to summary |
|---|---|
| public String generateAlias(String sqlExpression) Implements org.
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Object | transformTuple(Object[]
The result elements tuple, String[] The result aliases ("parallel" array to tuple) aliases)Overrides org. Implements org. |
| MapEntryBuilder | back to summary |
|---|---|
| private MapEntryBuilder() | |
| transformTuple | back to summary |
|---|---|
| public Object transformTuple(Object[] tuple, String[] aliases) Overrides org. Implements org. Doc from org. Tuples are the elements making up each "row" of the query result. The contract here is to transform these elements into the final row. | |