public TScan setSortColumns(boolean sortColumns) {
    this.sortColumns = sortColumns;
    setSortColumnsIsSet(true);
    return this;
  }
Returns true if field batchSize is set (has been assigned a value) and false otherwise
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift/generated/TScan.java