Class BatchedImportRowBufferProcessor

java.lang.Object
com.illumon.iris.db.tables.dataimport.BatchedImportRowBufferProcessor
All Implemented Interfaces:
BinaryStoreV2RowBufferProcessor, TableListener

public abstract class BatchedImportRowBufferProcessor extends Object implements BinaryStoreV2RowBufferProcessor, TableListener
Base class for generated BinaryStoreV2RowBufferProcessor implementations that also support part of the TableListener interface for integration with the BinaryStoreImportProcessor and use a RowBatch to accumulate rows and enable vectorizable transformations and bulk writing.
  • Field Details

    • NO_PARALLELISM

      public static final int NO_PARALLELISM
      See Also:
    • txTimestamp

      protected long txTimestamp
      The sending timestamp passed along from our source, in nanoseconds.
    • rxTimestamp

      protected long rxTimestamp
      The receiving timestamp recorded locally at this destination, in nanoseconds.
    • rowSizes

      protected final int[] rowSizes
  • Constructor Details

    • BatchedImportRowBufferProcessor

      protected BatchedImportRowBufferProcessor(int rowBatchCapacity, int parallelism, boolean requiresInstrumentation)
      Construct a BatchedImportRowBufferProcessor.
      Parameters:
      rowBatchCapacity - The capacity for row batches
      parallelism - The number of parallel writing threads to use, if > 1
    • BatchedImportRowBufferProcessor

      protected BatchedImportRowBufferProcessor(int rowBatchCapacity, boolean requiresInstrumentation)
      Construct a BatchedImportRowBufferProcessor with no parallelism.
      Parameters:
      rowBatchCapacity - The capacity for row batches
  • Method Details