Query.LogicalOperator, Query.Operator
Modifier and Type | Field and Description |
---|---|
private boolean |
_descendantAutoposting |
private Query.LogicalOperator |
_logicalOperator |
private Query.Operator |
_operator |
private String[] |
_values |
Constructor and Description |
---|
TagQuery(Query.Operator operator,
boolean descendantAutoposting,
Query.LogicalOperator logicalOperator,
String... values)
Build a TagQuery.
|
TagQuery(Query.Operator operator,
boolean descendantAutoposting,
String... values)
Build a TagQuery.
|
TagQuery(Query.Operator operator,
boolean descendantAutoposting,
String value)
Build a TagQuery.
|
TagQuery(Query.Operator operator,
String... values)
Build a TagQuery.
|
TagQuery(Query.Operator operator,
String value)
Build a TagQuery.
|
TagQuery(String... values)
Build a TagQuery.
|
TagQuery(String value)
Build a TagQuery.
|
Modifier and Type | Method and Description |
---|---|
String |
build()
Build the solr query string representing the Query object.
|
Query.LogicalOperator |
getLogicalOperator()
Get the logicalOperator.
|
Query.Operator |
getOperator()
Get the operator.
|
String[] |
getValues()
Get the values.
|
private Query.Operator _operator
private Query.LogicalOperator _logicalOperator
private boolean _descendantAutoposting
public TagQuery(String... values)
values
- the step IDs to test.public TagQuery(Query.Operator operator, String value)
operator
- the operator.value
- the step id to test.public TagQuery(Query.Operator operator, String... values)
operator
- the operator.values
- the step IDs to test.public TagQuery(Query.Operator operator, boolean descendantAutoposting, String value)
operator
- the operator.descendantAutoposting
- true to enable descendant autoposting (parent tags are found), false otherwise.value
- the step id to test.public TagQuery(Query.Operator operator, boolean descendantAutoposting, String... values)
operator
- the operator.descendantAutoposting
- true to enable descendant autoposting (parent tags are found), false otherwise.values
- the step IDs to test.public TagQuery(Query.Operator operator, boolean descendantAutoposting, Query.LogicalOperator logicalOperator, String... values)
operator
- the operator.descendantAutoposting
- true to enable descendant autoposting (parent tags are found), false otherwise.logicalOperator
- the logical operator.values
- the step IDs to test.public Query.Operator getOperator()
public Query.LogicalOperator getLogicalOperator()
public String build() throws QuerySyntaxException
Query
build
in interface Query
QuerySyntaxException
- if the query can't be built because of a syntax error.