Package uk.gov.gchq.gaffer.mapstore.impl
Class GetElementsUtil
- java.lang.Object
-
- uk.gov.gchq.gaffer.mapstore.impl.GetElementsUtil
-
public final class GetElementsUtil extends Object
Utility methods used by the handlers for theGetElements
operations in theMapStore
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stream<Element>
applyDirectedTypeFilter(Stream<Element> elements, boolean includeEdges, DirectedType directedType)
static Stream<Element>
applyView(Stream<Element> elementStream, Schema schema, View view)
static Stream<Element>
applyView(Stream<Element> elementStream, Schema schema, View view, boolean includeMatchedVertex)
static Stream<Element>
applyVisibilityFilter(Stream<Element> elements, Schema schema, User user)
static Set<Element>
getRelevantElements(MapImpl mapImpl, ElementId elementId, View view, DirectedType directedType, SeededGraphFilters.IncludeIncomingOutgoingType inOutType)
-
-
-
Method Detail
-
getRelevantElements
public static Set<Element> getRelevantElements(MapImpl mapImpl, ElementId elementId, View view, DirectedType directedType, SeededGraphFilters.IncludeIncomingOutgoingType inOutType)
-
applyVisibilityFilter
public static Stream<Element> applyVisibilityFilter(Stream<Element> elements, Schema schema, User user)
-
applyDirectedTypeFilter
public static Stream<Element> applyDirectedTypeFilter(Stream<Element> elements, boolean includeEdges, DirectedType directedType)
-
applyView
public static Stream<Element> applyView(Stream<Element> elementStream, Schema schema, View view)
-
-