public static class ReadOptions.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ReadOptions |
build() |
ReadOptions.Builder |
setBlockSize(int blockSize)
Block size in bytes.
|
ReadOptions.Builder |
setIndexCacheSize(int indexCacheSize)
Deprecated.
|
ReadOptions.Builder |
setIndexCacheSizeBytes(long indexCacheSizeBytes)
Index cache size in bytes.
|
ReadOptions.Builder |
setMetadataCacheSize(int metadataCacheSize)
Deprecated.
Use
setMetadataCacheSizeBytes(long) instead |
ReadOptions.Builder |
setMetadataCacheSizeBytes(long metadataCacheSizeBytes)
Size of the metadata cache in bytes.
|
ReadOptions.Builder |
setStorageOptions(Map<String,String> storageOptions)
Set storage options.
|
ReadOptions.Builder |
setVersion(int version)
Set the version of the dataset to read.
|
public ReadOptions.Builder setVersion(int version)
version - the version of the datasetpublic ReadOptions.Builder setBlockSize(int blockSize)
blockSize - the block size in bytespublic ReadOptions.Builder setIndexCacheSizeBytes(long indexCacheSizeBytes)
indexCacheSizeBytes - the index cache size in bytes@Deprecated public ReadOptions.Builder setIndexCacheSize(int indexCacheSize)
indexCacheSize - the index cache sizepublic ReadOptions.Builder setMetadataCacheSizeBytes(long metadataCacheSizeBytes)
metadataCacheSizeBytes - the metadata cache size in bytes@Deprecated public ReadOptions.Builder setMetadataCacheSize(int metadataCacheSize)
setMetadataCacheSizeBytes(long) insteadsetMetadataCacheSizeBytes(long) instead.metadataCacheSize - the metadata cache size (entry count)public ReadOptions.Builder setStorageOptions(Map<String,String> storageOptions)
storageOptions - the storage optionspublic ReadOptions build()
Copyright © 2025. All rights reserved.