Class FieldProjectionDefinition<P,F>
java.lang.Object
org.hibernate.search.engine.search.projection.definition.spi.AbstractProjectionDefinition<P>
org.hibernate.search.engine.search.projection.definition.spi.FieldProjectionDefinition<P,F>
- All Implemented Interfaces:
ProjectionDefinition<P>
,ToStringTreeAppendable
- Direct Known Subclasses:
FieldProjectionDefinition.MultiValued
,FieldProjectionDefinition.SingleValued
@Incubating
public abstract class FieldProjectionDefinition<P,F>
extends AbstractProjectionDefinition<P>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendTo
(ToStringTreeAppender appender) Appends information aboutthis
to the givenappender
.protected abstract boolean
multi()
protected String
type()
Methods inherited from class org.hibernate.search.engine.search.projection.definition.spi.AbstractProjectionDefinition
toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hibernate.search.engine.search.projection.definition.ProjectionDefinition
create
Methods inherited from interface org.hibernate.search.util.common.spi.ToStringTreeAppendable
toStringTree
-
Field Details
-
fieldPath
-
fieldType
-
valueConvert
-
-
Method Details
-
type
- Specified by:
type
in classAbstractProjectionDefinition<P>
-
appendTo
Description copied from interface:ToStringTreeAppendable
Appends information aboutthis
to the givenappender
.WARNING: This generally shouldn't be called directly, as
ToStringTreeAppender
will automatically call this method forToStringTreeAppendable
values passed toToStringTreeAppender.attribute(String, Object)
/ToStringTreeAppender.value(Object)
.Implementations should assume that calls to
ToStringTreeAppender.startObject()
/ToStringTreeAppender.endObject()
forthis
are handled by the caller.- Specified by:
appendTo
in interfaceToStringTreeAppendable
- Overrides:
appendTo
in classAbstractProjectionDefinition<P>
- Parameters:
appender
- AToStringTreeAppender
.
-
multi
protected abstract boolean multi()
-