Have no ideas how to extend the following java inner class Context (can’t change it)
public class Mapper<KEYIN, VALUEIN, KEYOUT, VALUEOUT>
public abstract class Context
implements MapContext<KEYIN,VALUEIN,KEYOUT,VALUEOUT> { }
code in Kotlin:
class MapperContext<T>(sc: JavaSparkContext) : Mapper<LongWritable, Text, Text, T>.Context(), Serializable{
compiles with : Error:(36, 70) Kotlin: Unresolved reference: Context.
How could I resolve this issue?