public class FilenameQuery extends Object implements Query
Query testing the resource file name.Query.LogicalOperator, Query.Operator| Modifier and Type | Field and Description |
|---|---|
private Query.Operator |
_operator
The operator.
|
private String |
_value
The value to test.
|
| Constructor and Description |
|---|
FilenameQuery(Query.Operator op,
String value)
Build a string query.
|
FilenameQuery(String value)
Build a string query.
|
| Modifier and Type | Method and Description |
|---|---|
String |
build()
Build the solr query string representing the Query object.
|
boolean |
equals(Object obj) |
int |
hashCode() |
private Query.Operator _operator
public FilenameQuery(String value)
value - the value.public FilenameQuery(Query.Operator op, String value)
op - the operator.value - the value.public String build() throws QuerySyntaxException
Querybuild in interface QueryQuerySyntaxException - if the query can't be built because of a syntax error.