code: public Query adapt(Scan scan) {
      ReadHooks readHooks = new DefaultReadHooks();
      Query query = Query.create(bigtableTableName.getTableId());
      Adapters.SCAN_ADAPTER.adapt(scan, readHooks, query);
      readHooks.applyPreSendHook(query);
      return query;
    }
docs: <p>adapt.</p>
  
  @param scan a {@link Scan} object.
  @return a {@link Query} object.