public < T extends LogicalSegment > List < T > filterSegments ( QueryType query , List < T > segments ) { return segments ; }
This method is called to allow the query to prune segments that it does not believe need to actually be queried . It can use whatever criteria it wants in order to do the pruning it just needs to return the list of Segments it actually wants to see queried .