code: def _to_java_object_rdd(rdd):
      
      rdd = rdd._reserialize(AutoBatchedSerializer(PickleSerializer()))
      return rdd.ctx._jvm.org.apache.spark.mllib.api.python.SerDe.pythonToJava(rdd._jrdd, True)
docs: Return a JavaRDD of Object by unpickling
  
      It will convert each Python object into Java object by Pyrolite, whenever the
      RDD is serialized in batch or not.