Skip to content

Commit

Permalink
added a view
Browse files Browse the repository at this point in the history
  • Loading branch information
cn337131 committed May 23, 2024
1 parent 289cea4 commit 33bbb1c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.slf4j.LoggerFactory;

import uk.gov.gchq.gaffer.data.element.Element;
import uk.gov.gchq.gaffer.data.elementdefinition.view.View;
import uk.gov.gchq.gaffer.operation.OperationChain;
import uk.gov.gchq.gaffer.operation.data.EntitySeed;
import uk.gov.gchq.gaffer.operation.impl.get.GetElements;
Expand Down Expand Up @@ -210,6 +211,7 @@ private Vertex getVertex(final GafferPopVertex vertex) {
OperationChain<Iterable<? extends Element>> findBasedOnID = new OperationChain.Builder()
.first(new GetElements.Builder()
.input(new EntitySeed(vertex.id()))
.view(new View.Builder().allEntities(true).build())
.build())
.build();

Expand Down

0 comments on commit 33bbb1c

Please sign in to comment.