Tabnine Logo
IndexSizeExceededException
Code IndexAdd Tabnine to your IDE (free)

How to use
IndexSizeExceededException
in
org.apache.druid.segment.incremental

Best Java code snippets using org.apache.druid.segment.incremental.IndexSizeExceededException (Showing top 7 results out of 315)

origin: apache/incubator-druid

throw new IndexSizeExceededException("Maximum number of rows [%d] reached", maxRowCount);
origin: apache/incubator-druid

 @Override
 public IncrementalIndex accumulate(IncrementalIndex accumulated, T in)
 {
  if (in instanceof MapBasedRow) {
   try {
    MapBasedRow row = (MapBasedRow) in;
    accumulated.add(
      new MapBasedInputRow(
        row.getTimestamp(),
        dimensions,
        row.getEvent()
      )
    );
   }
   catch (IndexSizeExceededException e) {
    throw new ResourceLimitExceededException(e.getMessage());
   }
  } else {
   throw new ISE("Unable to accumulate something of type [%s]", in.getClass());
  }
  return accumulated;
 }
};
origin: apache/incubator-druid

 && facts.getPriorIndex(key) == IncrementalIndexRow.EMPTY_ROW_INDEX
 && !skipMaxRowsInMemoryCheck) {
throw new IndexSizeExceededException(
  "Maximum number of rows [%d] or max size in bytes [%d] reached",
  maxRowCount,
origin: org.apache.druid/druid-processing

 @Override
 public IncrementalIndex accumulate(IncrementalIndex accumulated, T in)
 {
  if (in instanceof MapBasedRow) {
   try {
    MapBasedRow row = (MapBasedRow) in;
    accumulated.add(
      new MapBasedInputRow(
        row.getTimestamp(),
        dimensions,
        row.getEvent()
      )
    );
   }
   catch (IndexSizeExceededException e) {
    throw new ResourceLimitExceededException(e.getMessage());
   }
  } else {
   throw new ISE("Unable to accumulate something of type [%s]", in.getClass());
  }
  return accumulated;
 }
};
origin: apache/incubator-druid

throw new IndexSizeExceededException("Maximum number of rows or max bytes reached");
origin: org.apache.druid/druid-processing

throw new IndexSizeExceededException("Maximum number of rows [%d] reached", maxRowCount);
origin: org.apache.druid/druid-processing

 && facts.getPriorIndex(key) == IncrementalIndexRow.EMPTY_ROW_INDEX
 && !skipMaxRowsInMemoryCheck) {
throw new IndexSizeExceededException(
  "Maximum number of rows [%d] or max size in bytes [%d] reached",
  maxRowCount,
org.apache.druid.segment.incrementalIndexSizeExceededException

Most used methods

  • <init>
  • getMessage

Popular in Java

  • Reading from database using SQL prepared statement
  • getApplicationContext (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • runOnUiThread (Activity)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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