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
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CompositeProjectionDefinition<T>protected final String -
Method Summary
Methods inherited from class org.hibernate.search.engine.search.projection.definition.spi.AbstractProjectionDefinition
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.search.engine.search.projection.definition.ProjectionDefinition
createMethods inherited from interface org.hibernate.search.util.common.spi.ToStringTreeAppendable
toStringTree
-
Field Details
-
fieldPath
-
delegate
-
-
Method Details
-
type
- Specified by:
typein classAbstractProjectionDefinition<P>
-
appendTo
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() -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-