Package org.apache.iceberg
Interface DataFile
-
- All Superinterfaces:
ContentFile<DataFile>
- All Known Implementing Classes:
SparkDataFile
public interface DataFile extends ContentFile<DataFile>
Interface for data files listed in a table manifest.
-
-
Field Summary
Fields Modifier and Type Field Description static Types.NestedField
COLUMN_SIZES
static Types.NestedField
CONTENT
static Types.NestedField
FILE_FORMAT
static Types.NestedField
FILE_PATH
static Types.NestedField
FILE_SIZE
static Types.NestedField
KEY_METADATA
static Types.NestedField
LOWER_BOUNDS
static Types.NestedField
NULL_VALUE_COUNTS
static java.lang.String
PARTITION_DOC
static int
PARTITION_ID
static java.lang.String
PARTITION_NAME
static Types.NestedField
RECORD_COUNT
static Types.NestedField
SPLIT_OFFSETS
static Types.NestedField
UPPER_BOUNDS
static Types.NestedField
VALUE_COUNTS
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default FileContent
content()
static Types.StructType
getType(Types.StructType partitionType)
-
Methods inherited from interface org.apache.iceberg.ContentFile
columnSizes, copy, copyWithoutStats, fileSizeInBytes, format, keyMetadata, lowerBounds, nullValueCounts, partition, path, recordCount, splitOffsets, upperBounds, valueCounts
-
-
-
-
Field Detail
-
CONTENT
static final Types.NestedField CONTENT
-
FILE_PATH
static final Types.NestedField FILE_PATH
-
FILE_FORMAT
static final Types.NestedField FILE_FORMAT
-
RECORD_COUNT
static final Types.NestedField RECORD_COUNT
-
FILE_SIZE
static final Types.NestedField FILE_SIZE
-
COLUMN_SIZES
static final Types.NestedField COLUMN_SIZES
-
VALUE_COUNTS
static final Types.NestedField VALUE_COUNTS
-
NULL_VALUE_COUNTS
static final Types.NestedField NULL_VALUE_COUNTS
-
LOWER_BOUNDS
static final Types.NestedField LOWER_BOUNDS
-
UPPER_BOUNDS
static final Types.NestedField UPPER_BOUNDS
-
KEY_METADATA
static final Types.NestedField KEY_METADATA
-
SPLIT_OFFSETS
static final Types.NestedField SPLIT_OFFSETS
-
PARTITION_ID
static final int PARTITION_ID
- See Also:
- Constant Field Values
-
PARTITION_NAME
static final java.lang.String PARTITION_NAME
- See Also:
- Constant Field Values
-
PARTITION_DOC
static final java.lang.String PARTITION_DOC
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
static Types.StructType getType(Types.StructType partitionType)
-
content
default FileContent content()
- Specified by:
content
in interfaceContentFile<DataFile>
- Returns:
- the content stored in the file; one of DATA, POSITION_DELETES, or EQUALITY_DELETES
-
-