This project has retired. For details please refer to its
Attic page.
ToByteArrayFunction (Apache Crunch 0.11.0 API)
org.apache.crunch.impl.spark.collect
Class ToByteArrayFunction
java.lang.Object
org.apache.crunch.impl.spark.collect.ToByteArrayFunction
- All Implemented Interfaces:
- Serializable, org.apache.spark.api.java.function.PairFunction<scala.Tuple2<IntByteArray,List<byte[]>>,ByteArray,List<byte[]>>
public class ToByteArrayFunction
- extends Object
- implements org.apache.spark.api.java.function.PairFunction<scala.Tuple2<IntByteArray,List<byte[]>>,ByteArray,List<byte[]>>
- See Also:
- Serialized Form
ToByteArrayFunction
public ToByteArrayFunction()
call
public scala.Tuple2<ByteArray,List<byte[]>> call(scala.Tuple2<IntByteArray,List<byte[]>> t)
throws Exception
- Specified by:
call
in interface org.apache.spark.api.java.function.PairFunction<scala.Tuple2<IntByteArray,List<byte[]>>,ByteArray,List<byte[]>>
- Throws:
Exception
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.