public class HoodieLSMTimelineManifest extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
HoodieLSMTimelineManifest.LSMFileEntry
A file entry.
|
| Modifier and Type | Field and Description |
|---|---|
static HoodieLSMTimelineManifest |
EMPTY |
| Constructor and Description |
|---|
HoodieLSMTimelineManifest() |
HoodieLSMTimelineManifest(List<HoodieLSMTimelineManifest.LSMFileEntry> files) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFile(HoodieLSMTimelineManifest.LSMFileEntry fileEntry) |
void |
addFile(String fileName,
long fileLen) |
HoodieLSMTimelineManifest |
copy(List<String> filesToRemove) |
static <T> T |
fromJsonString(String jsonStr,
Class<T> clazz) |
List<String> |
getFileNames() |
List<HoodieLSMTimelineManifest.LSMFileEntry> |
getFiles() |
String |
toJsonString() |
public static final HoodieLSMTimelineManifest EMPTY
public HoodieLSMTimelineManifest()
public HoodieLSMTimelineManifest(List<HoodieLSMTimelineManifest.LSMFileEntry> files)
public void addFile(String fileName, long fileLen)
public void addFile(HoodieLSMTimelineManifest.LSMFileEntry fileEntry)
public List<HoodieLSMTimelineManifest.LSMFileEntry> getFiles()
public String toJsonString() throws IOException
IOExceptionpublic static <T> T fromJsonString(String jsonStr, Class<T> clazz) throws Exception
Exceptionpublic HoodieLSMTimelineManifest copy(List<String> filesToRemove)
Copyright © 2024 The Apache Software Foundation. All rights reserved.