Class AbstractBatchFilter<T extends DataContainer>

    • Constructor Detail

      • AbstractBatchFilter

        public AbstractBatchFilter()
    • Method Detail

      • checkBatchData

        protected void checkBatchData​(T[] data)
        The default implementation only checks whether there is any data set.
        Parameters:
        data - the data to filter
      • processBatchData

        protected abstract T[] processBatchData​(T[] data)
        Performs the actual batch filtering.
        Parameters:
        data - the data to filter
        Returns:
        the filtered data
      • batchFilter

        public T[] batchFilter​(T[] data)
        Batch filters the data.
        Specified by:
        batchFilter in interface BatchFilter<T extends DataContainer>
        Parameters:
        data - the data to filter
        Returns:
        the filtered data