Class AbstractIndexCompositeNodeType<SC extends SearchIndexScope<?>,N extends SearchIndexCompositeNodeContext<SC>>
- java.lang.Object
-
- org.hibernate.search.engine.backend.types.spi.AbstractIndexCompositeNodeType<SC,N>
-
- All Implemented Interfaces:
IndexObjectFieldTypeDescriptor
,SearchIndexCompositeNodeTypeContext<SC,N>
,SearchIndexNodeTypeContext<SC,N>
public abstract class AbstractIndexCompositeNodeType<SC extends SearchIndexScope<?>,N extends SearchIndexCompositeNodeContext<SC>> extends Object implements IndexObjectFieldTypeDescriptor, SearchIndexCompositeNodeTypeContext<SC,N>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractIndexCompositeNodeType.Builder<SC extends SearchIndexScope<?>,N extends SearchIndexCompositeNodeContext<SC>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractIndexCompositeNodeType(AbstractIndexCompositeNodeType.Builder<SC,N> builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
nested()
<T> SearchQueryElementFactory<? extends T,? super SC,? super N>
queryElementFactory(SearchQueryElementTypeKey<T> key)
String
toString()
-
-
-
Constructor Detail
-
AbstractIndexCompositeNodeType
protected AbstractIndexCompositeNodeType(AbstractIndexCompositeNodeType.Builder<SC,N> builder)
-
-
Method Detail
-
nested
public boolean nested()
- Specified by:
nested
in interfaceIndexObjectFieldTypeDescriptor
- Specified by:
nested
in interfaceSearchIndexCompositeNodeTypeContext<SC extends SearchIndexScope<?>,N extends SearchIndexCompositeNodeContext<SC>>
- Returns:
true
if this object field is represented internally as a nested document, enabling features such as thenested predicate
.
-
queryElementFactory
public final <T> SearchQueryElementFactory<? extends T,? super SC,? super N> queryElementFactory(SearchQueryElementTypeKey<T> key)
- Specified by:
queryElementFactory
in interfaceSearchIndexNodeTypeContext<SC extends SearchIndexScope<?>,N extends SearchIndexCompositeNodeContext<SC>>
-
-