public interface SearchProjectionBuilderFactory
This is the main entry point for the engine to ask the backend to build search projections.
DocumentReferenceProjectionBuilder documentReference()
<T> FieldProjectionBuilder<T> field(String absoluteFieldPath, Class<T> clazz, ValueConvert convert)
<E> EntityProjectionBuilder<E> entity()
<R> EntityReferenceProjectionBuilder<R> entityReference()
ScoreProjectionBuilder score()
DistanceToFieldProjectionBuilder distance(String absoluteFieldPath, GeoPoint center)
<P> CompositeProjectionBuilder<P> composite(Function<List<?>,P> transformer, SearchProjection<?>... projections)
<P1,P> CompositeProjectionBuilder<P> composite(Function<P1,P> transformer, SearchProjection<P1> projection)
<P1,P2,P> CompositeProjectionBuilder<P> composite(BiFunction<P1,P2,P> transformer, SearchProjection<P1> projection1, SearchProjection<P2> projection2)
<P1,P2,P3,P> CompositeProjectionBuilder<P> composite(TriFunction<P1,P2,P3,P> transformer, SearchProjection<P1> projection1, SearchProjection<P2> projection2, SearchProjection<P3> projection3)
Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.