TableDebug#
- public class TableDebug#
A debugging utility that prints the contents of tables and columns.
Obtain an instance with
get()orbuilder(); by default the output goes to the destination named by the {@value OUTPUT_STREAM} system property, or standard error if it is not set. This is slow and is meant for debugging only.Field Summary
Specify one of -Dai.rapids.cudf.debug.output=stderr to print directly to standard error (default) -Dai.rapids.cudf.debug.output=stdout to print directly to standard output -Dai.rapids.cudf.debug.output=log[_level] to redirect to a logging subsystem that can further be configured.
Method Summary
Print the contents of a column.
Print the contents of a column.
Print the contents of a table.
Static Fields
- public static final String OUTPUT_STREAM = "ai.rapids.cudf.debug.output"#
Specify one of -Dai.rapids.cudf.debug.output=stderr to print directly to standard error (default) -Dai.rapids.cudf.debug.output=stdout to print directly to standard output -Dai.rapids.cudf.debug.output=log[_level] to redirect to a logging subsystem that can further be configured.
Supported log levels: debug (default) info warn error
Methods
- public void debug(String name, Table table)#
Print the contents of a table.
Note that this should never be called from production code, as it is very slow. Also note that this is not production code. You might need/want to update how the data shows up or add in support for more types as this really is just for debugging.
- Parameters:
name – the name of the table to print out.
table – the table to print out.
- public void debug(String name, ColumnView col)#
Print the contents of a column.
Note that this should never be called from production code, as it is very slow. Also note that this is not production code. You might need/want to update how the data shows up or add in support for more types as this really is just for debugging.
- Parameters:
name – the name of the column to print out.
col – the column to print out.
- public void debug(String name, HostColumnVectorCore hostCol)#
Print the contents of a column.
Note that this should never be called from production code, as it is very slow. Also note that this is not production code. You might need/want to update how the data shows up or add in support for more types as this really is just for debugging.
- Parameters:
name – the name of the column to print out.
hostCol – the column to print out.
- public enum Output#
Enum Constant Summary
- public static class Builder#
Constructor Summary
Method Summary