Package com.tangosol.net.management
Class MBeanAccessor.QueryBuilder.ParsedQuery
- java.lang.Object
-
- com.tangosol.net.management.MBeanAccessor.QueryBuilder.ParsedQuery
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- MBeanAccessor.QueryBuilder
public static class MBeanAccessor.QueryBuilder.ParsedQuery extends Object implements Serializable
A ParsedQuery represents the result of a call toMBeanAccessor.QueryBuilder.build(). A ParsedQuery instance is required by many methods of theMBeanAccessor.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedParsedQuery()Construct a ParsedQuery instance.protectedParsedQuery(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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 themapof filters test successfully (logical AND).StringgetQuery()Return the query to reduce the ObjectNames to consider.
-
-
-
Constructor Detail
-
ParsedQuery
protected ParsedQuery()
Construct a ParsedQuery instance.
-
ParsedQuery
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.- Parameters:
sQuery- the query to reduce the ObjectNames to considermapFilters- a map of Filters to further reduce the MBeans
-
-
Method Detail
-
getQuery
public String getQuery()
Return the query to reduce the ObjectNames to consider.- Returns:
- the query to reduce the ObjectNames to consider
-
getMapFilters
public Map<String,Filter<String>> getMapFilters()
Return a map of key to Filter used to test against the corresponding key/value within the ObjectName.- Returns:
- a map of Filters to further reduce the MBeans
-
getObjectNameFilter
public Filter<ObjectName> getObjectNameFilter()
Return a Filter that can be applied against an ObjectName and ensures all the Filters within themapof filters test successfully (logical AND).- Returns:
- a Filter that can be applied against an ObjectName representing this query
-
-