Class ElasticsearchIndexObjectField
- java.lang.Object
-
- org.hibernate.search.engine.backend.document.model.spi.AbstractIndexNode<S,SC,NT>
-
- org.hibernate.search.engine.backend.document.model.spi.AbstractIndexField<S,SC,NT,C>
-
- org.hibernate.search.engine.backend.document.model.spi.AbstractIndexObjectField<ElasticsearchIndexObjectField,ElasticsearchSearchIndexScope<?>,ElasticsearchIndexCompositeNodeType,ElasticsearchIndexCompositeNode,ElasticsearchIndexField>
-
- org.hibernate.search.backend.elasticsearch.document.model.impl.ElasticsearchIndexObjectField
-
- All Implemented Interfaces:
ElasticsearchIndexCompositeNode,ElasticsearchIndexField,ElasticsearchIndexNode,ElasticsearchSearchIndexCompositeNodeContext,ElasticsearchSearchIndexNodeContext,IndexCompositeNode<ElasticsearchSearchIndexScope<?>,ElasticsearchIndexCompositeNodeType,ElasticsearchIndexField>,IndexField<ElasticsearchSearchIndexScope<?>,ElasticsearchIndexCompositeNode>,IndexNode<ElasticsearchSearchIndexScope<?>>,IndexObjectField<ElasticsearchSearchIndexScope<?>,ElasticsearchIndexCompositeNodeType,ElasticsearchIndexCompositeNode,ElasticsearchIndexField>,IndexCompositeElementDescriptor,IndexFieldDescriptor,IndexObjectFieldDescriptor,SearchIndexCompositeNodeContext<ElasticsearchSearchIndexScope<?>>,SearchIndexNodeContext<ElasticsearchSearchIndexScope<?>>,EventContextProvider
public final class ElasticsearchIndexObjectField extends AbstractIndexObjectField<ElasticsearchIndexObjectField,ElasticsearchSearchIndexScope<?>,ElasticsearchIndexCompositeNodeType,ElasticsearchIndexCompositeNode,ElasticsearchIndexField> implements ElasticsearchIndexCompositeNode, ElasticsearchIndexField
-
-
Field Summary
-
Fields inherited from class org.hibernate.search.engine.backend.document.model.spi.AbstractIndexField
absolutePath, absolutePathComponents, inclusion, multiValued, parent, relativeName
-
Fields inherited from class org.hibernate.search.engine.backend.document.model.spi.AbstractIndexNode
type
-
-
Constructor Summary
Constructors Constructor Description ElasticsearchIndexObjectField(ElasticsearchIndexCompositeNode parent, String relativeFieldName, ElasticsearchIndexCompositeNodeType type, TreeNodeInclusion inclusion, boolean multiValued, Map<String,ElasticsearchIndexField> notYetInitializedStaticChildren)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ElasticsearchIndexObjectFieldself()ElasticsearchIndexCompositeNodetoComposite()ElasticsearchIndexValueField<?>toValueField()-
Methods inherited from class org.hibernate.search.engine.backend.document.model.spi.AbstractIndexObjectField
absolutePath, isComposite, isObjectField, isRoot, isValueField, nestedPathHierarchy, staticChildrenByName, toObjectField
-
Methods inherited from class org.hibernate.search.engine.backend.document.model.spi.AbstractIndexField
absolutePath, absolutePathComponents, closestMultiValuedParentAbsolutePath, inclusion, multiValued, multiValuedInRoot, parent, relativeEventContext, relativeName, 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
toObjectField
-
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
toObjectField
-
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, toObjectField
-
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.IndexField
parent, toObjectField
-
Methods inherited from interface org.hibernate.search.engine.backend.metamodel.IndexFieldDescriptor
absolutePath, isObjectField, isValueField, multiValued, multiValuedInRoot, relativeName
-
Methods inherited from interface org.hibernate.search.engine.backend.document.model.spi.IndexNode
inclusion
-
Methods inherited from interface org.hibernate.search.engine.backend.metamodel.IndexObjectFieldDescriptor
type
-
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
-
ElasticsearchIndexObjectField
public ElasticsearchIndexObjectField(ElasticsearchIndexCompositeNode parent, String relativeFieldName, ElasticsearchIndexCompositeNodeType type, TreeNodeInclusion inclusion, boolean multiValued, Map<String,ElasticsearchIndexField> notYetInitializedStaticChildren)
-
-
Method Detail
-
self
protected ElasticsearchIndexObjectField self()
- Specified by:
selfin classAbstractIndexNode<ElasticsearchIndexObjectField,ElasticsearchSearchIndexScope<?>,ElasticsearchIndexCompositeNodeType>
-
toComposite
public ElasticsearchIndexCompositeNode toComposite()
- Specified by:
toCompositein interfaceElasticsearchIndexNode- Specified by:
toCompositein interfaceElasticsearchSearchIndexNodeContext- Specified by:
toCompositein interfaceIndexField<ElasticsearchSearchIndexScope<?>,ElasticsearchIndexCompositeNode>- Specified by:
toCompositein interfaceIndexNode<ElasticsearchSearchIndexScope<?>>- Specified by:
toCompositein interfaceSearchIndexNodeContext<ElasticsearchSearchIndexScope<?>>
-
toValueField
public ElasticsearchIndexValueField<?> toValueField()
- Specified by:
toValueFieldin interfaceElasticsearchIndexNode- Specified by:
toValueFieldin interfaceElasticsearchSearchIndexNodeContext- Specified by:
toValueFieldin interfaceIndexField<ElasticsearchSearchIndexScope<?>,ElasticsearchIndexCompositeNode>- Specified by:
toValueFieldin interfaceIndexFieldDescriptor- Specified by:
toValueFieldin interfaceIndexNode<ElasticsearchSearchIndexScope<?>>- Specified by:
toValueFieldin interfaceSearchIndexNodeContext<ElasticsearchSearchIndexScope<?>>- Overrides:
toValueFieldin classAbstractIndexObjectField<ElasticsearchIndexObjectField,ElasticsearchSearchIndexScope<?>,ElasticsearchIndexCompositeNodeType,ElasticsearchIndexCompositeNode,ElasticsearchIndexField>- Returns:
- This field as an
IndexValueFieldDescriptor, if possible. Nevernull.
-
-