public class EqualityDeleteWriter<T>
extends java.lang.Object
implements java.io.Closeable
Constructor and Description |
---|
EqualityDeleteWriter(FileAppender<T> appender,
FileFormat format,
java.lang.String location,
PartitionSpec spec,
StructLike partition,
EncryptionKeyMetadata keyMetadata,
int... equalityFieldIds) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
delete(T row) |
void |
deleteAll(java.lang.Iterable<T> rows) |
long |
length() |
DeleteFile |
toDeleteFile() |
public EqualityDeleteWriter(FileAppender<T> appender, FileFormat format, java.lang.String location, PartitionSpec spec, StructLike partition, EncryptionKeyMetadata keyMetadata, int... equalityFieldIds)
public void deleteAll(java.lang.Iterable<T> rows)
public void delete(T row)
public long length()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
public DeleteFile toDeleteFile()