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
A ParsedQuery represents the result of a call to
MBeanAccessor.QueryBuilder.build()
.
A ParsedQuery instance is required by many methods of the MBeanAccessor
.- See Also:
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
Construct a ParsedQuery instance.protected
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
Modifier and TypeMethodDescriptionReturn a map of key to Filter used to test against the corresponding key/value within the ObjectName.Return a Filter that can be applied against an ObjectName and ensures all the Filters within themap
of filters test successfully (logical AND).getQuery()
Return the query to reduce the ObjectNames to consider.
-
Field Details
-
m_mapFilters
A map of ObjectName key to Filter. -
m_sQuery
A query that can be passed to the MBeanServer to reduce the MBeans.
-
-
Constructor Details
-
ParsedQuery
protected ParsedQuery()Construct a ParsedQuery instance. -
ParsedQuery
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 Details
-
getQuery
Return the query to reduce the ObjectNames to consider.- Returns:
- the query to reduce the ObjectNames to consider
-
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
Return a Filter that can be applied against an ObjectName and ensures all the Filters within themap
of filters test successfully (logical AND).- Returns:
- a Filter that can be applied against an ObjectName representing this query
-