Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.search.query.dsl
Class BooleanContext

    java.lang.Object
      org.hibernate.search.query.dsl.BooleanContext

    public class BooleanContext

extends java.lang.Object

Class that allows users to create BooleanQueries.

Author:
  Navin Surtani

Constructor Summary
`BooleanContext(org.apache.lucene.search.BooleanClause.Occur occur)`

Method Summary
`BooleanContext` | `add(org.apache.lucene.search.Query clause)`
`org.apache.lucene.search.Query` | `createQuery()`
`protected org.apache.lucene.search.BooleanClause.Occur` | `getOccur()`
`protected void` | `setOccur(org.apache.lucene.search.BooleanClause.Occur occur)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### BooleanContext

    public BooleanContext(org.apache.lucene.search.BooleanClause.Occur occur)

Method Detail

### add

    public BooleanContext add(org.apache.lucene.search.Query clause)

### createQuery

    public org.apache.lucene.search.Query createQuery()

### setOccur

    protected void setOccur(org.apache.lucene.search.BooleanClause.Occur occur)

### getOccur

    protected org.apache.lucene.search.BooleanClause.Occur getOccur()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2010 Hibernate. All Rights Reserved.