|
|||||||||
| Home >> All >> org >> hibernate >> persister >> [ collection overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.hibernate.persister.collection
Interface QueryableCollection

- All Superinterfaces:
- CollectionPersister, org.hibernate.persister.entity.Joinable, org.hibernate.persister.entity.PropertyMapping
- All Known Subinterfaces:
- SQLLoadableCollection
- All Known Implementing Classes:
- AbstractCollectionPersister
- public interface QueryableCollection
- extends org.hibernate.persister.entity.PropertyMapping, org.hibernate.persister.entity.Joinable, CollectionPersister
A collection role that may be queried or loaded by outer join.
| Method Summary | |
java.lang.String[] |
getElementColumnNames()
Get the names of the collection element columns (or the primary key columns in the case of a one-to-many association) |
java.lang.String[] |
getElementColumnNames(java.lang.String alias)
Get the names of the collection element columns (or the primary key columns in the case of a one-to-many association), aliased by the given table alias |
org.hibernate.persister.entity.EntityPersister |
getElementPersister()
Get the persister of the element class, if this is a collection of entities (optional operation). |
org.hibernate.FetchMode |
getFetchMode()
Should we load this collection role by outerjoining? |
java.lang.String[] |
getIndexColumnNames()
Get the names of the collection index columns if this is an indexed collection (optional operation) |
java.lang.String[] |
getIndexColumnNames(java.lang.String alias)
Get the names of the collection index columns if this is an indexed collection (optional operation), aliased by the given table alias |
java.lang.String[] |
getIndexFormulas()
Get the index formulas if this is an indexed collection (optional operation) |
java.lang.String |
getManyToManyOrderByString(java.lang.String alias)
Get the order-by to be applied at the target table of a many to many |
java.lang.String |
getSQLOrderByString(java.lang.String alias)
Get the order by SQL |
boolean |
hasWhere()
Does this collection role have a where clause filter? |
java.lang.String |
selectFragment(java.lang.String alias,
java.lang.String columnSuffix)
Generate a list of collection index and element columns |
| Methods inherited from interface org.hibernate.persister.entity.PropertyMapping |
getType, toColumns, toColumns, toType |
| Methods inherited from interface org.hibernate.persister.entity.Joinable |
consumesCollectionAlias, consumesEntityAlias, filterFragment, fromJoinFragment, getKeyColumnNames, getName, getTableName, isCollection, oneToManyFilterFragment, selectFragment, whereJoinFragment |
| Method Detail |
selectFragment
public java.lang.String selectFragment(java.lang.String alias, java.lang.String columnSuffix)
- Generate a list of collection index and element columns
getIndexColumnNames
public java.lang.String[] getIndexColumnNames()
- Get the names of the collection index columns if
this is an indexed collection (optional operation)
getIndexFormulas
public java.lang.String[] getIndexFormulas()
- Get the index formulas if this is an indexed collection
(optional operation)
getIndexColumnNames
public java.lang.String[] getIndexColumnNames(java.lang.String alias)
- Get the names of the collection index columns if
this is an indexed collection (optional operation),
aliased by the given table alias
getElementColumnNames
public java.lang.String[] getElementColumnNames(java.lang.String alias)
- Get the names of the collection element columns (or the primary
key columns in the case of a one-to-many association),
aliased by the given table alias
getElementColumnNames
public java.lang.String[] getElementColumnNames()
- Get the names of the collection element columns (or the primary
key columns in the case of a one-to-many association)
getSQLOrderByString
public java.lang.String getSQLOrderByString(java.lang.String alias)
- Get the order by SQL
getManyToManyOrderByString
public java.lang.String getManyToManyOrderByString(java.lang.String alias)
- Get the order-by to be applied at the target table of a many to many
hasWhere
public boolean hasWhere()
- Does this collection role have a where clause filter?
getElementPersister
public org.hibernate.persister.entity.EntityPersister getElementPersister()
- Get the persister of the element class, if this is a
collection of entities (optional operation). Note that
for a one-to-many association, the returned persister
must be OuterJoinLoadable.
getFetchMode
public org.hibernate.FetchMode getFetchMode()
- Should we load this collection role by outerjoining?
|
|||||||||
| Home >> All >> org >> hibernate >> persister >> [ collection overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC