Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-141

Gora should make use of QueryBase.getLimit() in setting scanner.cache in creating scans

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.2
    • 1.0
    • gora-hbase
    • None

    Description

      public ResultScanner createScanner(Query<K, T> query)
      throws IOException {
      final Scan scan = new Scan();
      + scan.setCaching(query.getLimit())
      if (query.getStartKey() != null)

      { scan.setStartRow(toBytes(query.getStartKey())); }

      if (query.getEndKey() != null)

      { scan.setStopRow(toBytes(query.getEndKey())); }

      addFields(scan, query);

      return table.getScanner(scan);
      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            rafshin raf shin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: