@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, wait
comment, createBranch, createBranch, createTag, createTag, createTag, createTag, deleteBranch, deleteTag, fastForward, newBatchWriteBuilder, newCommit, newExpireChangelog, newExpireSnapshots, newStreamWriteBuilder, newWrite, newWriteSelector, partitionKeys, renameTag, replaceTag, rollbackTo, rollbackTo, statistics
newReadBuilder
deleteBranches, deleteTags, fullName, uuid
public FileMonitorTable(FileStoreTable wrapped)
public OptionalLong latestSnapshotId()
Table
latestSnapshotId
in interface ReadonlyTable
latestSnapshotId
in interface Table
public Snapshot snapshot(long snapshotId)
Table
Snapshot
from snapshot id.snapshot
in interface ReadonlyTable
snapshot
in interface Table
public SimpleFileReader<ManifestFileMeta> manifestListReader()
Table
manifestListReader
in interface ReadonlyTable
manifestListReader
in interface Table
public SimpleFileReader<ManifestEntry> manifestFileReader()
Table
manifestFileReader
in interface ReadonlyTable
manifestFileReader
in interface Table
public SimpleFileReader<IndexManifestEntry> indexManifestFileReader()
Table
indexManifestFileReader
in interface ReadonlyTable
indexManifestFileReader
in interface Table
public SnapshotManager snapshotManager()
snapshotManager
in interface DataTable
public SchemaManager schemaManager()
schemaManager
in interface DataTable
public TagManager tagManager()
tagManager
in interface DataTable
public BranchManager branchManager()
branchManager
in interface DataTable
public DataTable switchToBranch(String branchName)
DataTable
DataTable
with branch identified by branchName
. Note that this method
does not keep dynamic options in current table.switchToBranch
in interface DataTable
public RowType rowType()
Table
public Map<String,String> options()
Table
options
in interface ReadonlyTable
options
in interface Table
public List<String> primaryKeys()
Table
primaryKeys
in interface Table
public SnapshotReader newSnapshotReader()
newSnapshotReader
in interface DataTable
public DataTableScan newScan()
newScan
in interface DataTable
newScan
in interface InnerTable
public StreamDataTableScan newStreamScan()
newStreamScan
in interface InnerTable
newStreamScan
in interface ReadonlyTable
public CoreOptions coreOptions()
coreOptions
in interface DataTable
public InnerTableRead newRead()
newRead
in interface InnerTable
public FileMonitorTable copy(Map<String,String> dynamicOptions)
Table
public static RowType getRowType()
public static InternalRow toRow(FileMonitorTable.FileChange change) throws IOException
IOException
public static FileMonitorTable.FileChange toFileChange(InternalRow row) throws IOException
IOException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.