Class EnterpriseTableTools

java.lang.Object
io.deephaven.enterprise.table.EnterpriseTableTools

public final class EnterpriseTableTools extends Object
Provides utility methods to read and write individual Deephaven format Tables.
  • Method Details

    • readTable

      public static Table readTable(@NotNull @NotNull String path)
      Read the Deephaven format table at the specified path.
      Parameters:
      path - the path to the table
      Returns:
      the read Table
    • readTable

      public static Table readTable(File location)
      Read the Deephaven format table at the specified path.
      Parameters:
      location - the path to the table.
      Returns:
      the read Table
    • writeTable

      public static void writeTable(@NotNull @NotNull Table table, @NotNull @NotNull String path)
      Write the input table to the specified path in Deephaven format.
      Parameters:
      table - the input Table to write
      path - the path to write to
    • writeTable

      public static void writeTable(@NotNull @NotNull Table table, @NotNull @NotNull File path)
      Write the input table to the specified path in Deephaven format.
      Parameters:
      table - the input Table to write
      path - the path to write to
    • writeTable

      public static void writeTable(@NotNull @NotNull Table table, @NotNull @NotNull TableDefinition definition, @NotNull @NotNull String path)

      Write the input table to the specified path in Deephaven format. This method allows you to provide a separate TableDefinition so that users may specify different column attributes (grouping, for example) than the supplied source table may have.

      The supplied definition must be compatible with the definition of the input Table.

      If you do not need to adjust column attributes then use writeTable(Table, File) instead.

      Parameters:
      table - the input Table to write
      definition - the definition to use for the table to write
      path - the path to write to
    • writeTable

      public static void writeTable(@NotNull @NotNull Table table, @NotNull @NotNull TableDefinition definition, @NotNull @NotNull File path)

      Write the input table to the specified path in Deephaven format. This method allows you to provide a separate TableDefinition so that users may specify different column attributes (grouping, for example) than the supplied source table may have.

      The supplied definition must be compatible with the definition of the input Table.

      If you do not need to adjust column attributes then use writeTable(Table, File) instead.

      Parameters:
      table - the input Table to write
      definition - the definition to use for the table to write
      path - the path to write to