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:
  • Field Details

    • ENCODER

      public static final org.apache.spark.sql.Encoder<ManifestFileBean> ENCODER
  • Constructor Details

    • ManifestFileBean

      public ManifestFileBean()
  • Method Details

    • fromManifest

      public static ManifestFileBean fromManifest(org.apache.iceberg.ManifestFile manifest)
    • getPath

      public String getPath()
    • setPath

      public void setPath(String path)
    • getLength

      public Long getLength()
    • setLength

      public void setLength(Long length)
    • getPartitionSpecId

      public Integer getPartitionSpecId()
    • setPartitionSpecId

      public void setPartitionSpecId(Integer partitionSpecId)
    • getAddedSnapshotId

      public Long getAddedSnapshotId()
    • setAddedSnapshotId

      public void setAddedSnapshotId(Long addedSnapshotId)
    • getContent

      public Integer getContent()
    • setContent

      public void setContent(Integer content)
    • getSequenceNumber

      public Long getSequenceNumber()
    • setSequenceNumber

      public void setSequenceNumber(Long sequenceNumber)
    • setFirstRowId

      public void setFirstRowId(Long firstRowId)
    • getKeyMetadata

      public byte[] getKeyMetadata()
    • setKeyMetadata

      public void setKeyMetadata(byte[] keyMetadata)
    • path

      public String path()
      Specified by:
      path in interface org.apache.iceberg.ManifestFile
    • length

      public long length()
      Specified by:
      length in interface org.apache.iceberg.ManifestFile
    • partitionSpecId

      public int partitionSpecId()
      Specified by:
      partitionSpecId in interface org.apache.iceberg.ManifestFile
    • content

      public org.apache.iceberg.ManifestContent content()
      Specified by:
      content in interface org.apache.iceberg.ManifestFile
    • sequenceNumber

      public long sequenceNumber()
      Specified by:
      sequenceNumber in interface org.apache.iceberg.ManifestFile
    • minSequenceNumber

      public long minSequenceNumber()
      Specified by:
      minSequenceNumber in interface org.apache.iceberg.ManifestFile
    • snapshotId

      public Long snapshotId()
      Specified by:
      snapshotId in interface org.apache.iceberg.ManifestFile
    • addedFilesCount

      public Integer addedFilesCount()
      Specified by:
      addedFilesCount in interface org.apache.iceberg.ManifestFile
    • addedRowsCount

      public Long addedRowsCount()
      Specified by:
      addedRowsCount in interface org.apache.iceberg.ManifestFile
    • existingFilesCount

      public Integer existingFilesCount()
      Specified by:
      existingFilesCount in interface org.apache.iceberg.ManifestFile
    • existingRowsCount

      public Long existingRowsCount()
      Specified by:
      existingRowsCount in interface org.apache.iceberg.ManifestFile
    • deletedFilesCount

      public Integer deletedFilesCount()
      Specified by:
      deletedFilesCount in interface org.apache.iceberg.ManifestFile
    • deletedRowsCount

      public Long deletedRowsCount()
      Specified by:
      deletedRowsCount in interface org.apache.iceberg.ManifestFile
    • partitions

      public List<org.apache.iceberg.ManifestFile.PartitionFieldSummary> partitions()
      Specified by:
      partitions in interface org.apache.iceberg.ManifestFile
    • keyMetadata

      public ByteBuffer keyMetadata()
      Specified by:
      keyMetadata in interface org.apache.iceberg.ManifestFile
    • firstRowId

      public Long firstRowId()
      Specified by:
      firstRowId in interface org.apache.iceberg.ManifestFile
    • copy

      public org.apache.iceberg.ManifestFile copy()
      Specified by:
      copy in interface org.apache.iceberg.ManifestFile