private ResultScanner getScanner(int id) {
    return scannerMap.getIfPresent(id);
  }
Returns the Scanner associated with the specified Id.
@param id of the Scanner to get
@return a Scanner, or null if the Id is invalid
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java