Package org.elasticsearch.search.runtime
Class IpScriptFieldTermsQuery
java.lang.Object
org.apache.lucene.search.Query
org.elasticsearch.search.runtime.AbstractScriptFieldQuery<IpFieldScript>
org.elasticsearch.search.runtime.IpScriptFieldTermsQuery
- 
Field SummaryFields inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQueryMATCH_COST
- 
Constructor SummaryConstructorsConstructorDescriptionIpScriptFieldTermsQuery(Script script, IpFieldScript.LeafFactory leafFactory, String fieldName, BytesRefHash terms)
- 
Method SummaryModifier and TypeMethodDescriptionprotected static InetAddressdecode(org.apache.lucene.util.BytesRef ref)booleaninthashCode()protected booleanmatches(org.apache.lucene.util.BytesRef[] values, int count)Does the value match this query?protected booleanmatches(IpFieldScript scriptContext, int docId)Methods inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuerycreateWeightMethods inherited from class org.apache.lucene.search.QueryclassHash, rewrite, sameClassAs, toString, visit
- 
Constructor Details- 
IpScriptFieldTermsQuerypublic IpScriptFieldTermsQuery(Script script, IpFieldScript.LeafFactory leafFactory, String fieldName, BytesRefHash terms)
 
- 
- 
Method Details- 
matchesprotected boolean matches(org.apache.lucene.util.BytesRef[] 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<IpFieldScript>
 
- 
equals- Overrides:
- equalsin class- AbstractScriptFieldQuery<IpFieldScript>
 
- 
matches- Specified by:
- matchesin class- AbstractScriptFieldQuery<IpFieldScript>
 
- 
decode
 
-