diff --git a/py/server/deephaven/table.py b/py/server/deephaven/table.py index 526e0819e31..2eca7ae3417 100644 --- a/py/server/deephaven/table.py +++ b/py/server/deephaven/table.py @@ -30,7 +30,7 @@ from deephaven.updateby import UpdateByOperation # Table -_J_Table = jpy.get_type("io.deephaven.engine.table.Table") +_JTable = jpy.get_type("io.deephaven.engine.table.Table") _JAttributeMap = jpy.get_type("io.deephaven.engine.table.AttributeMap") _JTableTools = jpy.get_type("io.deephaven.engine.util.TableTools") _JColumnName = jpy.get_type("io.deephaven.api.ColumnName") @@ -426,7 +426,7 @@ class Table(JObjectWrapper): data ingestion operations, queries, aggregations, joins, etc. """ - j_object_type = _J_Table + j_object_type = _JTable def __init__(self, j_table: jpy.JType): self.j_table = jpy.cast(j_table, self.j_object_type) diff --git a/py/server/deephaven/table_factory.py b/py/server/deephaven/table_factory.py index c5f62bd2eb1..e7c12a06480 100644 --- a/py/server/deephaven/table_factory.py +++ b/py/server/deephaven/table_factory.py @@ -23,6 +23,7 @@ _JTableFactory = jpy.get_type("io.deephaven.engine.table.TableFactory") _JTableTools = jpy.get_type("io.deephaven.engine.util.TableTools") _JDynamicTableWriter = jpy.get_type("io.deephaven.engine.table.impl.util.DynamicTableWriter") +_JBaseArrayBackedInputTable = jpy.get_type("io.deephaven.engine.table.impl.util.BaseArrayBackedInputTable") _JAppendOnlyArrayBackedInputTable = jpy.get_type( "io.deephaven.engine.table.impl.util.AppendOnlyArrayBackedInputTable") _JKeyedArrayBackedInputTable = jpy.get_type("io.deephaven.engine.table.impl.util.KeyedArrayBackedInputTable") @@ -32,7 +33,6 @@ _JRingTableTools = jpy.get_type("io.deephaven.engine.table.impl.sources.ring.RingTableTools") _JSupplier = jpy.get_type('java.util.function.Supplier') _JFunctionGeneratedTableFactory = jpy.get_type("io.deephaven.engine.table.impl.util.FunctionGeneratedTableFactory") -_JInputTableStatusListener = jpy.get_type("io.deephaven.engine.util.input.InputTableStatusListener") def empty_table(size: int) -> Table: @@ -235,6 +235,7 @@ class InputTable(Table): Users should always create InputTables through factory methods rather than directly from the constructor. """ + j_object_type = _JBaseArrayBackedInputTable def __init__(self, j_table: jpy.JType): super().__init__(j_table)