Module org.elasticsearch.server
Package org.elasticsearch.search.runtime
Class IpScriptFieldTermQuery
java.lang.Object
org.apache.lucene.search.Query
org.elasticsearch.search.runtime.AbstractScriptFieldQuery<IpFieldScript>
org.elasticsearch.search.runtime.IpScriptFieldTermQuery
- 
Field SummaryFields inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQueryMATCH_COST
- 
Constructor SummaryConstructorsConstructorDescriptionIpScriptFieldTermQuery(Script script, IpFieldScript.LeafFactory leafFactory, String fieldName, org.apache.lucene.util.BytesRef term) 
- 
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) final StringMethods inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuerycreateWeight, visitMethods inherited from class org.apache.lucene.search.QueryclassHash, rewrite, sameClassAs, toString
- 
Constructor Details- 
IpScriptFieldTermQuerypublic IpScriptFieldTermQuery(Script script, IpFieldScript.LeafFactory leafFactory, String fieldName, org.apache.lucene.util.BytesRef term) 
 
- 
- 
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
 
-