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, ObjectProjectionDefinition.WrappedValued
@Incubating
public abstract class ObjectProjectionDefinition<P,T>
extends AbstractProjectionDefinition<P>
implements AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDeprecated.static final classDeprecated.static final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final CompositeProjectionDefinition<T> protected final String -
Method Summary
Methods inherited from class AbstractProjectionDefinition
toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ProjectionDefinition
create, createMethods inherited from interface 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
-