public class SparkDataFile extends java.lang.Object implements DataFile
COLUMN_SIZES, CONTENT, FILE_FORMAT, FILE_PATH, FILE_SIZE, KEY_METADATA, LOWER_BOUNDS, NULL_VALUE_COUNTS, PARTITION_DOC, PARTITION_ID, PARTITION_NAME, RECORD_COUNT, SPLIT_OFFSETS, UPPER_BOUNDS, VALUE_COUNTS
Constructor and Description |
---|
SparkDataFile(Types.StructType type,
org.apache.spark.sql.types.StructType sparkType) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Integer,java.lang.Long> |
columnSizes() |
DataFile |
copy()
Copies this file.
|
DataFile |
copyWithoutStats()
Copies this file without file stats.
|
long |
fileSizeInBytes() |
FileFormat |
format() |
java.nio.ByteBuffer |
keyMetadata() |
java.util.Map<java.lang.Integer,java.nio.ByteBuffer> |
lowerBounds() |
java.util.Map<java.lang.Integer,java.lang.Long> |
nullValueCounts() |
StructLike |
partition() |
java.lang.CharSequence |
path() |
long |
recordCount() |
java.util.List<java.lang.Long> |
splitOffsets() |
java.util.Map<java.lang.Integer,java.nio.ByteBuffer> |
upperBounds() |
java.util.Map<java.lang.Integer,java.lang.Long> |
valueCounts() |
SparkDataFile |
wrap(org.apache.spark.sql.Row row) |
public SparkDataFile(Types.StructType type, org.apache.spark.sql.types.StructType sparkType)
public SparkDataFile wrap(org.apache.spark.sql.Row row)
public java.lang.CharSequence path()
path
in interface ContentFile<DataFile>
public FileFormat format()
format
in interface ContentFile<DataFile>
public StructLike partition()
partition
in interface ContentFile<DataFile>
StructLike
public long recordCount()
recordCount
in interface ContentFile<DataFile>
public long fileSizeInBytes()
fileSizeInBytes
in interface ContentFile<DataFile>
public java.util.Map<java.lang.Integer,java.lang.Long> columnSizes()
columnSizes
in interface ContentFile<DataFile>
public java.util.Map<java.lang.Integer,java.lang.Long> valueCounts()
valueCounts
in interface ContentFile<DataFile>
public java.util.Map<java.lang.Integer,java.lang.Long> nullValueCounts()
nullValueCounts
in interface ContentFile<DataFile>
public java.util.Map<java.lang.Integer,java.nio.ByteBuffer> lowerBounds()
lowerBounds
in interface ContentFile<DataFile>
public java.util.Map<java.lang.Integer,java.nio.ByteBuffer> upperBounds()
upperBounds
in interface ContentFile<DataFile>
public java.nio.ByteBuffer keyMetadata()
keyMetadata
in interface ContentFile<DataFile>
public DataFile copy()
ContentFile
copy
in interface ContentFile<DataFile>
public DataFile copyWithoutStats()
ContentFile
copyWithoutStats
in interface ContentFile<DataFile>
public java.util.List<java.lang.Long> splitOffsets()
splitOffsets
in interface ContentFile<DataFile>