public class SequenceFileRDDFunctions<K,V> extends java.lang.Object implements Logging, scala.Serializable
Constructor and Description |
---|
SequenceFileRDDFunctions(RDD<scala.Tuple2<K,V>> self,
java.lang.Class<? extends org.apache.hadoop.io.Writable> _keyWritableClass,
java.lang.Class<? extends org.apache.hadoop.io.Writable> _valueWritableClass,
scala.Function1<K,org.apache.hadoop.io.Writable> evidence$1,
scala.reflect.ClassTag<K> evidence$2,
scala.Function1<V,org.apache.hadoop.io.Writable> evidence$3,
scala.reflect.ClassTag<V> evidence$4) |
SequenceFileRDDFunctions(RDD<scala.Tuple2<K,V>> self,
scala.Function1<K,org.apache.hadoop.io.Writable> evidence$5,
scala.reflect.ClassTag<K> evidence$6,
scala.Function1<V,org.apache.hadoop.io.Writable> evidence$7,
scala.reflect.ClassTag<V> evidence$8) |
Modifier and Type | Method and Description |
---|---|
void |
saveAsSequenceFile(java.lang.String path,
scala.Option<java.lang.Class<? extends org.apache.hadoop.io.compress.CompressionCodec>> codec)
Output the RDD as a Hadoop SequenceFile using the Writable types we infer from the RDD's key
and value types.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public SequenceFileRDDFunctions(RDD<scala.Tuple2<K,V>> self, java.lang.Class<? extends org.apache.hadoop.io.Writable> _keyWritableClass, java.lang.Class<? extends org.apache.hadoop.io.Writable> _valueWritableClass, scala.Function1<K,org.apache.hadoop.io.Writable> evidence$1, scala.reflect.ClassTag<K> evidence$2, scala.Function1<V,org.apache.hadoop.io.Writable> evidence$3, scala.reflect.ClassTag<V> evidence$4)
public void saveAsSequenceFile(java.lang.String path, scala.Option<java.lang.Class<? extends org.apache.hadoop.io.compress.CompressionCodec>> codec)
path
can be on any Hadoop-supported
file system.path
- (undocumented)codec
- (undocumented)