Package org.apache.accumulo.core.data.thrift

Examples of org.apache.accumulo.core.data.thrift.ScanResult


          throw new NoSuchScanIDException();
      } catch (TimeoutException e) {
        long timeout = acuConf.getTimeInMillis(Property.TSERV_CLIENT_TIMEOUT);
        List<TKeyValue> param = Collections.emptyList();
        sessionManager.removeIfNotAccessed(scanID, timeout);
        return new ScanResult(param, true);
      } catch (Throwable t) {
        sessionManager.removeSession(scanID);
        log.warn("Failed to get next batch", t);
        throw new RuntimeException(t);
      }
     
      ScanResult scanResult = new ScanResult(Key.compress(bresult.results), bresult.more);
     
      scanSession.entriesReturned += scanResult.results.size();
     
      scanSession.batchCount++;
     
View Full Code Here

TOP

Related Classes of org.apache.accumulo.core.data.thrift.ScanResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.