@Override
      public List<HivePrivilegeObject> filterListCmdObjects(List<HivePrivilegeObject> listObjs,
          HiveAuthzContext context) throws HiveAuthzPluginException, HiveAccessControlException {
        // capture arguments in static
        filterArguments.addAll(listObjs);
        // return static variable with results, if it is set to some set of
        // values
        // otherwise return the arguments
        if (filteredResults.size() == 0) {
          return filterArguments;
        }
        return filteredResults;
      }
Abstracts HiveAuthorizer interface for hive authorization plugins
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/security/authorization/plugin/TestHiveAuthorizerShowFilters.java