public static final class JCudfSerialization.SerializedTableHeader extends Object
| Constructor and Description |
|---|
SerializedTableHeader(DataInputStream din) |
| Modifier and Type | Method and Description |
|---|---|
DType |
getColumnType(int columnIndex) |
long |
getDataLen()
Returns the size of a buffer needed to read data into the stream.
|
int |
getNumColumns()
Returns the number of columns stored in this table
|
int |
getNumRows()
Returns the number of rows stored in this table.
|
boolean |
wasDataRead()
Set to true once data is successfully read from a stream by readTableIntoBuffer.
|
boolean |
wasInitialized()
Returns true if the metadata for this table was read, else false indicating an EOF was
encountered.
|
void |
writeTo(ai.rapids.cudf.JCudfSerialization.DataWriter dout) |
public SerializedTableHeader(DataInputStream din) throws IOException
IOExceptionpublic DType getColumnType(int columnIndex)
public boolean wasDataRead()
public long getDataLen()
public int getNumRows()
public int getNumColumns()
public boolean wasInitialized()
public void writeTo(ai.rapids.cudf.JCudfSerialization.DataWriter dout)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.