public static class SnapshotDataset.Options extends Object
SnapshotDataset
Modifier and Type | Method and Description |
---|---|
SnapshotDataset.Options |
compression(String compression)
Sets the compression option.
|
SnapshotDataset.Options |
hash(Long hash)
Sets the hash option.
|
SnapshotDataset.Options |
hashValid(Boolean hashValid)
Sets the hashValid option.
|
SnapshotDataset.Options |
metadata(String metadata)
Sets the metadata option.
|
SnapshotDataset.Options |
readerPrefix(String readerPrefix)
Sets the readerPrefix option.
|
SnapshotDataset.Options |
writerPrefix(String writerPrefix)
Sets the writerPrefix option.
|
public SnapshotDataset.Options compression(String compression)
compression
- The type of compression to be applied to the saved snapshot files.public SnapshotDataset.Options readerPrefix(String readerPrefix)
readerPrefix
- the readerPrefix optionpublic SnapshotDataset.Options writerPrefix(String writerPrefix)
writerPrefix
- the writerPrefix optionpublic SnapshotDataset.Options hashValid(Boolean hashValid)
hashValid
- the hashValid optionpublic SnapshotDataset.Options hash(Long hash)
hash
- the hash optionpublic SnapshotDataset.Options metadata(String metadata)
metadata
- the metadata optionCopyright © 2015–2022. All rights reserved.