This project has retired. For details please refer to its
Attic page .
CachingOptions.Builder (Apache Crunch 0.10.0 API)
org.apache.crunch
Class CachingOptions.Builder
java.lang.Object
org.apache.crunch.CachingOptions.Builder
Enclosing class: CachingOptions
public static class CachingOptions.Builder extends Object
A Builder class to use for setting the 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.
CachingOptions.Builder
public CachingOptions.Builder ()
useMemory
public CachingOptions.Builder useMemory (boolean useMemory)
useDisk
public CachingOptions.Builder useDisk (boolean useDisk)
deserialized
public CachingOptions.Builder deserialized (boolean deserialized)
replicas
public CachingOptions.Builder replicas (int replicas)
build
public CachingOptions build ()
Copyright © 2014 The Apache Software Foundation . All Rights Reserved.