public class SolrNativeJoinQuery extends Object implements Query
JoinQuery instead.
Query.LogicalOperator, Query.Operator| Modifier and Type | Field and Description |
|---|---|
protected String |
_fromField
The "from" field of the join (the query is done on docs which hold this field)
|
protected Query |
_subQuery
The query to apply on joined docs
|
protected String |
_toField
The "to" field of the join (returned docs hold this field)
|
| Constructor and Description |
|---|
SolrNativeJoinQuery(String from,
String to,
Query subQuery)
The use of this Query is discouraged.
|
| Modifier and Type | Method and Description |
|---|---|
String |
build()
Build the solr query string representing the Query object.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString(int indent)
Gets a representation of this
Query, for pretty-printing for logging and debugging purposes |
protected String _fromField
public SolrNativeJoinQuery(String from, String to, Query subQuery)
JoinQuery instead.
from - The "from" field of the join (the query is done on docs which hold this field)to - The "to" field of the join (returned docs holds this field)subQuery - The sub query (query to apply on joined docs)public String build() throws QuerySyntaxException
Querybuild in interface QueryQuerySyntaxException - if the query can't be built because of a syntax error.public String toString(int indent)
QueryQuery, for pretty-printing for logging and debugging purposes