public abstract class WildcardTransformFilter extends AbstractQueryFilter
nextQUERY_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
|
queryprotected 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.Exceptionprotected 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-2016 Red Hat, Inc.. All Rights Reserved.