public class ListProjector extends Projector
| Constructor and Description |
|---|
ListProjector(ProjectionList l,
Path ctxPath,
FieldTreeNode ctx) |
| Modifier and Type | Method and Description |
|---|---|
List<Projector> |
getItems() |
Projector |
getNestedProjector()
Returns the nested projector for this path *only if*
project
returns true. |
Projection.Inclusion |
project(Path p,
QueryEvaluationContext ctx)
Evaluate the list of projections backwards, so the first projection that
decides about the inclusion of the field is the last projection specified
in the list.
|
getInstance, getInstance, projectpublic ListProjector(ProjectionList l, Path ctxPath, FieldTreeNode ctx)
public Projector getNestedProjector()
Projectorproject
returns true. Nested projector is used to project array elements. When a
nested projector exists, projection operation should use the nested
projector to project array elements. May return null, which means to
continue using existing projector (this).getNestedProjector in class Projectorpublic Projection.Inclusion project(Path p, QueryEvaluationContext ctx)
Copyright © 2016. All rights reserved.