public static class CachingOptions.Builder extends Object
CachingOptions
for a PCollection
. The default
settings are to keep a single replica of the data deserialized in memory, without writing to disk
unless it is required due to resource limitations.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CachingOptions |
build() |
CachingOptions.Builder |
deserialized(boolean deserialized) |
CachingOptions.Builder |
replicas(int replicas) |
CachingOptions.Builder |
useDisk(boolean useDisk) |
CachingOptions.Builder |
useMemory(boolean useMemory) |
public CachingOptions.Builder useMemory(boolean useMemory)
public CachingOptions.Builder useDisk(boolean useDisk)
public CachingOptions.Builder deserialized(boolean deserialized)
public CachingOptions.Builder replicas(int replicas)
public CachingOptions build()
Copyright © 2016 The Apache Software Foundation. All rights reserved.