public static Filter createFilterFromArguments(ArrayList<byte[]> filterArguments) {
    Preconditions.checkArgument(filterArguments.size() == 1, "Expected 1 but got: %s",
      filterArguments.size());
    long pageSize = ParseFilter.convertByteArrayToLong(filterArguments.get(0));
    return new PageFilter(pageSize);
  }
Constructor that takes a maximum page size.
@param pageSize Maximum result size.
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PageFilter.java