Class ObjectProjectionDefinition<P,T>
java.lang.Object
org.hibernate.search.engine.search.projection.definition.spi.AbstractProjectionDefinition<P>
org.hibernate.search.engine.search.projection.definition.spi.ObjectProjectionDefinition<P,T>
- All Implemented Interfaces:
AutoCloseable
,ProjectionDefinition<P>
,ToStringTreeAppendable
- Direct Known Subclasses:
ObjectProjectionDefinition.MultiValued
,ObjectProjectionDefinition.SingleValued
@Incubating
public abstract class ObjectProjectionDefinition<P,T>
extends AbstractProjectionDefinition<P>
implements AutoCloseable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Field Summary
Modifier and TypeFieldDescriptionprotected final CompositeProjectionDefinition<T>
protected final String
-
Method Summary
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
-
delegate
-
-
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() -
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-