public static < S extends Storable > CompositeScore < S > evaluate ( OrderedProperty < S > [ ] indexProperties , boolean unique , boolean clustered , Filter < S > filter , OrderingList < S > ordering ) { FilteringScore < S > filteringScore = FilteringScore . evaluate ( indexProperties , unique , clustered , filter ) ; OrderingScore < S > orderingScore = OrderingScore . evaluate ( indexProperties , unique , clustered , filter , ordering ) ; return new CompositeScore < S > ( filteringScore , orderingScore ) ; }
Evaluates the given index properties for its filtering and ordering capabilities against the given filter and order - by properties .