code: public static void setColumnFilter(Object op, FetchType... column) {
          ArrayList<byte[]> columns = new ArrayList<>();
          columns.add(DUMMY_COLUMN_FAMILY);
          if (column.length == 0) {
              // default behaviour
              columns.add(PROP_COLUMN_FAMILY);
              columns.add(PRED_COLUMN_FAMILY);
              columns.add(REF_COLUMN_FAMILY);
              columns.add(SINGLETON_COLUMN_FAMILY);
              columns.add(HBeanKeyValue.BEAN_COLUMN_FAMILY);
          } else if (FetchType.KEY_ONLY == column[0]) {
              // only IID_FAMILY
              final FilterList list = new FilterList();
              list.addFilter(new FirstKeyOnlyFilter());
              if (op instanceof Scan) {
                  ((Scan) op).setFilter(list);
              } else if (op instanceof Get) {
                  ((Get) op).setFilter(list);
              }
          }
          for (byte[] familiy : columns) {
              if (op instanceof Scan) {
                  ((Scan) op).addFamily(familiy);
              } else if (op instanceof Get) {
                  ((Get) op).addFamily(familiy);
              }
          }
      }
docs: Add column filter based fetch type on operation Get or Scan.