org.compass.core
Interface CompassQueryBuilder.CompassQuerySpanOrBuilder

All Known Implementing Classes:
DefaultCompassQueryBuilder.DefaultCompassQuerySpanOrBuilder
Enclosing interface:
CompassQueryBuilder

public static interface CompassQueryBuilder.CompassQuerySpanOrBuilder

Creates a span or query builder.

Author:
kimchy

Method Summary
 CompassQueryBuilder.CompassQuerySpanOrBuilder add(CompassQuery.CompassSpanQuery query)
          Adds a span query which is or'ed with the rest of the added span queries.
 CompassQuery.CompassSpanQuery toQuery()
          Returns the generated span or query.
 

Method Detail

add

CompassQueryBuilder.CompassQuerySpanOrBuilder add(CompassQuery.CompassSpanQuery query)
Adds a span query which is or'ed with the rest of the added span queries.


toQuery

CompassQuery.CompassSpanQuery toQuery()
Returns the generated span or query.



Copyright (c) 2004-2008 The Compass Project.