Class GutmanSearchStrategy<TCoordinateArray,TPoint extends ImmutableNode<TCoordinateArray>>
java.lang.Object
org.apache.druid.collections.spatial.search.GutmanSearchStrategy<TCoordinateArray,TPoint>
- All Implemented Interfaces:
SearchStrategy<TCoordinateArray,TPoint>
public class GutmanSearchStrategy<TCoordinateArray,TPoint extends ImmutableNode<TCoordinateArray>>
extends Object
implements SearchStrategy<TCoordinateArray,TPoint>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbreadthFirstSearch(Iterable<ImmutableNode> nodes, Bound bound, int total) breadthFirstSearch(ImmutableNode node, Bound bound) depthFirstSearch(ImmutableNode node, Bound bound) search(ImmutableNode<TCoordinateArray> node, Bound<TCoordinateArray, TPoint> bound)
-
Constructor Details
-
GutmanSearchStrategy
public GutmanSearchStrategy()
-
-
Method Details
-
search
public Iterable<ImmutableBitmap> search(ImmutableNode<TCoordinateArray> node, Bound<TCoordinateArray, TPoint> bound) - Specified by:
searchin interfaceSearchStrategy<TCoordinateArray,TPoint extends ImmutableNode<TCoordinateArray>>
-
depthFirstSearch
-
breadthFirstSearch
-
breadthFirstSearch
public Iterable<ImmutableNode> breadthFirstSearch(Iterable<ImmutableNode> nodes, Bound bound, int total)
-