站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

Uses of Interface org.hibernate.persister.collection.CollectionPersister (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


Uses of Interface
org.hibernate.persister.collection.CollectionPersister

Packages that use CollectionPersister
org.hibernate.action This package defines "actions" that are scheduled for asycnchronous execution by the event listeners. 
org.hibernate.cache.entry This package defines formats for disassembled state kept in the second level cache. 
org.hibernate.collection This package defines a framework for collection wrappers. 
org.hibernate.engine This package contains classes that are "shared" by other packages, and implementations of some key algorithms. 
org.hibernate.engine.loading   
org.hibernate.event.def This package defines a default set of event listeners that implements the default behaviors of Hibernate. 
org.hibernate.hql.classic This package contains the Hibernate 2.x query parser which is being end-of-lifed. 
org.hibernate.impl This package contains implementations of the central Hibernate APIs, especially the Hibernate session. 
org.hibernate.loader This package defines functionality for processing JDBC result sets and returning complex graphs of persistent objects. 
org.hibernate.loader.collection This package defines collection initializers  
org.hibernate.loader.custom This package defines a framework for custom loaders that accept handwritten SQL  
org.hibernate.loader.hql This package defines a loader for the AST-based query parser  
org.hibernate.persister A persister defines a mapping strategy for a collection or entity. 
org.hibernate.persister.collection This package abstracts the persistence mechanism for collections. 
org.hibernate.pretty Classes for pretty printing things for exception and log messages. 
org.hibernate.type A Hibernate Type is a strategy for mapping a Java property type to a JDBC type or types. 
org.hibernate.usertype Interfaces for user-defined custom types. 
 

Uses of CollectionPersister in org.hibernate.action
 

Methods in org.hibernate.action that return CollectionPersister
protected  CollectionPersister CollectionAction.getPersister()
           
 

Constructors in org.hibernate.action with parameters of type CollectionPersister
CollectionUpdateAction(PersistentCollection collection, CollectionPersister persister, Serializable id, boolean emptySnapshot, SessionImplementor session)
           
CollectionRemoveAction(PersistentCollection collection, CollectionPersister persister, Serializable id, boolean emptySnapshot, SessionImplementor session)
           
CollectionRecreateAction(PersistentCollection collection, CollectionPersister persister, Serializable id, SessionImplementor session)
           
CollectionAction(CollectionPersister persister, PersistentCollection collection, Serializable key, SessionImplementor session)
           
 

Uses of CollectionPersister in org.hibernate.cache.entry
 

Methods in org.hibernate.cache.entry with parameters of type CollectionPersister
 void CollectionCacheEntry.assemble(PersistentCollection collection, CollectionPersister persister, Object owner)
           
 

Constructors in org.hibernate.cache.entry with parameters of type CollectionPersister
CollectionCacheEntry(PersistentCollection collection, CollectionPersister persister)
           
 

Uses of CollectionPersister in org.hibernate.collection
 

Methods in org.hibernate.collection with parameters of type CollectionPersister
 Serializable PersistentSet.getSnapshot(CollectionPersister persister)
           
 boolean PersistentSet.equalsSnapshot(CollectionPersister persister)
           
 void PersistentSet.beforeInitialize(CollectionPersister persister, int anticipatedSize)
           
 void PersistentSet.initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)
           
 Object PersistentSet.readFrom(ResultSet rs, CollectionPersister persister, CollectionAliases descriptor, Object owner)
           
 Iterator PersistentSet.entries(CollectionPersister persister)
           
 Serializable PersistentSet.disassemble(CollectionPersister persister)
           
 Iterator PersistentSet.getDeletes(CollectionPersister persister, boolean indexIsFormula)
           
 Object PersistentSet.getIndex(Object entry, int i, CollectionPersister persister)
           
 void PersistentMapElementHolder.initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)
           
 Serializable PersistentMapElementHolder.disassemble(CollectionPersister persister)
           
 Serializable PersistentMap.getSnapshot(CollectionPersister persister)
           
 boolean PersistentMap.equalsSnapshot(CollectionPersister persister)
           
 void PersistentMap.beforeInitialize(CollectionPersister persister, int anticipatedSize)
           
 Object PersistentMap.readFrom(ResultSet rs, CollectionPersister persister, CollectionAliases descriptor, Object owner)
           
 Iterator PersistentMap.entries(CollectionPersister persister)
           
 void PersistentMap.initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)
           
 Serializable PersistentMap.disassemble(CollectionPersister persister)
           
 Iterator PersistentMap.getDeletes(CollectionPersister persister, boolean indexIsFormula)
           
 Object PersistentMap.getIndex(Object entry, int i, CollectionPersister persister)
           
 void PersistentListElementHolder.initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)
           
 Serializable PersistentListElementHolder.disassemble(CollectionPersister persister)
           
 Serializable PersistentList.getSnapshot(CollectionPersister persister)
           
 boolean PersistentList.equalsSnapshot(CollectionPersister persister)
           
 void PersistentList.beforeInitialize(CollectionPersister persister, int anticipatedSize)
           
 Object PersistentList.readFrom(ResultSet rs, CollectionPersister persister, CollectionAliases descriptor, Object owner)
           
 Iterator PersistentList.entries(CollectionPersister persister)
           
 void PersistentList.initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)
           
 Serializable PersistentList.disassemble(CollectionPersister persister)
           
 Iterator PersistentList.getDeletes(CollectionPersister persister, boolean indexIsFormula)
           
 Object PersistentList.getIndex(Object entry, int i, CollectionPersister persister)
           
