Package step.datapool

Class DataSet<T extends DataPoolConfiguration>

    • Field Detail

      • isRowCommitEnabled

        protected boolean isRowCommitEnabled
      • closing

        protected volatile boolean closing
    • Constructor Detail

      • DataSet

        public DataSet​(T configuration)
    • Method Detail

      • enableRowCommit

        public void enableRowCommit​(boolean rowCommit)
        Parameters:
        rowCommit - if the row commit is enabled. IMPORTANT: If row commit is enabled, it is the responsibility of the user to call the method DataPoolRow.commit() after the row has been processed If the method DataPoolRow.commit() isn't called, closing the DataSet may block indefinitely
      • init

        public void init()
      • reset

        public abstract void reset()
      • close

        public void close()
      • isWriteQueueSupportEnabled

        protected boolean isWriteQueueSupportEnabled()
      • next_

        public abstract java.lang.Object next_()
      • addRow

        public abstract void addRow​(java.lang.Object row)
      • save

        public void save()
      • writeRow

        public void writeRow​(DataPoolRow row)
                      throws java.io.IOException
        Throws:
        java.io.IOException