Package org.elasticsearch.search.runtime
Class LongScriptFieldTermQuery
java.lang.Object
org.apache.lucene.search.Query
org.elasticsearch.search.runtime.AbstractScriptFieldQuery<AbstractLongFieldScript>
org.elasticsearch.search.runtime.LongScriptFieldTermQuery
- 
Field SummaryFields inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQueryMATCH_COST
- 
Constructor SummaryConstructorsConstructorDescriptionLongScriptFieldTermQuery(Script script, Function<org.apache.lucene.index.LeafReaderContext,AbstractLongFieldScript> leafFactory, String fieldName, long term)
- 
Method SummaryModifier and TypeMethodDescriptionbooleaninthashCode()protected booleanmatches(long[] values, int count)Does the value match this query?protected booleanmatches(AbstractLongFieldScript scriptContext, int docId)voidvisit(org.apache.lucene.search.QueryVisitor visitor)Methods inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuerycreateWeightMethods inherited from class org.apache.lucene.search.QueryclassHash, rewrite, sameClassAs, toString
- 
Constructor Details- 
LongScriptFieldTermQuerypublic LongScriptFieldTermQuery(Script script, Function<org.apache.lucene.index.LeafReaderContext,AbstractLongFieldScript> leafFactory, String fieldName, long term)
 
- 
- 
Method Details- 
matchesprotected boolean matches(long[] values, int count)Does the value match this query?
- 
toString- Specified by:
- toStringin class- org.apache.lucene.search.Query
 
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- AbstractScriptFieldQuery<AbstractLongFieldScript>
 
- 
equals- Overrides:
- equalsin class- AbstractScriptFieldQuery<AbstractLongFieldScript>
 
- 
matches- Specified by:
- matchesin class- AbstractScriptFieldQuery<AbstractLongFieldScript>
 
- 
visitpublic final void visit(org.apache.lucene.search.QueryVisitor visitor)- Overrides:
- visitin class- org.apache.lucene.search.Query
 
 
-