com.atlassian.confluence.search.v2.lucene.mapper
Class DefaultSortMapper

java.lang.Object
  extended by com.atlassian.confluence.search.v2.lucene.mapper.DefaultSortMapper
All Implemented Interfaces:
LuceneSortMapper

public class DefaultSortMapper
extends Object
implements LuceneSortMapper


Constructor Summary
DefaultSortMapper(String columnName, String type)
           
 
Method Summary
 org.apache.lucene.search.Sort convertToLuceneSort(SearchSort searchSort)
          Converts a search sort into a lucene sort.
 String getSortFieldName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSortMapper

public DefaultSortMapper(String columnName,
                         String type)
Method Detail

convertToLuceneSort

public org.apache.lucene.search.Sort convertToLuceneSort(SearchSort searchSort)
Converts a search sort into a lucene sort.

Specified by:
convertToLuceneSort in interface LuceneSortMapper

getSortFieldName

public String getSortFieldName()


Copyright © 2003-2012 Atlassian. All Rights Reserved.