Class LongScriptFieldExistsQuery

org.apache.lucene.search.Query
org.elasticsearch.search.runtime.AbstractScriptFieldQuery<AbstractLongFieldScript>
org.elasticsearch.search.runtime.LongScriptFieldExistsQuery

public class LongScriptFieldExistsQuery extends AbstractScriptFieldQuery<AbstractLongFieldScript>
  • Field Summary

    Fields inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery

    MATCH_COST
  • Constructor Summary

    Constructors
    Constructor
    Description
    LongScriptFieldExistsQuery​(Script script, <org.apache.lucene.index.LeafReaderContext,​AbstractLongFieldScript> leafFactory,  fieldName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    matches​(long[] values, int count)
    Does the value match this query?
    protected boolean
    matches​(AbstractLongFieldScript scriptContext, int docId)
     
     field)
     
    void
    visit​(org.apache.lucene.search.QueryVisitor visitor)
     

    Methods inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery

    createWeight, equals, hashCode

    Methods inherited from class org.apache.lucene.search.Query

    classHash, rewrite, sameClassAs, toString

    Methods inherited from class java.lang.

    , , , , , , ,
  • Constructor Details

    • LongScriptFieldExistsQuery

      public LongScriptFieldExistsQuery(Script script, <org.apache.lucene.index.LeafReaderContext,​AbstractLongFieldScript> leafFactory,  fieldName)
  • Method Details

    • matches

      protected boolean matches(long[] values, int count)
      Does the value match this query?
    • toString

      public final  toString( field)
      Specified by:
      toString in class org.apache.lucene.search.Query
    • matches

      protected boolean matches(AbstractLongFieldScript scriptContext, int docId)
      Specified by:
      matches in class AbstractScriptFieldQuery<AbstractLongFieldScript>
    • visit

      public final void visit(org.apache.lucene.search.QueryVisitor visitor)
      Overrides:
      visit in class org.apache.lucene.search.Query