code: public FilterList getFilter(XPath condition, boolean passAll,
              String []famNames, String []qualNames, String []params) {
          FilterList list = new FilterList((passAll)?FilterList.Operator.MUST_PASS_ALL:
          FilterList.Operator.MUST_PASS_ONE);
          for (int iCont = 0; iCont < famNames.length; iCont ++) {
              SingleColumnValueFilter filterTmp = new SingleColumnValueFilter(
                  Bytes.toBytes(famNames[iCont]),
                  Bytes.toBytes(qualNames[iCont]),
                  CompareOp.EQUAL,
                  Bytes.toBytes(params[iCont])
                  );
              list.addFilter(filterTmp);
          }
          return list;
      }
docs: Gets filter based on the condition to be performed
  @param condition To be applied server sided
  @param passAll boolean if all elements have to pass the test
  @param famNames to be checked
  @param qualNames to be checked
  @param params that could be needed
  @return FilterList containing all filters needed