protected static String PersistentIndexedElementHolder.getIndexAttributeName(CollectionPersister persister)
           
 Serializable PersistentIndexedElementHolder.getSnapshot(CollectionPersister persister)
           
 boolean PersistentIndexedElementHolder.equalsSnapshot(CollectionPersister persister)
           
 Object PersistentIndexedElementHolder.readFrom(ResultSet rs, CollectionPersister persister, CollectionAliases descriptor, Object owner)
           
 Iterator PersistentIndexedElementHolder.entries(CollectionPersister persister)
           
 void PersistentIndexedElementHolder.beforeInitialize(CollectionPersister persister, int anticipatedSize)
           
 Iterator PersistentIndexedElementHolder.getDeletes(CollectionPersister persister, boolean indexIsFormula)
           
 Object PersistentIndexedElementHolder.getIndex(Object entry, int i, CollectionPersister persister)
           
 void PersistentIdentifierBag.initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)
           
 void PersistentIdentifierBag.beforeInitialize(CollectionPersister persister, int anticipatedSize)
           
 Serializable PersistentIdentifierBag.disassemble(CollectionPersister persister)
           
 Iterator PersistentIdentifierBag.entries(CollectionPersister persister)
           
 boolean PersistentIdentifierBag.equalsSnapshot(CollectionPersister persister)
           
 Iterator PersistentIdentifierBag.getDeletes(CollectionPersister persister, boolean indexIsFormula)
           
 Object PersistentIdentifierBag.getIndex(Object entry, int i, CollectionPersister persister)
           
 Object PersistentIdentifierBag.readFrom(ResultSet rs, CollectionPersister persister, CollectionAliases descriptor, Object owner)
           
 Serializable PersistentIdentifierBag.getSnapshot(CollectionPersister persister)
           
 void PersistentIdentifierBag.preInsert(CollectionPersister persister)
           
 void PersistentIdentifierBag.afterRowInsert(CollectionPersister persister, Object entry, int i)
           
 Serializable PersistentElementHolder.getSnapshot(CollectionPersister persister)
           
 boolean PersistentElementHolder.equalsSnapshot(CollectionPersister persister)
           
 Object PersistentElementHolder.readFrom(ResultSet rs, CollectionPersister persister, CollectionAliases descriptor, Object owner)
           
 Iterator PersistentElementHolder.entries(CollectionPersister persister)
           
 void PersistentElementHolder.beforeInitialize(CollectionPersister persister, int anticipatedSize)
           
 void PersistentElementHolder.initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)
           
 Serializable PersistentElementHolder.disassemble(CollectionPersister persister)
           
 Iterator PersistentElementHolder.getDeletes(CollectionPersister persister, boolean indexIsFormula)
           
 Object PersistentElementHolder.getIndex(Object entry, int i, CollectionPersister persister)
           
 void PersistentCollection.initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)
          Read the state of the collection from a disassembled cached value
 Iterator PersistentCollection.entries(CollectionPersister persister)
          Iterate all collection entries, during update of the database
 Object PersistentCollection.readFrom(ResultSet rs, CollectionPersister role, CollectionAliases descriptor, Object owner)
          Read a row from the JDBC result set
 Object PersistentCollection.getIndex(Object entry, int i, CollectionPersister persister)
          Get the index of the given collection entry
 void PersistentCollection.beforeInitialize(CollectionPersister persister, int anticipatedSize)
          Called before any elements are read into the collection, allowing appropriate initializations to occur.
 boolean PersistentCollection.equalsSnapshot(CollectionPersister persister)
          Does the current state exactly match the snapshot?
 Serializable PersistentCollection.disassemble(CollectionPersister persister)
          Disassemble the collection, ready for the cache
 boolean PersistentCollection.needsRecreate(CollectionPersister persister)
          Do we need to completely recreate this collection when it changes?
 Serializable PersistentCollection.getSnapshot(CollectionPersister persister)
          Return a new snapshot of the current state of the collection
 Iterator PersistentCollection.getDeletes(CollectionPersister persister, boolean indexIsFormula)
          Get all the elements that need deleting
 void PersistentCollection.preInsert(CollectionPersister persister)
          Called before inserting rows, to ensure that any surrogate keys are fully generated
 void PersistentCollection.afterRowInsert(CollectionPersister persister, Object entry, int i)
          Called after inserting a row, to fetch the natively generated id
 Iterator PersistentBag.entries(CollectionPersister persister)
           
 Object PersistentBag.readFrom(ResultSet rs, CollectionPersister persister, CollectionAliases descriptor, Object owner)
           
 void PersistentBag.beforeInitialize(CollectionPersister persister, int anticipatedSize)
           
 boolean PersistentBag.equalsSnapshot(CollectionPersister persister)
           
 Serializable PersistentBag.getSnapshot(CollectionPersister persister)
           
 Serializable PersistentBag.disassemble(CollectionPersister persister)
           
 void PersistentBag.initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)
           
 boolean PersistentBag.needsRecreate(CollectionPersister persister)
           
 Iterator PersistentBag.getDeletes(CollectionPersister persister, boolean indexIsFormula)
           
 Object PersistentBag.getIndex(Object entry, int i, CollectionPersister persister)
           
 Serializable PersistentArrayHolder.getSnapshot(CollectionPersister persister)
           
 boolean PersistentArrayHolder.equalsSnapshot(CollectionPersister persister)
           
 Object PersistentArrayHolder.readFrom(ResultSet rs, CollectionPersister persister, CollectionAliases descriptor, Object owner)
           
 Iterator PersistentArrayHolder.entries(CollectionPersister persister)
           
 void PersistentArrayHolder.beforeInitialize(CollectionPersister persister, int anticipatedSize)
           
 void PersistentArrayHolder.initializeFromCache(CollectionPersister persister, Serializable disassembled, Object owner)
           
 Serializable PersistentArrayHolder.disassemble(CollectionPersister persister)
           
 Iterator PersistentArrayHolder.getDeletes(CollectionPersister persister, boolean indexIsFormula)
           
 Object PersistentArrayHolder.getIndex(Object entry, int i, CollectionPersister persister)
           
 boolean AbstractPersistentCollection.needsRecreate(CollectionPersister persister)
          Do we need to completely recreate this collection when it changes?
 void AbstractPersistentCollection.preInsert(CollectionPersister persister)
          Called before inserting rows, to ensure that any surrogate keys are fully generated
 void AbstractPersistentCollection.afterRowInsert(CollectionPersister persister, Object entry, int i)
          Called after inserting a row, to fetch the natively generated id
 

