com.mysema.query.lucene
Class LuceneSerializer

java.lang.Object
  extended by com.mysema.query.lucene.LuceneSerializer
Direct Known Subclasses:
SearchSerializer

public class LuceneSerializer
extends Object

Serializes Querydsl queries to Lucene queries.

Author:
vema

Field Summary
static LuceneSerializer DEFAULT
           
 
Constructor Summary
protected LuceneSerializer(boolean lowerCase, boolean splitTerms)
           
 
Method Summary
 String toField(Path<?> path)
           
 org.apache.lucene.search.Query toQuery(Expr<?> expr)
           
 org.apache.lucene.search.Sort toSort(List<OrderSpecifier<?>> orderBys)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final LuceneSerializer DEFAULT
Constructor Detail

LuceneSerializer

protected LuceneSerializer(boolean lowerCase,
                           boolean splitTerms)
Method Detail

toField

public String toField(Path<?> path)

toQuery

public org.apache.lucene.search.Query toQuery(Expr<?> expr)

toSort

public org.apache.lucene.search.Sort toSort(List<OrderSpecifier<?>> orderBys)


Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.