MCPcopy Create free account
hub / github.com/apache/arrow / __init__

Method __init__

dev/archery/archery/integration/tester_java.py:104–113  ·  view source on GitHub ↗
(self, debug, args)

Source from the content-addressed store, hash-verified

102class _CDataBase:
103
104 def __init__(self, debug, args):
105 import jpype
106 self.debug = debug
107 self.args = args
108 self.ffi = cdata.ffi()
109 setup_jpype()
110 # JPype pointers to java.io, org.apache.arrow...
111 self.java_io = jpype.JPackage("java").io
112 self.java_arrow = jpype.JPackage("org").apache.arrow
113 self.java_allocator = self._make_java_allocator()
114
115 def _pointer_to_int(self, c_ptr):
116 return int(self.ffi.cast('uintptr_t', c_ptr))

Callers 1

__init__Method · 0.45

Calls 2

_make_java_allocatorMethod · 0.95
setup_jpypeFunction · 0.85

Tested by

no test coverage detected