Class EqualityDeleteWriter<T>

    • Method Detail

      • write

        public void write​(T row)
        Description copied from interface: FileWriter
        Writes a row to a predefined spec/partition.
        Specified by:
        write in interface FileWriter<T,​DeleteWriteResult>
        Parameters:
        row - a data or delete record
      • deleteAll

        @Deprecated
        public void deleteAll​(java.lang.Iterable<T> rows)
        Deprecated.
        since 0.13.0, will be removed in 0.14.0; use FileWriter.write(Iterable) instead.
        Writes equality deletes.
      • delete

        @Deprecated
        public void delete​(T row)
        Deprecated.
        since 0.13.0, will be removed in 0.14.0; use write(Object) instead.
        Writes an equality delete.
      • length

        public long length()
        Description copied from interface: FileWriter
        Returns the number of bytes that were currently written by this writer.
        Specified by:
        length in interface FileWriter<T,​DeleteWriteResult>
        Returns:
        the number of written bytes
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException