org.elasticsearch.index.query
Class SpanFirstQueryBuilder

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

public class SpanFirstQueryBuilder
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
SpanFirstQueryBuilder(SpanQueryBuilder matchBuilder, int end)
           
 
Method Summary
 SpanFirstQueryBuilder boost(float boost)
           
protected  void doXContent(XContentBuilder builder, ToXContent.Params params)
           
 
Methods inherited from class org.elasticsearch.index.query.BaseQueryBuilder
buildAsBytes, buildAsBytes, buildAsUnsafeBytes, buildAsUnsafeBytes, toString, toXContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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

SpanFirstQueryBuilder

public SpanFirstQueryBuilder(SpanQueryBuilder matchBuilder,
                             int end)
Method Detail

boost

public SpanFirstQueryBuilder 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