Modifier and Type | Field and Description |
---|---|
private SchemaDeclaration |
key |
private long |
value |
Constructor and Description |
---|
LongLiteral(SchemaDeclaration key,
long value) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object otherTerm)
Equal method which returns true if the terms are logically equal.
|
int |
hashCode() |
boolean |
matches(SolrDocument doc)
check if the key/value pair of this literal occurs in the SolrDocument
|
java.lang.String |
toString()
create a Solr query string from this literal
|
lightestRewrite, weight
apply
finalize, getClass, notify, notifyAll, wait, wait, wait
apply, lightestRewrite, weight
private SchemaDeclaration key
private long value
public LongLiteral(SchemaDeclaration key, long value)
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean equals(java.lang.Object otherTerm)
Term
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
public boolean matches(SolrDocument doc)