private List<ByteBuffer> getColumnList(boolean includeA, boolean includeB) {
    List<ByteBuffer> columnList = new ArrayList<>();

    if (includeA) {
      columnList.add(columnAname);
    }
    if (includeB) {
      columnList.add(columnBname);
    }

    return columnList;
  }
@param includeA whether or not to include columnA
@param includeB whether or not to include columnB
@return a List of column names for use in retrieving a scanner
hbase-thrift/src/test/java/org/apache/hadoop/hbase/thrift/TestThriftServer.java