Modifier and Type | Field and Description |
---|---|
private SchemaDeclaration |
key |
private boolean |
value |
Constructor and Description |
---|
BooleanLiteral(SchemaDeclaration key,
boolean 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 boolean value
public BooleanLiteral(SchemaDeclaration key, boolean 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)