public interface ManifestFile
Modifier and Type | Interface and Description |
---|---|
static interface |
ManifestFile.PartitionFieldSummary
Summarizes the values of one partition field stored in a manifest file.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
addedFilesCount() |
ManifestFile |
copy()
Copies this
manifest file . |
java.lang.Integer |
deletedFilesCount() |
java.lang.Integer |
existingFilesCount() |
long |
length() |
java.util.List<ManifestFile.PartitionFieldSummary> |
partitions()
Returns a list of
partition field summaries . |
int |
partitionSpecId() |
java.lang.String |
path() |
static Schema |
schema() |
java.lang.Long |
snapshotId() |
static final Schema SCHEMA
static Schema schema()
java.lang.String path()
long length()
int partitionSpecId()
PartitionSpec
used to write the manifest filejava.lang.Long snapshotId()
java.lang.Integer addedFilesCount()
java.lang.Integer existingFilesCount()
java.lang.Integer deletedFilesCount()
java.util.List<ManifestFile.PartitionFieldSummary> partitions()
partition field summaries
.
Each summary corresponds to a field in the manifest file's partition spec, by ordinal. For example, the partition spec [ ts_day=date(ts), type=identity(type) ] will have 2 summaries. The first summary is for the ts_day partition field and the second is for the type partition field.
ManifestFile copy()
manifest file
. Readers can reuse manifest file instances; use
this method to make defensive copies.