Class AbstractIndexValueField<S extends AbstractIndexValueField<S,SC,FT,C,F> , SC extends SearchIndexScope<?>, FT extends AbstractIndexValueFieldType<SC, ? super S, F>, C extends IndexCompositeNode<SC,?,?> , F>
java.lang.Object
org.hibernate.search.engine.backend.document.model.spi.AbstractIndexNode<S,SC,FT>
org.hibernate.search.engine.backend.document.model.spi.AbstractIndexField<S,SC,FT,C>
org.hibernate.search.engine.backend.document.model.spi.AbstractIndexValueField<S,SC,FT,C,F>
- All Implemented Interfaces:
IndexField<SC,C>, IndexNode<SC>, IndexValueField<SC, FT, C>, IndexFieldDescriptor, IndexValueFieldDescriptor, SearchIndexNodeContext<SC>, SearchIndexValueFieldContext<SC>, org.hibernate.search.util.common.reporting.spi.EventContextProvider
public abstract class AbstractIndexValueField<S extends AbstractIndexValueField<S,SC,FT,C,F>, SC extends SearchIndexScope<?>, FT extends AbstractIndexValueFieldType<SC, ? super S, F>, C extends IndexCompositeNode<SC,?,?>, F>
extends AbstractIndexField<S,SC,FT,C>
implements IndexValueField<SC,FT,C>, SearchIndexValueFieldContext<SC>
-
Field Summary
Fields inherited from class AbstractIndexField
absolutePath, absolutePathComponents, inclusion, multiValued, parent, relativeNameFields inherited from class AbstractIndexNode
type -
Constructor Summary
ConstructorsConstructorDescriptionAbstractIndexValueField(C parent, String relativeFieldName, FT type, TreeNodeInclusion inclusion, boolean multiValued) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanfinal booleanfinal booleanfinal CIndexObjectField<SC, ?, C, ?> final SMethods inherited from class AbstractIndexField
absolutePath, absolutePathComponents, closestMultiValuedParentAbsolutePath, inclusion, multiValued, multiValuedInRoot, parent, relativeEventContext, relativeName, toStringMethods inherited from class AbstractIndexNode
cannotUseQueryElement, eventContext, queryElement, self, typeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.search.util.common.reporting.spi.EventContextProvider
eventContextMethods inherited from interface IndexField
parentMethods inherited from interface IndexFieldDescriptor
absolutePath, multiValued, multiValuedInRoot, relativeNameMethods inherited from interface IndexValueField
typeMethods inherited from interface SearchIndexNodeContext
absolutePath, absolutePathComponents, cannotUseQueryElement, closestMultiValuedParentAbsolutePath, multiValued, multiValuedInRoot, nestedDocumentPath, queryElement, relativeEventContextMethods inherited from interface SearchIndexValueFieldContext
type
-
Constructor Details
-
AbstractIndexValueField
public AbstractIndexValueField(C parent, String relativeFieldName, FT type, TreeNodeInclusion inclusion, boolean multiValued)
-
-
Method Details
-
isComposite
public final boolean isComposite()- Specified by:
isCompositein interfaceSearchIndexNodeContext<S extends AbstractIndexValueField<S,SC, FT, C, F>>
-
isObjectField
public final boolean isObjectField()- Specified by:
isObjectFieldin interfaceIndexFieldDescriptor- Specified by:
isObjectFieldin interfaceSearchIndexNodeContext<S extends AbstractIndexValueField<S,SC, FT, C, F>> - Returns:
trueif this field is an object field. In that case,IndexFieldDescriptor.toObjectField()can be called safely (it won't throw an exception).
-
isValueField
public final boolean isValueField()- Specified by:
isValueFieldin interfaceIndexFieldDescriptor- Specified by:
isValueFieldin interfaceSearchIndexNodeContext<S extends AbstractIndexValueField<S,SC, FT, C, F>> - Returns:
trueif this field is a value field. In that case,IndexFieldDescriptor.toValueField()can be called safely (it won't throw an exception).
-
toComposite
- Specified by:
toCompositein interfaceIndexField<S extends AbstractIndexValueField<S,SC, FT, C, F>, SC extends SearchIndexScope<?>> - Specified by:
toCompositein interfaceIndexNode<S extends AbstractIndexValueField<S,SC, FT, C, F>> - Specified by:
toCompositein interfaceSearchIndexNodeContext<S extends AbstractIndexValueField<S,SC, FT, C, F>>
-
toObjectField
- Specified by:
toObjectFieldin interfaceIndexField<S extends AbstractIndexValueField<S,SC, FT, C, F>, SC extends SearchIndexScope<?>> - Specified by:
toObjectFieldin interfaceIndexFieldDescriptor- Specified by:
toObjectFieldin interfaceIndexNode<S extends AbstractIndexValueField<S,SC, FT, C, F>> - Specified by:
toObjectFieldin interfaceSearchIndexNodeContext<S extends AbstractIndexValueField<S,SC, FT, C, F>> - Returns:
- This field as an
IndexObjectFieldDescriptor, if possible. Nevernull.
-
toValueField
- Specified by:
toValueFieldin interfaceIndexField<S extends AbstractIndexValueField<S,SC, FT, C, F>, SC extends SearchIndexScope<?>> - Specified by:
toValueFieldin interfaceIndexFieldDescriptor- Specified by:
toValueFieldin interfaceIndexNode<S extends AbstractIndexValueField<S,SC, FT, C, F>> - Specified by:
toValueFieldin interfaceSearchIndexNodeContext<S extends AbstractIndexValueField<S,SC, FT, C, F>> - Returns:
- This field as an
IndexValueFieldDescriptor, if possible. Nevernull.
-
nestedPathHierarchy
- Specified by:
nestedPathHierarchyin interfaceSearchIndexNodeContext<S extends AbstractIndexValueField<S,SC, FT, C, F>>
-