public class Ordering extends Object
Ordering implements a single ordering specification.| Modifier and Type | Method and Description |
|---|---|
static Ordering |
fromQOM(org.apache.jackrabbit.spi.commons.query.qom.OrderingImpl ordering,
SharedFieldComparatorSource scs,
NamespaceMappings nsMappings)
Creates an ordering from a JCR QOM ordering.
|
org.apache.jackrabbit.spi.Name |
getSelectorName() |
org.apache.lucene.search.SortField |
getSortField() |
public org.apache.jackrabbit.spi.Name getSelectorName()
public org.apache.lucene.search.SortField getSortField()
public static Ordering fromQOM(org.apache.jackrabbit.spi.commons.query.qom.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–2018 The Apache Software Foundation. All rights reserved.