Class BinaryStoreAggregatorWriterBase

All Implemented Interfaces:
Entry, Record, Row, TableWriter<BinaryRowV2>
Direct Known Subclasses:
BinaryStoreAggregatorWriterMultiPartition, BinaryStoreAggregatorWriterStandard

public abstract class BinaryStoreAggregatorWriterBase extends BinaryStoreWriterV2
This class provides a common ancestor for BinaryStoreAggregator implementations. This can be used where a client may hold one of several subtypes.
  • Constructor Details

    • BinaryStoreAggregatorWriterBase

      public BinaryStoreAggregatorWriterBase(String[] columnNames, SupportedType[] intradayTypes, Object[] typeMetadata, Map<String,Object> constantColumnValues, int applicationVersion, int targetWriteSize, com.fishlib.io.logger.Logger log)
      Intermediate constructor for subclasses to initialize the base BinaryStoreWriterV2 class.
      Parameters:
      columnNames - pass through to BinaryStoreWriterV2 constructor
      intradayTypes - pass through to BinaryStoreWriterV2 constructor
      typeMetadata - pass through to BinaryStoreWriterV2 constructor
      constantColumnValues - pass through to BinaryStoreWriterV2 constructor
      applicationVersion - pass through to BinaryStoreWriterV2 constructor
      targetWriteSize - pass through to BinaryStoreWriterV2 constructor
      log - pass through to BinaryStoreWriterV2 constructor
  • Method Details

    • getTransactionSizeLimit

      public long getTransactionSizeLimit()
      Get the row limit for atomic appends the connected LogAggregator.

      This is currently a property-driven static, but this method enables per-connection configuration in the future.

      Returns:
      the max number of rows that can be written to the LAS atomically