Class SparkContentFile<F>

java.lang.Object
org.apache.iceberg.spark.SparkContentFile<F>
All Implemented Interfaces:
org.apache.iceberg.ContentFile<F>
Direct Known Subclasses:
SparkDataFile, SparkDeleteFile

public abstract class SparkContentFile<F> extends Object implements org.apache.iceberg.ContentFile<F>
  • Method Details

    • wrap

      public F wrap(org.apache.spark.sql.Row row)
    • asFile

      protected abstract F asFile()
    • pos

      public Long pos()
      Specified by:
      pos in interface org.apache.iceberg.ContentFile<F>
    • specId

      public int specId()
      Specified by:
      specId in interface org.apache.iceberg.ContentFile<F>
    • content

      public org.apache.iceberg.FileContent content()
      Specified by:
      content in interface org.apache.iceberg.ContentFile<F>
    • path

      public CharSequence path()
      Specified by:
      path in interface org.apache.iceberg.ContentFile<F>
    • format

      public org.apache.iceberg.FileFormat format()
      Specified by:
      format in interface org.apache.iceberg.ContentFile<F>
    • partition

      public org.apache.iceberg.StructLike partition()
      Specified by:
      partition in interface org.apache.iceberg.ContentFile<F>
    • recordCount

      public long recordCount()
      Specified by:
      recordCount in interface org.apache.iceberg.ContentFile<F>
    • fileSizeInBytes

      public long fileSizeInBytes()
      Specified by:
      fileSizeInBytes in interface org.apache.iceberg.ContentFile<F>
    • columnSizes

      public Map<Integer,Long> columnSizes()
      Specified by:
      columnSizes in interface org.apache.iceberg.ContentFile<F>
    • valueCounts

      public Map<Integer,Long> valueCounts()
      Specified by:
      valueCounts in interface org.apache.iceberg.ContentFile<F>
    • nullValueCounts

      public Map<Integer,Long> nullValueCounts()
      Specified by:
      nullValueCounts in interface org.apache.iceberg.ContentFile<F>
    • nanValueCounts

      public Map<Integer,Long> nanValueCounts()
      Specified by:
      nanValueCounts in interface org.apache.iceberg.ContentFile<F>
    • lowerBounds

      public Map<Integer,ByteBuffer> lowerBounds()
      Specified by:
      lowerBounds in interface org.apache.iceberg.ContentFile<F>
    • upperBounds

      public Map<Integer,ByteBuffer> upperBounds()
      Specified by:
      upperBounds in interface org.apache.iceberg.ContentFile<F>
    • keyMetadata

      public ByteBuffer keyMetadata()
      Specified by:
      keyMetadata in interface org.apache.iceberg.ContentFile<F>
    • copy

      public F copy()
      Specified by:
      copy in interface org.apache.iceberg.ContentFile<F>
    • copyWithoutStats

      public F copyWithoutStats()
      Specified by:
      copyWithoutStats in interface org.apache.iceberg.ContentFile<F>
    • splitOffsets

      public List<Long> splitOffsets()
      Specified by:
      splitOffsets in interface org.apache.iceberg.ContentFile<F>
    • sortOrderId

      public Integer sortOrderId()
      Specified by:
      sortOrderId in interface org.apache.iceberg.ContentFile<F>
    • equalityFieldIds

      public List<Integer> equalityFieldIds()
      Specified by:
      equalityFieldIds in interface org.apache.iceberg.ContentFile<F>
    • referencedDataFile

      public String referencedDataFile()
    • contentOffset

      public Long contentOffset()
    • contentSizeInBytes

      public Long contentSizeInBytes()