Tabnine Logo
Scanner.setReadaheadThreshold
Code IndexAdd Tabnine to your IDE (free)

How to use
setReadaheadThreshold
method
in
org.apache.accumulo.core.client.Scanner

Best Java code snippets using org.apache.accumulo.core.client.Scanner.setReadaheadThreshold (Showing top 9 results out of 315)

origin: apache/accumulo

private Iterator<Entry<Key,Value>> newIterator(Range r) {
 synchronized (scanner) {
  scanner.enableIsolation();
  scanner.setBatchSize(batchSize);
  scanner.setTimeout(timeout, TimeUnit.MILLISECONDS);
  scanner.setRange(r);
  scanner.setReadaheadThreshold(readaheadThreshold);
  setOptions((ScannerOptions) scanner, opts);
  return scanner.iterator();
  // return new FaultyIterator(scanner.iterator());
 }
}
origin: apache/accumulo

smi.scanner.setTimeout(timeOut, TimeUnit.MILLISECONDS);
smi.scanner.setBatchTimeout(batchTimeOut, TimeUnit.MILLISECONDS);
smi.scanner.setReadaheadThreshold(readaheadThreshold);
if (isolated)
 smi.scanner.enableIsolation();
origin: org.apache.accumulo/accumulo-test

scanner.setReadaheadThreshold(Long.MAX_VALUE);
scanner.setBatchSize(1);
origin: NationalSecurityAgency/timely

  setQueryColumns(s, metric, orderedTags, colFamValues);
  s.setBatchSize(scannerBatchSize);
  s.setReadaheadThreshold(scannerReadAhead);
  return s;
} catch (IllegalArgumentException | TableNotFoundException ex) {
origin: org.apache.accumulo/accumulo-core

private Iterator<Entry<Key,Value>> newIterator(Range r) {
 synchronized (scanner) {
  scanner.enableIsolation();
  scanner.setBatchSize(batchSize);
  scanner.setTimeout(timeout, TimeUnit.MILLISECONDS);
  scanner.setRange(r);
  scanner.setReadaheadThreshold(readaheadThreshold);
  setOptions((ScannerOptions) scanner, opts);
  return scanner.iterator();
  // return new FaultyIterator(scanner.iterator());
 }
}
origin: NationalSecurityAgency/datawave

((Scanner) baseScanner).setReadaheadThreshold(Long.MAX_VALUE);
origin: org.apache.accumulo/accumulo-core

smi.scanner.setTimeout(timeOut, TimeUnit.MILLISECONDS);
smi.scanner.setBatchTimeout(batchTimeOut, TimeUnit.MILLISECONDS);
smi.scanner.setReadaheadThreshold(readaheadThreshold);
if (isolated)
 smi.scanner.enableIsolation();
origin: org.apache.accumulo/accumulo-test

scanner.setReadaheadThreshold(20000);
scanner.setRange(new Range(String.format("%08d", 0), String.format("%08d", 1000)));
origin: org.apache.accumulo/accumulo-test

s.setReadaheadThreshold(Long.MAX_VALUE);
s.setBatchSize(1);
s.setRange(new Range());
s.setRange(new Range());
s.setBatchSize(1);
s.setReadaheadThreshold(0l);
org.apache.accumulo.core.clientScannersetReadaheadThreshold

Javadoc

Sets the number of batches of Key/Value pairs returned before the Scanner will begin to prefetch the next batch

Popular methods of Scanner

  • setRange
    Sets the range of keys to scan over.
  • iterator
  • fetchColumnFamily
  • addScanIterator
  • close
  • fetchColumn
  • clearColumns
  • setBatchSize
    Sets the number of Key/Value pairs that will be fetched at a time from a tablet server.
  • clearScanIterators
  • setTimeout
  • getRange
    Returns the range of keys to scan over.
  • enableIsolation
    Enables row isolation. Writes that occur to a row after a scan of that row has begun will not be see
  • getRange,
  • enableIsolation,
  • getBatchSize,
  • setBatchTimeout,
  • setClassLoaderContext,
  • setSamplerConfiguration,
  • clearClassLoaderContext,
  • clearSamplerConfiguration,
  • disableIsolation

Popular in Java

  • Reading from database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • getExternalFilesDir (Context)
  • getApplicationContext (Context)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Table (org.hibernate.mapping)
    A relational table
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now