public static final class JCudfSerialization.TableAndRowCountPair extends Object implements Closeable
Constructor and Description |
---|
TableAndRowCountPair(int numRows,
ContiguousTable table) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ContiguousTable |
getContiguousTable()
Get the ContiguousTable that was deserialized or null if there was no
data (e.g.: rows without columns).
|
int |
getNumRows()
Get the number of rows that were deserialized.
|
Table |
getTable()
Get the Table that was deserialized or null if there was no data
(e.g.: rows without columns).
|
public TableAndRowCountPair(int numRows, ContiguousTable table)
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public int getNumRows()
public Table getTable()
NOTE: Ownership of the table is not transferred by this method. The table is still owned by this instance and will be closed when this instance is closed.
public ContiguousTable getContiguousTable()
NOTE: Ownership of the contiguous table is not transferred by this method. The contiguous table is still owned by this instance and will be closed when this instance is closed.
Copyright © 2024. All rights reserved.