code: def python_to_java_record_batch(self, record_batch):
      c_schema = self.java_c.ArrowSchema.allocateNew(
          self.java_allocator
      )
      c_array = self.java_c.ArrowArray.allocateNew(self.java_allocator)
      record_batch._export_to_c(
          c_array.memoryAddress(), c_schema.memoryAddress()
      )
      return self.java_c.Data.importVectorSchemaRoot(
          self.java_allocator, c_array, c_schema, None
      )
  
imports: import decimal
  import gc
  import os
  import sys
  import unittest
  import xml.etree.ElementTree
  import jpype
  import pyarrow
  import pyarrow.ipc
  from pyarrow.cffi import ffi
label_desc: Use image node_id 8 for calling the Bridge obj's underlying member method code with example usage: obj.python_to_java_record_batch(record_batch) and returns: self