Class ElasticsearchIndexRoot
- java.lang.Object
-
- org.hibernate.search.engine.backend.document.model.spi.AbstractIndexNode<S,SC,NT>
-
- org.hibernate.search.engine.backend.document.model.spi.AbstractIndexRoot<ElasticsearchIndexRoot,ElasticsearchSearchIndexScope<?>,ElasticsearchIndexCompositeNodeType,ElasticsearchIndexField>
-
- org.hibernate.search.backend.elasticsearch.document.model.impl.ElasticsearchIndexRoot
-
- All Implemented Interfaces:
ElasticsearchIndexCompositeNode,ElasticsearchIndexNode,ElasticsearchSearchIndexCompositeNodeContext,ElasticsearchSearchIndexNodeContext,IndexCompositeNode<ElasticsearchSearchIndexScope<?>,ElasticsearchIndexCompositeNodeType,ElasticsearchIndexField>,IndexNode<ElasticsearchSearchIndexScope<?>>,IndexCompositeElementDescriptor,SearchIndexCompositeNodeContext<ElasticsearchSearchIndexScope<?>>,SearchIndexNodeContext<ElasticsearchSearchIndexScope<?>>,EventContextProvider
public final class ElasticsearchIndexRoot extends AbstractIndexRoot<ElasticsearchIndexRoot,ElasticsearchSearchIndexScope<?>,ElasticsearchIndexCompositeNodeType,ElasticsearchIndexField> implements ElasticsearchIndexCompositeNode
-
-
Field Summary
-
Fields inherited from class org.hibernate.search.engine.backend.document.model.spi.AbstractIndexNode
type
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchIndexRoot(ElasticsearchIndexCompositeNodeType type, Map<String,ElasticsearchIndexField> notYetInitializedStaticChildren)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ElasticsearchIndexRootself()ElasticsearchIndexObjectFieldtoObjectField()ElasticsearchIndexValueField<?>toValueField()-
Methods inherited from class org.hibernate.search.engine.backend.document.model.spi.AbstractIndexRoot
absolutePath, absolutePath, absolutePathComponents, closestMultiValuedParentAbsolutePath, inclusion, isComposite, isObjectField, isRoot, isValueField, multiValued, multiValuedInRoot, nestedPathHierarchy, relativeEventContext, staticChildrenByName, toComposite, toString
-
Methods inherited from class org.hibernate.search.engine.backend.document.model.spi.AbstractIndexNode
cannotUseQueryElement, eventContext, queryElement, type
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.search.backend.elasticsearch.document.model.impl.ElasticsearchIndexNode
toComposite
-
Methods inherited from interface org.hibernate.search.backend.elasticsearch.search.common.impl.ElasticsearchSearchIndexCompositeNodeContext
staticChildrenByName, type
-
Methods inherited from interface org.hibernate.search.backend.elasticsearch.search.common.impl.ElasticsearchSearchIndexNodeContext
toComposite
-
Methods inherited from interface org.hibernate.search.util.common.reporting.spi.EventContextProvider
eventContext
-
Methods inherited from interface org.hibernate.search.engine.backend.metamodel.IndexCompositeElementDescriptor
isObjectField, isRoot
-
Methods inherited from interface org.hibernate.search.engine.backend.document.model.spi.IndexCompositeNode
staticChildren, staticChildrenByName, type
-
Methods inherited from interface org.hibernate.search.engine.backend.document.model.spi.IndexNode
inclusion
-
Methods inherited from interface org.hibernate.search.engine.search.common.spi.SearchIndexCompositeNodeContext
absolutePath
-
Methods inherited from interface org.hibernate.search.engine.search.common.spi.SearchIndexNodeContext
absolutePath, absolutePathComponents, cannotUseQueryElement, closestMultiValuedParentAbsolutePath, isComposite, isObjectField, isValueField, multiValued, multiValuedInRoot, nestedDocumentPath, nestedPathHierarchy, queryElement, relativeEventContext
-
-
-
-
Constructor Detail
-
ElasticsearchIndexRoot
public ElasticsearchIndexRoot(ElasticsearchIndexCompositeNodeType type, Map<String,ElasticsearchIndexField> notYetInitializedStaticChildren)
-
-
Method Detail
-
self
protected ElasticsearchIndexRoot self()
- Specified by:
selfin classAbstractIndexNode<ElasticsearchIndexRoot,ElasticsearchSearchIndexScope<?>,ElasticsearchIndexCompositeNodeType>
-
toObjectField
public ElasticsearchIndexObjectField toObjectField()
- Specified by:
toObjectFieldin interfaceElasticsearchIndexNode- Specified by:
toObjectFieldin interfaceElasticsearchSearchIndexNodeContext- Specified by:
toObjectFieldin interfaceIndexCompositeElementDescriptor- Specified by:
toObjectFieldin interfaceIndexNode<ElasticsearchSearchIndexScope<?>>- Specified by:
toObjectFieldin interfaceSearchIndexNodeContext<ElasticsearchSearchIndexScope<?>>- Overrides:
toObjectFieldin classAbstractIndexRoot<ElasticsearchIndexRoot,ElasticsearchSearchIndexScope<?>,ElasticsearchIndexCompositeNodeType,ElasticsearchIndexField>- Returns:
- This element as an
IndexObjectFieldDescriptor, if possible. Nevernull.
-
toValueField
public ElasticsearchIndexValueField<?> toValueField()
- Specified by:
toValueFieldin interfaceElasticsearchIndexNode- Specified by:
toValueFieldin interfaceElasticsearchSearchIndexNodeContext- Specified by:
toValueFieldin interfaceIndexNode<ElasticsearchSearchIndexScope<?>>- Specified by:
toValueFieldin interfaceSearchIndexNodeContext<ElasticsearchSearchIndexScope<?>>
-
-