@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) |
Modifier and Type | Method and Description |
---|---|
static DeletionFile |
deserialize(DataInputView in) |
static List<DeletionFile> |
deserializeList(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 DeletionFile(String path, long offset, long length)
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 List<DeletionFile> deserializeList(DataInputView in) throws IOException
IOException
public static DeletionFile.Factory factory(List<DataFileMeta> files, @Nullable List<DeletionFile> deletionFiles)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.