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 Summary
Fields inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery
MATCH_COST - 
Constructor Summary
ConstructorsConstructorDescriptionLongScriptFieldTermQuery(Script script, Function<org.apache.lucene.index.LeafReaderContext,AbstractLongFieldScript> leafFactory, String fieldName, long term) - 
Method Summary
Modifier 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.AbstractScriptFieldQuery
createWeightMethods inherited from class org.apache.lucene.search.Query
classHash, rewrite, sameClassAs, toString 
- 
Constructor Details
- 
LongScriptFieldTermQuery
public LongScriptFieldTermQuery(Script script, Function<org.apache.lucene.index.LeafReaderContext,AbstractLongFieldScript> leafFactory, String fieldName, long term) 
 - 
 - 
Method Details
- 
matches
protected boolean matches(long[] values, int count)Does the value match this query? - 
toString
- Specified by:
 toStringin classorg.apache.lucene.search.Query
 - 
hashCode
public int hashCode()- Overrides:
 hashCodein classAbstractScriptFieldQuery<AbstractLongFieldScript>
 - 
equals
- Overrides:
 equalsin classAbstractScriptFieldQuery<AbstractLongFieldScript>
 - 
matches
- Specified by:
 matchesin classAbstractScriptFieldQuery<AbstractLongFieldScript>
 - 
visit
public final void visit(org.apache.lucene.search.QueryVisitor visitor)- Overrides:
 visitin classorg.apache.lucene.search.Query
 
 -