Class CopyTextInputFunction

  • All Implemented Interfaces:
    Serializable, org.apache.spark.api.java.function.PairFunction<scala.Tuple2<org.apache.hadoop.io.LongWritable,​org.apache.hadoop.io.Text>,​org.apache.hadoop.io.LongWritable,​org.apache.hadoop.io.Text>

    public class CopyTextInputFunction
    extends Object
    implements org.apache.spark.api.java.function.PairFunction<scala.Tuple2<org.apache.hadoop.io.LongWritable,​org.apache.hadoop.io.Text>,​org.apache.hadoop.io.LongWritable,​org.apache.hadoop.io.Text>
    See Also:
    Serialized Form
    • Constructor Detail

      • CopyTextInputFunction

        public CopyTextInputFunction()
    • Method Detail

      • call

        public scala.Tuple2<org.apache.hadoop.io.LongWritable,​org.apache.hadoop.io.Text> call​(scala.Tuple2<org.apache.hadoop.io.LongWritable,​org.apache.hadoop.io.Text> arg0)
                                                                                             throws Exception
        Specified by:
        call in interface org.apache.spark.api.java.function.PairFunction<scala.Tuple2<org.apache.hadoop.io.LongWritable,​org.apache.hadoop.io.Text>,​org.apache.hadoop.io.LongWritable,​org.apache.hadoop.io.Text>
        Throws:
        Exception