Constructors in org.hibernate.collection with parameters of type CollectionPersister
PersistentMapElementHolder(SessionImplementor session, CollectionPersister persister, Serializable key)
           
PersistentListElementHolder(SessionImplementor session, CollectionPersister persister, Serializable key)
           
PersistentIndexedElementHolder(SessionImplementor session, CollectionPersister persister, Serializable key)
           
PersistentElementHolder(SessionImplementor session, CollectionPersister persister, Serializable key)
           
PersistentArrayHolder(SessionImplementor session, CollectionPersister persister)
           
 

Uses of CollectionPersister in org.hibernate.engine
 

Methods in org.hibernate.engine that return CollectionPersister
 CollectionPersister SessionFactoryImplementor.getCollectionPersister(String role)
          Get the persister object for a collection role
 CollectionPersister CollectionEntry.getCurrentPersister()
           
 CollectionPersister CollectionEntry.getLoadedPersister()
          This is only available late during the flush cycle
 

Methods in org.hibernate.engine with parameters of type CollectionPersister
 Object StatefulPersistenceContext.getCollectionOwner(Serializable key, CollectionPersister collectionPersister)
          Get the entity that owns this persistent collection
 void StatefulPersistenceContext.addUninitializedCollection(CollectionPersister persister, PersistentCollection collection, Serializable id)
          add a collection we just loaded up (still needs initializing)
 void StatefulPersistenceContext.addUninitializedDetachedCollection(CollectionPersister persister, PersistentCollection collection)
          add a detached uninitialized collection
 void StatefulPersistenceContext.addNewCollection(CollectionPersister persister, PersistentCollection collection)
          Add a new collection (ie.
 void StatefulPersistenceContext.addInitializedDetachedCollection(CollectionPersister collectionPersister, PersistentCollection collection)
          add an (initialized) collection that was created by another session and passed into update() (ie.
 CollectionEntry StatefulPersistenceContext.addInitializedCollection(CollectionPersister persister, PersistentCollection collection, Serializable id)
          add a collection we just pulled out of the cache (does not need initializing)
 Object PersistenceContext.getCollectionOwner(Serializable key, CollectionPersister collectionPersister)
          Get the entity that owns this persistent collection
 void PersistenceContext.addUninitializedCollection(CollectionPersister persister, PersistentCollection collection, Serializable id)
          add a collection we just loaded up (still needs initializing)
 void PersistenceContext.addUninitializedDetachedCollection(CollectionPersister persister, PersistentCollection collection)
          add a detached uninitialized collection
 void PersistenceContext.addNewCollection(CollectionPersister persister, PersistentCollection collection)
          Add a new collection (ie.
 void PersistenceContext.addInitializedDetachedCollection(CollectionPersister collectionPersister, PersistentCollection collection)
          add an (initialized) collection that was created by another session and passed into update() (ie.
 CollectionEntry PersistenceContext.addInitializedCollection(CollectionPersister persister, PersistentCollection collection, Serializable id)
          add a collection we just pulled out of the cache (does not need initializing)
 void CollectionEntry.setCurrentPersister(CollectionPersister currentPersister)
           
 Serializable[] BatchFetchQueue.getCollectionBatch(CollectionPersister collectionPersister, Serializable id, int batchSize, EntityMode entityMode)
          Get a batch of uninitialized collection keys for a given role
 

Constructors in org.hibernate.engine with parameters of type CollectionPersister
CollectionKey(CollectionPersister persister, Serializable key, EntityMode em)
           
CollectionEntry(CollectionPersister persister, PersistentCollection collection)
          For newly wrapped collections, or dereferenced collection wrappers
CollectionEntry(PersistentCollection collection, CollectionPersister loadedPersister, Serializable loadedKey, boolean ignore)
          For collections just loaded from the database
CollectionEntry(CollectionPersister loadedPersister, Serializable loadedKey)
          For uninitialized detached collections
 

Uses of CollectionPersister in org.hibernate.engine.loading
 

Methods in org.hibernate.engine.loading that return CollectionPersister
 CollectionPersister LoadingCollectionEntry.getPersister()
           
 

Methods in org.hibernate.engine.loading with parameters of type CollectionPersister
 PersistentCollection LoadContexts.locateLoadingCollection(CollectionPersister persister, Serializable ownerKey)
          Attempt to locate the loading collection given the owner's key.
 PersistentCollection CollectionLoadContext.getLoadingCollection(CollectionPersister persister, Serializable key)
          Retrieve the collection that is being loaded as part of processing this result set.
 void CollectionLoadContext.endLoadingCollections(CollectionPersister persister)
          Finish the process of collection-loading for this bound result set.
 

Constructors in org.hibernate.engine.loading with parameters of type CollectionPersister
LoadingCollectionEntry(ResultSet resultSet, CollectionPersister persister, Serializable key, PersistentCollection collection)
           
 

Uses of CollectionPersister in org.hibernate.event.def
 

Methods in org.hibernate.event.def with parameters of type CollectionPersister
protected static boolean ProxyVisitor.isOwnerUnchanged(PersistentCollection snapshot, CollectionPersister persister, Serializable id)
          Has the owner of the collection changed since the collection was snapshotted and detached?
 

Uses of CollectionPersister in org.hibernate.hql.classic
 

Methods in org.hibernate.hql.classic that return CollectionPersister
 CollectionPersister[] QueryTranslatorImpl.getCollectionPersisters()
          Overrides method from Loader
 

Uses of CollectionPersister in org.hibernate.impl
 

Methods in org.hibernate.impl that return CollectionPersister
 CollectionPersister SessionFactoryImpl.getCollectionPersister(String role)
           
 

Uses of CollectionPersister in org.hibernate.loader
 

Fields in org.hibernate.loader declared as CollectionPersister
protected  CollectionPersister[] OuterJoinLoader.collectionPersisters
           
protected  CollectionPersister[] JoinWalker.collectionPersisters
           
 

Methods in org.hibernate.loader that return CollectionPersister
protected  CollectionPersister[] OuterJoinLoader.getCollectionPersisters()
           
protected  CollectionPersister[] Loader.getCollectionPersisters()
          An (optional) persister for a collection to be initialized; only collection loaders return a non-null value
 CollectionPersister[] JoinWalker.getCollectionPersisters()
           
 

Methods in org.hibernate.loader with parameters of type CollectionPersister
 void JoinWalker.setCollectionPersisters(CollectionPersister[] collectionPersisters)
           
 

Constructors in org.hibernate.loader with parameters of type CollectionPersister
GeneratedCollectionAliases(Map userProvidedAliases, CollectionPersister persister, String suffix)
           
GeneratedCollectionAliases(CollectionPersister persister, String string)
           
 

Uses of CollectionPersister in org.hibernate.loader.collection
 

Constructors in org.hibernate.loader.collection with parameters of type CollectionPersister
BatchingCollectionInitializer(CollectionPersister collPersister, int[] batchSizes, Loader[] loaders)
           
 

Uses of CollectionPersister in org.hibernate.loader.custom
 

Methods in org.hibernate.loader.custom that return CollectionPersister
protected  CollectionPersister[] CustomLoader.getCollectionPersisters()
           
 

Uses of CollectionPersister in org.hibernate.loader.hql
 

Methods in org.hibernate.loader.hql that return CollectionPersister
protected  CollectionPersister[] QueryLoader.getCollectionPersisters()
          An (optional) persister for a collection to be initialized; only collection loaders return a non-null value
 

Uses of CollectionPersister in org.hibernate.persister
 

Methods in org.hibernate.persister that return CollectionPersister
static CollectionPersister PersisterFactory.createCollectionPersister(Configuration cfg, Collection model, CacheConcurrencyStrategy cache, SessionFactoryImplementor factory)
           
 

Uses of CollectionPersister in org.hibernate.persister.collection
 

Subinterfaces of CollectionPersister in org.hibernate.persister.collection
 interface QueryableCollection
          A collection role that may be queried or loaded by outer join.
 interface SQLLoadableCollection
           
 

Classes in org.hibernate.persister.collection that implement CollectionPersister
 class AbstractCollectionPersister
          Base implementation of the QueryableCollection interface.
 class BasicCollectionPersister
          Collection persister for collections of values and many-to-many associations.
 class OneToManyPersister
          Collection persister for one-to-many associations.
 

Constructors in org.hibernate.persister.collection with parameters of type CollectionPersister
NamedQueryCollectionInitializer(String queryName, CollectionPersister persister)
           
 

Uses of CollectionPersister in org.hibernate.pretty
 

Methods in org.hibernate.pretty with parameters of type CollectionPersister
static String MessageHelper.collectionInfoString(CollectionPersister persister, Serializable[] ids, SessionFactoryImplementor factory)
          Generate an info message string relating to a series of managed collections.
static String MessageHelper.collectionInfoString(CollectionPersister persister, Serializable id, SessionFactoryImplementor factory)
          Generate an info message string relating to a particular managed collection.
 

Uses of CollectionPersister in org.hibernate.type
 

Methods in org.hibernate.type with parameters of type CollectionPersister
 PersistentCollection SortedSetType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
           
 PersistentCollection SortedMapType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
           
 PersistentCollection SetType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
           
 PersistentCollection MapType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
           
 PersistentCollection ListType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
           
 PersistentCollection IdentifierBagType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
           
 PersistentCollection CustomCollectionType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
           
abstract  PersistentCollection CollectionType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
          Instantiate an uninitialized collection wrapper or holder.
 PersistentCollection BagType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
           
 PersistentCollection ArrayType.instantiate(SessionImplementor session, CollectionPersister persister, Serializable key)
           
 

Uses of CollectionPersister in org.hibernate.usertype
 

Methods in org.hibernate.usertype with parameters of type CollectionPersister
 PersistentCollection UserCollectionType.instantiate(SessionImplementor session, CollectionPersister persister)
          Instantiate an uninitialized instance of the collection wrapper
 Object UserCollectionType.replaceElements(Object original, Object target, CollectionPersister persister, Object owner, Map copyCache, SessionImplementor session)
          Replace the elements of a collection with the elements of another collection