org.hibernate.search.engine.metadata.impl.BackReference Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infinispan-embedded-query
Show all versions of infinispan-embedded-query
Infinispan Embedded Query All-in-One module
The newest version!
/*
* Hibernate Search, full-text search for your domain model
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.search.engine.metadata.impl;
import org.hibernate.search.exception.AssertionFailure;
/**
* A container allowing to build metadata with circular dependency.
*
* It's useful when building {@link DocumentFieldMetadata}, for instance:
* when we build those, the parent type metadata hasn't been built yet (since
* it requires every fields to be created). To break the circular dependency,
* we provide the DocumentFieldMetadata with a {@code BackReference},
* and we initialize the reference later.
*
* @author Yoann Rodiere
*/
public class BackReference {
private static final BackReference
© 2015 - 2025 Weber Informatics LLC | Privacy Policy