@Public public class DeletionFile extends Object implements Serializable
length()
.
Modifier and Type | Class and Description |
---|---|
static interface |
DeletionFile.Factory
Interface to create
DeletionFile . |
Constructor and Description |
---|
DeletionFile(String path,
long offset,
long length,
Long cardinality) |
Modifier and Type | Method and Description |
---|---|
Long |
cardinality()
the number of deleted rows.
|
static DeletionFile |
deserialize(DataInputView in) |
static List<DeletionFile> |
deserializeList(DataInputView in,
FunctionWithIOException<DataInputView,DeletionFile> deserialize) |
static DeletionFile |
deserializeV3(DataInputView in) |
boolean |
equals(Object o) |
static DeletionFile.Factory |
factory(List<DataFileMeta> files,
List<DeletionFile> deletionFiles) |
int |
hashCode() |
long |
length()
Length of data in the file.
|
long |
offset()
Starting offset of data in the file.
|
String |
path()
Path of the file.
|
static void |
serialize(DataOutputView out,
DeletionFile file) |
static void |
serializeList(DataOutputView out,
List<DeletionFile> files) |
String |
toString() |
public String path()
public long offset()
public long length()
public static void serialize(DataOutputView out, @Nullable DeletionFile file) throws IOException
IOException
public static void serializeList(DataOutputView out, @Nullable List<DeletionFile> files) throws IOException
IOException
@Nullable public static DeletionFile deserialize(DataInputView in) throws IOException
IOException
@Nullable public static DeletionFile deserializeV3(DataInputView in) throws IOException
IOException
@Nullable public static List<DeletionFile> deserializeList(DataInputView in, FunctionWithIOException<DataInputView,DeletionFile> deserialize) throws IOException
IOException
public static DeletionFile.Factory factory(List<DataFileMeta> files, @Nullable List<DeletionFile> deletionFiles)
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.