public interface QueryableCollection extends PropertyMapping, Joinable, CollectionPersister
Modifier and Type | Method and Description |
---|---|
String[] |
getElementColumnNames()
Get the names of the collection element columns (or the primary
key columns in the case of a one-to-many association)
|
String[] |
getElementColumnNames(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
|
EntityPersister |
getElementPersister()
Get the persister of the element class, if this is a
collection of entities (optional operation).
|
FetchMode |
getFetchMode()
Should we load this collection role by outerjoining?
|
String[] |
getIndexColumnNames()
Get the names of the collection index columns if
this is an indexed collection (optional operation)
|
String[] |
getIndexColumnNames(String alias)
Get the names of the collection index columns if
this is an indexed collection (optional operation),
aliased by the given table alias
|
String[] |
getIndexFormulas()
Get the index formulas if this is an indexed collection
(optional operation)
|
String |
getManyToManyOrderByString(String alias)
Get the order-by to be applied at the target table of a many to many
|
String |
getSQLOrderByString(String alias)
Get the order by SQL
|
boolean |
hasWhere()
Does this collection role have a where clause filter?
|
String |
selectFragment(String alias,
String columnSuffix)
Generate a list of collection index and element columns
|
getType, toColumns, toColumns, toType
consumesCollectionAlias, consumesEntityAlias, filterFragment, filterFragment, fromJoinFragment, fromJoinFragment, getKeyColumnNames, getName, getTableName, isCollection, oneToManyFilterFragment, oneToManyFilterFragment, selectFragment, whereJoinFragment, whereJoinFragment
deleteRows, elementExists, getBatchSize, getCacheAccessStrategy, getCacheEntryStructure, getCollectionMetadata, getCollectionSpaces, getCollectionType, getElementByIndex, getElementClass, getElementColumnAliases, getElementType, getFactory, getIdentifierColumnAlias, getIdentifierGenerator, getIdentifierType, getIndexColumnAliases, getIndexType, getKeyColumnAliases, getKeyType, getManyToManyFilterFragment, getMappedByProperty, getNavigableRole, getOwnerEntityPersister, getRole, getSize, hasCache, hasIndex, hasManyToManyOrdering, hasOrdering, hasOrphanDelete, indexExists, initialize, insertRows, isAffectedByEnabledFilters, isArray, isCascadeDeleteEnabled, isExtraLazy, isInverse, isLazy, isManyToMany, isMutable, isOneToMany, isPrimitiveArray, isVersioned, postInstantiate, processQueuedOps, readElement, readIdentifier, readIndex, readKey, recreate, remove, updateRows
getCollectionPersister, getElementDefinition, getIndexDefinition
String selectFragment(String alias, String columnSuffix)
String[] getIndexColumnNames()
String[] getIndexFormulas()
String[] getIndexColumnNames(String alias)
String[] getElementColumnNames(String alias)
String[] getElementColumnNames()
String getManyToManyOrderByString(String alias)
alias
- The alias for the many-to-many target tableboolean hasWhere()
EntityPersister getElementPersister()
FetchMode getFetchMode()
Copyright © 2019 JBoss by Red Hat. All rights reserved.