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
  extended by 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

Constructor Summary
ToByteArrayFunction()
           
 
Method Summary
 scala.Tuple2<ByteArray,List<byte[]>> call(scala.Tuple2<IntByteArray,List<byte[]>> t)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToByteArrayFunction

public ToByteArrayFunction()
Method Detail

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.