public short toTFetchType() {
    return tFetchType;
  }
FetchType indicates the type of fetchResults request.
It maps the TFetchType, which is generated from Thrift interface.
service/src/java/org/apache/hive/service/cli/FetchType.java