com.hp.hpl.jena.graph.query
Interface TripleSorter
- All Known Implementing Classes:
- SimpleTripleSorter
public interface TripleSorter
Interface for things that can sort triples (for optimising queries).
- Author:
- kers
Field Summary |
static TripleSorter |
dontSort
A TripleSorter that does not alter the triple array at all. |
Method Summary |
Triple[] |
sort(Triple[] triples)
Sort the array triples and return the reorganised array. |
dontSort
static final TripleSorter dontSort
- A TripleSorter that does not alter the triple array at all.
sort
Triple[] sort(Triple[] triples)
- Sort the array triples and return the reorganised array. A new array may be returned
or the existing array reorganised in-place. The result array may have a different
size from the original; the requirement is just that a query using the result must
deliver the same results as one using the original. We hope, of course, that the
performance of the query is improved ...
Licenced under the Apache License, Version 2.0