org.elasticsearch.index.query
Class SpanOrQueryBuilder

java.lang.Object
  extended by org.elasticsearch.index.query.BaseQueryBuilder
      extended by org.elasticsearch.index.query.SpanOrQueryBuilder
All Implemented Interfaces:
ToXContent, QueryBuilder, SpanQueryBuilder

public class SpanOrQueryBuilder
extends BaseQueryBuilder
implements SpanQueryBuilder


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.MapParams, ToXContent.Params
 
Field Summary
 
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
 
Constructor Summary
SpanOrQueryBuilder()
           
 
Method Summary
 SpanOrQueryBuilder boost(float boost)
           
 SpanOrQueryBuilder clause(SpanQueryBuilder clause)
           
protected  void doXContent(XContentBuilder builder, ToXContent.Params params)
           
 
Methods inherited from class org.elasticsearch.index.query.BaseQueryBuilder
buildAsBytes, buildAsBytes, buildAsUnsafeBytes, buildAsUnsafeBytes, toXContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.elasticsearch.index.query.QueryBuilder
buildAsBytes, buildAsBytes, buildAsUnsafeBytes, buildAsUnsafeBytes
 
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContent
toXContent
 

Constructor Detail

SpanOrQueryBuilder

public SpanOrQueryBuilder()
Method Detail

clause

public SpanOrQueryBuilder clause(SpanQueryBuilder clause)

boost

public SpanOrQueryBuilder boost(float boost)

doXContent

protected void doXContent(XContentBuilder builder,
                          ToXContent.Params params)
                   throws java.io.IOException
Specified by:
doXContent in class BaseQueryBuilder
Throws:
java.io.IOException