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

java.lang.Object
  extended by org.hibernate.search.query.dsl.v2.impl.ConnectedQueryBuilder
All Implemented Interfaces:
QueryBuilder

public class ConnectedQueryBuilder
extends java.lang.Object
implements QueryBuilder

Assuming connection with the search factory

Author:
Emmanuel Bernard

Constructor Summary
ConnectedQueryBuilder(org.apache.lucene.analysis.Analyzer queryAnalyzer, SearchFactory factory)
           
 
Method Summary
 BooleanJunction bool()
          Boolean query
 TermContext term()
          build a term query
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectedQueryBuilder

public ConnectedQueryBuilder(org.apache.lucene.analysis.Analyzer queryAnalyzer,
                             SearchFactory factory)
Method Detail

term

public TermContext term()
Description copied from interface: QueryBuilder
build a term query

Specified by:
term in interface QueryBuilder

bool

public BooleanJunction bool()
Description copied from interface: QueryBuilder
Boolean query

Specified by:
bool in interface QueryBuilder


Copyright © 2006-2010 Hibernate. All Rights Reserved.