Class TableDebug

java.lang.Object
ai.rapids.cudf.TableDebug

public class TableDebug extends Object
  • Field Details

    • OUTPUT_STREAM

      public static final String OUTPUT_STREAM
      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
      See Also:
  • Method Details

    • builder

      public static TableDebug.Builder builder()
    • get

      public static TableDebug get()
    • debug

      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.
    • debug

      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.
    • debug

      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.