org.hibernate.search.query.dsl.v2.impl
Class QueryContext

java.lang.Object
  extended by org.hibernate.search.query.dsl.v2.impl.QueryContext

public class QueryContext
extends java.lang.Object

Author:
Emmanuel Bernard

Nested Class Summary
static class QueryContext.Approximation
           
 
Constructor Summary
QueryContext(QueryContext.Approximation approximation)
           
 
Method Summary
 QueryContext.Approximation getApproximation()
           
 int getPrefixLength()
           
 float getThreshold()
           
 void setPrefixLength(int prefixLength)
           
 void setThreshold(float threshold)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryContext

public QueryContext(QueryContext.Approximation approximation)
Method Detail

setThreshold

public void setThreshold(float threshold)

setPrefixLength

public void setPrefixLength(int prefixLength)

getApproximation

public QueryContext.Approximation getApproximation()

getThreshold

public float getThreshold()

getPrefixLength

public int getPrefixLength()


Copyright © 2006-2010 Hibernate. All Rights Reserved.