@Override protected List<Range> getRange(final Object sourceVal, final Object destVal, final DirectedType directed, final GraphFilters operation, final IncludeIncomingOutgoingType inOutType) throws RangeFactoryException { // To do EITHER we need to create 2 ranges if (DirectedType.isEither(directed)) { return Arrays.asList( new Range(getKeyFromEdgeId(sourceVal, destVal, false, false), true, getKeyFromEdgeId(sourceVal, destVal, false, true), true), new Range(getKeyFromEdgeId(sourceVal, destVal, true, false), true, getKeyFromEdgeId(sourceVal, destVal, true, true), true) ); } return Collections.singletonList( new Range(getKeyFromEdgeId(sourceVal, destVal, directed.isDirected(), false), true, getKeyFromEdgeId(sourceVal, destVal, directed.isDirected(), true), true) ); }
if (DirectedType.isEither(edgeId.getDirectedType())) { relevantElements.addAll(mapImpl.lookup(new EdgeSeed(edgeId.getSource(), edgeId.getDestination(), false))); relevantElements.addAll(mapImpl.lookup(new EdgeSeed(edgeId.getSource(), edgeId.getDestination(), true)));
final boolean endKey) throws RangeFactoryException { final byte directionFlag1; if (DirectedType.isEither(directed)) {
&& (DirectedType.isEither(directedType)) && !deduplicateUndirectedEdges) { LOGGER.debug("Returning null from getEdgeEntityDirectionFilterIteratorSetting ("
&& DirectedType.isEither(directedType) && (null == inOutType || inOutType == SeededGraphFilters.IncludeIncomingOutgoingType.EITHER) && includeEntities && !deduplicateUndirectedEdges) {