code: def _to_java(self):
      estimator, epms, evaluator = _ValidatorParams._to_java_impl(self)
  
      _java_obj = JavaParams._new_java_obj(
          "com.microsoft.azure.synapse.ml.recommendation.RankingTrainValidationSplit",
          self.uid,
      )
      _java_obj.setEstimatorParamMaps(epms)
      _java_obj.setEvaluator(evaluator)
      _java_obj.setEstimator(estimator)
      _java_obj.setTrainRatio(self.getTrainRatio())
      _java_obj.setSeed(self.getSeed())
      _java_obj.setItemCol(self.getItemCol())
      _java_obj.setUserCol(self.getUserCol())
      _java_obj.setRatingCol(self.getRatingCol())
  
      return _java_obj
  
file_path: SynapseML/core/src/main/python/synapse/ml/recommendation/RankingTrainValidationSplit.py
imports: import sys
  from pyspark.ml.tuning import _ValidatorParams
  from pyspark.ml.wrapper import JavaParams
  from synapse.ml.recommendation._RankingTrainValidationSplit import _RankingTrainValidationSplit
label_desc: Use image node_id 2 for calling the RankingTrainValidationSplit obj's underlying member method code with example usage: obj._to_java() and returns: _java_obj