Top Constructors Methods
org.hibernate.collection.spi

public abstract Class AbstractSetSemantics<SE extends java.util.Set<E>, E>

extends Object
implements CollectionSemantics<SE extends Set<E>, E>
Class Inheritance
All Implemented Interfaces
org.hibernate.collection.spi.CollectionSemantics
Known Direct Subclasses
org.hibernate.collection.internal.StandardOrderedSetSemantics, org.hibernate.collection.internal.StandardSetSemantics, org.hibernate.collection.internal.StandardSortedSetSemantics
Imports
java.util.Iterator, .Set, java.util.function.Consumer, org.hibernate.metamodel.mapping.PluralAttributeMapping, org.hibernate.spi.NavigablePath, org.hibernate.sql.results.graph.DomainResultCreationState, .Fetch, .FetchParent

Author
Steve Ebersole

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public CollectionInitializerProducer
createInitializerProducer(NavigablePath navigablePath, PluralAttributeMapping attributeMapping, FetchParent fetchParent, boolean selected, String resultVariable, Fetch indexFetch, Fetch elementFetch, DomainResultCreationState creationState)

Overrides default org.hibernate.collection.spi.CollectionSemantics.createInitializerProducer.

Create a producer for org.hibernate.sql.results.graph.collection.CollectionInitializer instances for the given collection semantics
public Class<? extends Set<E>>
public Iterator<E>
getElementIterator(SE rawCollection)

Implements org.hibernate.collection.spi.CollectionSemantics.getElementIterator.

Obtain an iterator over the collection elements
public void
visitElements(SE rawCollection, Consumer<? super E> action)

Implements org.hibernate.collection.spi.CollectionSemantics.visitElements.

Visit the elements of the collection
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractSetSemanticsback to summary
public AbstractSetSemantics()

Method Detail

createInitializerProducerback to summary
public CollectionInitializerProducer createInitializerProducer(NavigablePath navigablePath, PluralAttributeMapping attributeMapping, FetchParent fetchParent, boolean selected, String resultVariable, Fetch indexFetch, Fetch elementFetch, DomainResultCreationState creationState)

Overrides default org.hibernate.collection.spi.CollectionSemantics.createInitializerProducer.

Doc from org.hibernate.collection.spi.CollectionSemantics.createInitializerProducer.

Create a producer for org.hibernate.sql.results.graph.collection.CollectionInitializer instances for the given collection semantics

Annotations
@Override
getCollectionJavaTypeback to summary
public Class<? extends Set<E>> getCollectionJavaType()

Implements org.hibernate.collection.spi.CollectionSemantics.getCollectionJavaType.

Doc from org.hibernate.collection.spi.CollectionSemantics.getCollectionJavaType.

The collection's Java type

Annotations
@Override
getElementIteratorback to summary
public Iterator<E> getElementIterator(SE rawCollection)

Implements org.hibernate.collection.spi.CollectionSemantics.getElementIterator.

Doc from org.hibernate.collection.spi.CollectionSemantics.getElementIterator.

Obtain an iterator over the collection elements

Annotations
@Override
visitElementsback to summary
public void visitElements(SE rawCollection, Consumer<? super E> action)

Implements org.hibernate.collection.spi.CollectionSemantics.visitElements.

Doc from org.hibernate.collection.spi.CollectionSemantics.visitElements.

Visit the elements of the collection

Annotations
@Override