com.mysema.query.search
Class SearchSerializer

java.lang.Object
  extended by com.mysema.query.lucene.LuceneSerializer
      extended by com.mysema.query.search.SearchSerializer

public class SearchSerializer
extends LuceneSerializer

SearchSerializer extends the LuceneSerializer to use Field annotation data from paths

Author:
tiwe

Field Summary
static SearchSerializer DEFAULT
           
 
Constructor Summary
SearchSerializer(boolean lowerCase, boolean splitTerms)
           
 
Method Summary
 String toField(Path<?> path)
          template method, override to customize
 
Methods inherited from class com.mysema.query.lucene.LuceneSerializer
between, convert, convert, endsWith, eq, eq, ge, gt, in, le, like, lt, ne, numericRange, range, startsWith, stringContains, stringRange, toQuery, toSort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final SearchSerializer DEFAULT
Constructor Detail

SearchSerializer

public SearchSerializer(boolean lowerCase,
                        boolean splitTerms)
Method Detail

toField

public String toField(Path<?> path)
Description copied from class: LuceneSerializer
template method, override to customize

Overrides:
toField in class LuceneSerializer
Returns:


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