public static class MBeanAccessor.QueryBuilder.ParsedQuery extends Object implements Serializable
MBeanAccessor.QueryBuilder.build().
A ParsedQuery instance is required by many methods of the MBeanAccessor.| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Filter<String>> |
m_mapFilters
A map of ObjectName key to Filter.
|
protected String |
m_sQuery
A query that can be passed to the MBeanServer to reduce the MBeans.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ParsedQuery()
Construct a ParsedQuery instance.
|
protected |
ParsedQuery(String sQuery,
Map<String,Filter<String>> mapFilters)
Construct a ParsedQuery based on the given query expression and
the map of key to Filter used to test against the corresponding
key/value within the ObjectName.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Filter<String>> |
getMapFilters()
Return a map of key to Filter used to test against the corresponding
key/value within the ObjectName.
|
Filter<ObjectName> |
getObjectNameFilter()
Return a Filter that can be applied against an ObjectName and
ensures all the Filters within the
map
of filters test successfully (logical AND). |
String |
getQuery()
Return the query to reduce the ObjectNames to consider.
|
protected String m_sQuery
protected ParsedQuery()
protected ParsedQuery(String sQuery, Map<String,Filter<String>> mapFilters)
sQuery - the query to reduce the ObjectNames to considermapFilters - a map of Filters to further reduce the MBeanspublic String getQuery()
public Map<String,Filter<String>> getMapFilters()
public Filter<ObjectName> getObjectNameFilter()
map
of filters test successfully (logical AND).