Package org.apache.iceberg.spark.actions
Class ManifestFileBean
java.lang.Object
org.apache.iceberg.spark.actions.ManifestFileBean
- All Implemented Interfaces:
Serializable,org.apache.iceberg.ManifestFile
public class ManifestFileBean
extends Object
implements org.apache.iceberg.ManifestFile, Serializable
A serializable bean that contains a bare minimum to read a manifest.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.iceberg.ManifestFile
org.apache.iceberg.ManifestFile.PartitionFieldSummary -
Field Summary
FieldsFields inherited from interface org.apache.iceberg.ManifestFile
ADDED_FILES_COUNT, ADDED_ROWS_COUNT, DELETED_FILES_COUNT, DELETED_ROWS_COUNT, EXISTING_FILES_COUNT, EXISTING_ROWS_COUNT, FIRST_ROW_ID, KEY_METADATA, LENGTH, MANIFEST_CONTENT, MIN_SEQUENCE_NUMBER, PARTITION_SUMMARIES, PARTITION_SUMMARIES_ELEMENT_ID, PARTITION_SUMMARY_TYPE, PATH, SCHEMA, SEQUENCE_NUMBER, SNAPSHOT_ID, SPEC_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.iceberg.ManifestContentcontent()org.apache.iceberg.ManifestFilecopy()static ManifestFileBeanfromManifest(org.apache.iceberg.ManifestFile manifest) byte[]getPath()longlength()longList<org.apache.iceberg.ManifestFile.PartitionFieldSummary>intpath()longvoidsetAddedSnapshotId(Long addedSnapshotId) voidsetContent(Integer content) voidsetFirstRowId(Long firstRowId) voidsetKeyMetadata(byte[] keyMetadata) voidvoidsetPartitionSpecId(Integer partitionSpecId) voidvoidsetSequenceNumber(Long sequenceNumber) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.iceberg.ManifestFile
hasAddedFiles, hasDeletedFiles, hasExistingFiles
-
Field Details
-
ENCODER
-
-
Constructor Details
-
ManifestFileBean
public ManifestFileBean()
-
-
Method Details
-
fromManifest
-
getPath
-
setPath
-
getLength
-
setLength
-
getPartitionSpecId
-
setPartitionSpecId
-
getAddedSnapshotId
-
setAddedSnapshotId
-
getContent
-
setContent
-
getSequenceNumber
-
setSequenceNumber
-
setFirstRowId
-
getKeyMetadata
public byte[] getKeyMetadata() -
setKeyMetadata
public void setKeyMetadata(byte[] keyMetadata) -
path
- Specified by:
pathin interfaceorg.apache.iceberg.ManifestFile
-
length
public long length()- Specified by:
lengthin interfaceorg.apache.iceberg.ManifestFile
-
partitionSpecId
public int partitionSpecId()- Specified by:
partitionSpecIdin interfaceorg.apache.iceberg.ManifestFile
-
content
public org.apache.iceberg.ManifestContent content()- Specified by:
contentin interfaceorg.apache.iceberg.ManifestFile
-
sequenceNumber
public long sequenceNumber()- Specified by:
sequenceNumberin interfaceorg.apache.iceberg.ManifestFile
-
minSequenceNumber
public long minSequenceNumber()- Specified by:
minSequenceNumberin interfaceorg.apache.iceberg.ManifestFile
-
snapshotId
- Specified by:
snapshotIdin interfaceorg.apache.iceberg.ManifestFile
-
addedFilesCount
- Specified by:
addedFilesCountin interfaceorg.apache.iceberg.ManifestFile
-
addedRowsCount
- Specified by:
addedRowsCountin interfaceorg.apache.iceberg.ManifestFile
-
existingFilesCount
- Specified by:
existingFilesCountin interfaceorg.apache.iceberg.ManifestFile
-
existingRowsCount
- Specified by:
existingRowsCountin interfaceorg.apache.iceberg.ManifestFile
-
deletedFilesCount
- Specified by:
deletedFilesCountin interfaceorg.apache.iceberg.ManifestFile
-
deletedRowsCount
- Specified by:
deletedRowsCountin interfaceorg.apache.iceberg.ManifestFile
-
partitions
- Specified by:
partitionsin interfaceorg.apache.iceberg.ManifestFile
-
keyMetadata
- Specified by:
keyMetadatain interfaceorg.apache.iceberg.ManifestFile
-
firstRowId
- Specified by:
firstRowIdin interfaceorg.apache.iceberg.ManifestFile
-
copy
public org.apache.iceberg.ManifestFile copy()- Specified by:
copyin interfaceorg.apache.iceberg.ManifestFile
-