Package org.apache.iceberg.spark
Class SparkDataFile
java.lang.Object
org.apache.iceberg.spark.SparkContentFile<org.apache.iceberg.DataFile>
org.apache.iceberg.spark.SparkDataFile
- All Implemented Interfaces:
org.apache.iceberg.ContentFile<org.apache.iceberg.DataFile>,org.apache.iceberg.DataFile
public class SparkDataFile
extends SparkContentFile<org.apache.iceberg.DataFile>
implements org.apache.iceberg.DataFile
-
Field Summary
Fields inherited from interface org.apache.iceberg.DataFile
COLUMN_SIZES, CONTENT, CONTENT_OFFSET, CONTENT_SIZE, EQUALITY_IDS, FILE_FORMAT, FILE_PATH, FILE_SIZE, FIRST_ROW_ID, KEY_METADATA, LOWER_BOUNDS, NAN_VALUE_COUNTS, NULL_VALUE_COUNTS, PARTITION_DOC, PARTITION_ID, PARTITION_NAME, RECORD_COUNT, REFERENCED_DATA_FILE, SORT_ORDER_ID, SPEC_ID, SPLIT_OFFSETS, UPPER_BOUNDS, VALUE_COUNTS -
Constructor Summary
ConstructorsConstructorDescriptionSparkDataFile(org.apache.iceberg.types.Types.StructType type, org.apache.iceberg.types.Types.StructType projectedType, org.apache.spark.sql.types.StructType sparkType) SparkDataFile(org.apache.iceberg.types.Types.StructType type, org.apache.spark.sql.types.StructType sparkType) -
Method Summary
Methods inherited from class org.apache.iceberg.spark.SparkContentFile
columnSizes, content, contentOffset, contentSizeInBytes, copy, copyWithoutStats, fileSizeInBytes, format, keyMetadata, lowerBounds, nanValueCounts, nullValueCounts, partition, path, pos, recordCount, referencedDataFile, sortOrderId, specId, splitOffsets, upperBounds, valueCounts, wrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.iceberg.ContentFile
columnSizes, copy, copy, copyWithoutStats, copyWithStats, dataSequenceNumber, fileSequenceNumber, fileSizeInBytes, firstRowId, format, keyMetadata, location, lowerBounds, manifestLocation, nanValueCounts, nullValueCounts, partition, path, pos, recordCount, sortOrderId, specId, splitOffsets, upperBounds, valueCountsMethods inherited from interface org.apache.iceberg.DataFile
content
-
Constructor Details
-
SparkDataFile
public SparkDataFile(org.apache.iceberg.types.Types.StructType type, org.apache.spark.sql.types.StructType sparkType) -
SparkDataFile
public SparkDataFile(org.apache.iceberg.types.Types.StructType type, org.apache.iceberg.types.Types.StructType projectedType, org.apache.spark.sql.types.StructType sparkType)
-
-
Method Details
-
asFile
protected org.apache.iceberg.DataFile asFile()- Specified by:
asFilein classSparkContentFile<org.apache.iceberg.DataFile>
-
equalityFieldIds
- Specified by:
equalityFieldIdsin interfaceorg.apache.iceberg.ContentFile<org.apache.iceberg.DataFile>- Specified by:
equalityFieldIdsin interfaceorg.apache.iceberg.DataFile- Overrides:
equalityFieldIdsin classSparkContentFile<org.apache.iceberg.DataFile>
-