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
Nested Classes Modifier and Type Class Description static classFieldProjectionDefinition.MultiValued<F>static classFieldProjectionDefinition.SingleValued<F>
-
Field Summary
Fields Modifier and Type Field Description protected StringfieldPathprotected Class<F>fieldTypeprotected ValueConvertvalueConvert
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidappendTo(ToStringTreeAppender appender)Appends information aboutthisto the givenappender.protected abstract booleanmulti()protected Stringtype()-
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 Detail
-
fieldPath
protected final String fieldPath
-
valueConvert
protected final ValueConvert valueConvert
-
-
Method Detail
-
type
protected String type()
- Specified by:
typein classAbstractProjectionDefinition<P>
-
appendTo
public void appendTo(ToStringTreeAppender appender)
Description copied from interface:ToStringTreeAppendableAppends information aboutthisto the givenappender.WARNING: This generally shouldn't be called directly, as
ToStringTreeAppenderwill automatically call this method forToStringTreeAppendablevalues passed toToStringTreeAppender.attribute(String, Object)/ToStringTreeAppender.value(Object).Implementations should assume that calls to
ToStringTreeAppender.startObject()/ToStringTreeAppender.endObject()forthisare handled by the caller.- Specified by:
appendToin interfaceToStringTreeAppendable- Overrides:
appendToin classAbstractProjectionDefinition<P>- Parameters:
appender- AToStringTreeAppender.
-
multi
protected abstract boolean multi()
-
-