I am trying to extend DeserializationSchema
for class with generic type
class Foo[T] extends DeserializationSchema[T] {
...
override def getProducedType: TypeInformation[T] = TypeInformation.of(classOf[T])
}
but I'm getting
class type required but T found override def getProducedType: TypeInformation[T] = TypeInformation.of(classOf[T])
any idea