Class EnterpriseTableTools
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic TableRead the Deephaven format table at the specified path.static TablereadTable(@NotNull File location, @NotNull TableDefinition definition) Read the Deephaven format table at the specified path and given definition.static TableRead the Deephaven format table at the specified path.static voidwriteTable(@NotNull Table table, @NotNull TableDefinition definition, @NotNull File path) Write the input table to the specified path in Deephaven format.static voidwriteTable(@NotNull Table table, @NotNull TableDefinition definition, @NotNull File path, @NotNull String... groupingColumns) Write the input table to the specified path in Deephaven format.static voidwriteTable(@NotNull Table table, @NotNull TableDefinition definition, @NotNull String path) Write the input table to the specified path in Deephaven format.static voidwriteTable(@NotNull Table table, @NotNull File path) Write the input table to the specified path in Deephaven format.static voidwriteTable(@NotNull Table table, @NotNull String path) Write the input table to the specified path in Deephaven format.
-
Field Details
-
STANDALONE_PARTITIONS
-
-
Method Details
-
readTable
Read the Deephaven format table at the specified path.- Parameters:
path- the path to the table- Returns:
- the read
Table
-
readTable
Read the Deephaven format table at the specified path.- Parameters:
location- the path to the table.- Returns:
- the read
Table
-
readTable
public static Table readTable(@NotNull @NotNull File location, @NotNull @NotNull TableDefinition definition) Read the Deephaven format table at the specified path and given definition.- Parameters:
location- the path to the table.definition- the definition for the table.- Returns:
- the read
Table
-
writeTable
Write the input table to the specified path in Deephaven format.- Parameters:
table- the inputTableto writepath- the path to write to
-
writeTable
Write the input table to the specified path in Deephaven format.- Parameters:
table- the inputTableto writepath- 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
TableDefinitionso that users may specify different column attributes (grouping, for example) than the supplied source table may have.The supplied definition must be
compatiblewith the definition of the inputTable.If you do not need to adjust column attributes then use
writeTable(Table, File)instead.- Parameters:
table- the inputTableto writedefinition- the definition to use for the table to writepath- 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
TableDefinitionso that users may specify different column attributes (grouping, for example) than the supplied source table may have.The supplied definition must be
compatiblewith the definition of the inputTable.If you do not need to adjust column attributes then use
writeTable(Table, File)instead.- Parameters:
table- the inputTableto writedefinition- the definition to use for the table to writepath- the path to write to
-
writeTable
public static void writeTable(@NotNull @NotNull Table table, @NotNull @NotNull TableDefinition definition, @NotNull @NotNull File path, @NotNull @NotNull String... groupingColumns) Write the input table to the specified path in Deephaven format. This method allows you to provide a separate
TableDefinitionso that users may specify different column attributes (grouping, for example) than the supplied source table may have.The supplied definition must be
compatiblewith the definition of the inputTable.If you do not need to adjust column attributes then use
writeTable(Table, File)instead.- Parameters:
table- the inputTableto writedefinition- the definition to use for the table to writepath- the path to write togroupingColumns- the columns to mark as grouping
-