public abstract class WildcardTransformFilter extends AbstractQueryFilter
next
QUERY_DELIMETER
Modifier | Constructor and Description |
---|---|
protected |
WildcardTransformFilter(QueryFilter next)
Creates a wildcard transform filter that is able to convert a wildcard
expression (determined by isWildcardQuery) to a another query type (use
transformWildcardQuery).
|
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
isWildcardQuery(java.lang.String query)
Use to determine is a query string is a wildcard query
|
java.util.List |
query(java.util.List queries)
Converts the query list to set of different queries
|
protected abstract java.lang.String |
transformWildcardQuery(java.lang.String query)
Use to transform a wildcard query string to another query format
|
query
protected WildcardTransformFilter(QueryFilter next)
next
- - the next query filterpublic java.util.List query(java.util.List queries) throws java.lang.Exception
queries
- - query list to transformjava.lang.Exception
protected abstract boolean isWildcardQuery(java.lang.String query)
query
- - query stringprotected abstract java.lang.String transformWildcardQuery(java.lang.String query)
query
- - query string to transformCopyright © 2005-2017. All Rights Reserved.