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 to MBeanAccessor.QueryBuilder.build(). A ParsedQuery instance is required by many methods of the MBeanAccessor.
See Also:
  • Field Details

    • m_mapFilters

      protected Map<String,Filter<String>> m_mapFilters
      A map of ObjectName key to Filter.
    • m_sQuery

      protected String 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

      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 consider
      mapFilters - a map of Filters to further reduce the MBeans
  • Method Details

    • 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 the map of filters test successfully (logical AND).
      Returns:
      a Filter that can be applied against an ObjectName representing this query