public class Ordering extends Object
Ordering implements a single ordering specification.| Modifier and Type | Method and Description |
|---|---|
static Ordering |
fromQOM(OrderingImpl ordering,
SharedFieldComparatorSource scs,
NamespaceMappings nsMappings)
Creates an ordering from a JCR QOM ordering.
|
Name |
getSelectorName() |
org.apache.lucene.search.SortField |
getSortField() |
public Name getSelectorName()
public org.apache.lucene.search.SortField getSortField()
public static Ordering fromQOM(OrderingImpl ordering, SharedFieldComparatorSource scs, NamespaceMappings nsMappings) throws RepositoryException
ordering - the JCR QOM ordering specification.scs - the sort comparator source from the search index.nsMappings - the index internal namespace mappings.RepositoryException - if an error occurs while translating the JCR
QOM ordering.Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.