public class PositionDeleteWriter<T>
extends java.lang.Object
implements java.io.Closeable
Constructor and Description |
---|
PositionDeleteWriter(FileAppender<StructLike> appender,
FileFormat format,
java.lang.String location,
PartitionSpec spec,
StructLike partition,
EncryptionKeyMetadata keyMetadata) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
delete(java.lang.CharSequence path,
long pos) |
void |
delete(java.lang.CharSequence path,
long pos,
T row) |
java.util.Set<java.lang.CharSequence> |
referencedDataFiles() |
DeleteFile |
toDeleteFile() |
public PositionDeleteWriter(FileAppender<StructLike> appender, FileFormat format, java.lang.String location, PartitionSpec spec, StructLike partition, EncryptionKeyMetadata keyMetadata)
public void delete(java.lang.CharSequence path, long pos)
public void delete(java.lang.CharSequence path, long pos, T row)
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
public java.util.Set<java.lang.CharSequence> referencedDataFiles()
public DeleteFile toDeleteFile()