Module org.elasticsearch.server
Package org.elasticsearch.search.runtime
Class LongScriptFieldExistsQuery
java.lang.Object
org.apache.lucene.search.Query
org.elasticsearch.search.runtime.AbstractScriptFieldQuery<AbstractLongFieldScript>
org.elasticsearch.search.runtime.LongScriptFieldExistsQuery
-
Field Summary
Fields inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery
MATCH_COST -
Constructor Summary
ConstructorsConstructorDescriptionLongScriptFieldExistsQuery(Script script, Function<org.apache.lucene.index.LeafReaderContext, AbstractLongFieldScript> leafFactory, String fieldName) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanmatches(long[] values, int count) Does the value match this query?protected final booleanmatches(AbstractLongFieldScript scriptContext, int docId) final Stringfinal voidvisit(org.apache.lucene.search.QueryVisitor visitor) Methods inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery
createTwoPhaseIterator, createWeight, equals, fieldName, hashCode, scriptMethods inherited from class org.apache.lucene.search.Query
classHash, rewrite, rewrite, sameClassAs, toString
-
Constructor Details
-
LongScriptFieldExistsQuery
public LongScriptFieldExistsQuery(Script script, Function<org.apache.lucene.index.LeafReaderContext, AbstractLongFieldScript> leafFactory, String fieldName)
-
-
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
-
matches
- Specified by:
matchesin classAbstractScriptFieldQuery<AbstractLongFieldScript>
-
visit
public final void visit(org.apache.lucene.search.QueryVisitor visitor) - Overrides:
visitin classAbstractScriptFieldQuery<AbstractLongFieldScript>
-