K
- the key type of its partitions.@ThreadSafe public final class LocalFileMetadata<K extends Serializable> extends FileMetadata<K>
Block
.
It resides in local only, and does not synchronize globally.Constructor and Description |
---|
LocalFileMetadata()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
commitBlock()
Notifies that all writes are finished for the block corresponding to this metadata.
|
void |
deleteMetadata()
Deletes the metadata.
|
getPartitionMetadataIterable, setCommitted, writePartitionMetadata
public void deleteMetadata()
FileMetadata
deleteMetadata
in class FileMetadata<K extends Serializable>
FileMetadata.deleteMetadata()
public void commitBlock()
commitBlock
in class FileMetadata<K extends Serializable>
Copyright © 2018. All rights reserved.