Class EnterpriseTableTools
-
Method Summary
Modifier and TypeMethodDescriptionstatic Table
Read the Deephaven format table at the specified path.static Table
Read the Deephaven format table at the specified path.static void
writeTable
(@NotNull Table table, @NotNull TableDefinition definition, @NotNull File path) Write the input table to the specified path in Deephaven format.static void
writeTable
(@NotNull Table table, @NotNull TableDefinition definition, @NotNull String path) Write the input table to the specified path in Deephaven format.static void
writeTable
(@NotNull Table table, @NotNull File path) Write the input table to the specified path in Deephaven format.static void
writeTable
(@NotNull Table table, @NotNull String path) Write the input table to the specified path in Deephaven format.
-
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
-
writeTable
Write the input table to the specified path in Deephaven format.- Parameters:
table
- the inputTable
to writepath
- the path to write to
-
writeTable
Write the input table to the specified path in Deephaven format.- Parameters:
table
- the inputTable
to 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
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 inputTable
.If you do not need to adjust column attributes then use
writeTable(Table, File)
instead.- Parameters:
table
- the inputTable
to 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
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 inputTable
.If you do not need to adjust column attributes then use
writeTable(Table, File)
instead.- Parameters:
table
- the inputTable
to writedefinition
- the definition to use for the table to writepath
- the path to write to
-