@Experimental public class FileMonitorTable extends Object implements DataTable, ReadonlyTable
| Modifier and Type | Class and Description |
|---|---|
static class |
FileMonitorTable.FileChange
Pojo to record of file change.
|
| Constructor and Description |
|---|
FileMonitorTable(FileStoreTable wrapped) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomment, createBranch, createBranch, createTag, createTag, createTag, createTag, deleteBranch, deleteTag, fastForward, newBatchWriteBuilder, newCommit, newExpireChangelog, newExpireSnapshots, newStreamWriteBuilder, newWrite, newWriteSelector, partitionKeys, rollbackTo, rollbackTo, statisticsnewReadBuilderdeleteBranches, deleteTags, fullNamepublic FileMonitorTable(FileStoreTable wrapped)
public OptionalLong latestSnapshotId()
TablelatestSnapshotId in interface ReadonlyTablelatestSnapshotId in interface Tablepublic Snapshot snapshot(long snapshotId)
TableSnapshot from snapshot id.snapshot in interface ReadonlyTablesnapshot in interface Tablepublic SimpleFileReader<ManifestFileMeta> manifestListReader()
TablemanifestListReader in interface ReadonlyTablemanifestListReader in interface Tablepublic SimpleFileReader<ManifestEntry> manifestFileReader()
TablemanifestFileReader in interface ReadonlyTablemanifestFileReader in interface Tablepublic SimpleFileReader<IndexManifestEntry> indexManifestFileReader()
TableindexManifestFileReader in interface ReadonlyTableindexManifestFileReader in interface Tablepublic SnapshotManager snapshotManager()
snapshotManager in interface DataTablepublic TagManager tagManager()
tagManager in interface DataTablepublic BranchManager branchManager()
branchManager in interface DataTablepublic DataTable switchToBranch(String branchName)
DataTableDataTable with branch identified by branchName. Note that this method
does not keep dynamic options in current table.switchToBranch in interface DataTablepublic RowType rowType()
Tablepublic Map<String,String> options()
Tableoptions in interface ReadonlyTableoptions in interface Tablepublic List<String> primaryKeys()
TableprimaryKeys in interface Tablepublic SnapshotReader newSnapshotReader()
newSnapshotReader in interface DataTablepublic DataTableScan newScan()
newScan in interface DataTablenewScan in interface InnerTablepublic StreamDataTableScan newStreamScan()
newStreamScan in interface InnerTablenewStreamScan in interface ReadonlyTablepublic CoreOptions coreOptions()
coreOptions in interface DataTablepublic InnerTableRead newRead()
newRead in interface InnerTablepublic FileMonitorTable copy(Map<String,String> dynamicOptions)
Tablepublic static RowType getRowType()
public static InternalRow toRow(FileMonitorTable.FileChange change) throws IOException
IOExceptionpublic static FileMonitorTable.FileChange toFileChange(InternalRow row) throws IOException
IOExceptionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.