Class AbstractIndexedSplitsRunsWriter

    • Constructor Detail

      • AbstractIndexedSplitsRunsWriter

        public AbstractIndexedSplitsRunsWriter()
    • Method Detail

      • doWrite

        protected abstract boolean doWrite​(Writer writer,
                                           IndexedSplitsRuns runs,
                                           MessageCollection errors)
        Writes the split definitions to the specified reader. The caller must close the writer object.
        Parameters:
        writer - the writer to write to
        runs - the runs to write
        errors - for storing errors
        Returns:
        whether successfully written
      • write

        public boolean write​(Writer writer,
                             IndexedSplitsRuns runs,
                             MessageCollection errors)
        Writes the split definitions to the specified reader. The caller must close the writer object.
        Parameters:
        writer - the writer to write to
        runs - the runs to write
        errors - for storing errors
        Returns:
        whether successfully written
      • write

        public boolean write​(File file,
                             IndexedSplitsRuns runs,
                             MessageCollection errors)
        Writes the split definitions to the specified file.
        Parameters:
        file - the file to write to
        runs - the runs to write
        errors - for storing errors
        Returns:
        whether successfully written