I have a Java class package.SStream where I have implemented the method getValue() which returns a JavaPairDStream<String, Integer>
I want to use this method in Scala's main method
I've imported the class package.SStream in Scala
and when I try to call the method like this in Scala
val x = SStream.getValue()
I get this error :
[error] value getValue is not a member of object package.SStream