throw new IndexSizeExceededException("Maximum number of rows [%d] reached", maxRowCount);
@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; } };
&& facts.getPriorIndex(key) == IncrementalIndexRow.EMPTY_ROW_INDEX && !skipMaxRowsInMemoryCheck) { throw new IndexSizeExceededException( "Maximum number of rows [%d] or max size in bytes [%d] reached", maxRowCount,
@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; } };
throw new IndexSizeExceededException("Maximum number of rows or max bytes reached");
throw new IndexSizeExceededException("Maximum number of rows [%d] reached", maxRowCount);
&& facts.getPriorIndex(key) == IncrementalIndexRow.EMPTY_ROW_INDEX && !skipMaxRowsInMemoryCheck) { throw new IndexSizeExceededException( "Maximum number of rows [%d] or max size in bytes [%d] reached", maxRowCount,