Enum Class MappingStructure
java.lang.Object
java.lang.Enum<MappingStructure>
io.quarkus.hibernate.search.standalone.elasticsearch.runtime.MappingStructure
- All Implemented Interfaces:
Serializable,Comparable<MappingStructure>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic MappingStructureReturns the enum constant of this class with the specified name.static MappingStructure[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GRAPH
Entities indexed through Hibernate Search are nodes in an entity graph. With this structure: * An indexed entity is independent of other entities it references through associations, which *can* be updated independently of the indexed entity; in particular they may be passed toSearchIndexingPlan.addOrUpdate(Object). * Therefore, when an entity changes, Hibernate Search may need to resolve other entities to reindex, which means in particular that associations between entities must be bi-directional: specifying the inverse side of associations through `@AssociationInverseSide` *is required*, unless reindexing is disabled for that association through `@IndexingDependency(reindexOnUpdate = ...)`. See also link:{hibernate-search-docs-url}#mapping-reindexing-associationinverseside[`@AssociationInverseSide`] link:{hibernate-search-docs-url}#mapping-reindexing-reindexonupdate[`@IndexingDependency(reindexOnUpdate = ...)`]. -
DOCUMENT
Entities indexed through Hibernate Search are the root of a document. With this structure: * An indexed entity "owns" other entities it references through associations, which *cannot* be updated independently of the indexed entity; in particular they cannot be passed toSearchIndexingPlan.addOrUpdate(Object). * Therefore, when an entity changes, Hibernate Search doesn't need to resolve other entities to reindex, which means in particular that associations between entities can be uni-directional: specifying the inverse side of associations through `@AssociationInverseSide` *is not required*. See also link:{hibernate-search-docs-url}#mapping-reindexing-associationinverseside[`@AssociationInverseSide`].
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-