Class TableInfo
java.lang.Object
io.deephaven.parquet.table.metadata.TableInfo
Representation class for per-table information stored in key-value metadata for Deephaven-written Parquet files.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TableInfo.Builderbuilder()final Map<String,ColumnTypeInfo> abstract List<ColumnTypeInfo>abstract List<DataIndexInfo>static TableInfodeserializeFromJSON(@NotNull String tableInfoRaw) final Map<String,GroupingColumnInfo> abstract List<GroupingColumnInfo>final Stringabstract List<SortColumnInfo>version()abstract TableInfowithColumnTypes(ColumnTypeInfo... elements) abstract TableInfowithColumnTypes(Iterable<? extends ColumnTypeInfo> elements)
-
Constructor Details
-
TableInfo
public TableInfo()
-
-
Method Details
-
serializeToJSON
- Throws:
IOException
-
deserializeFromJSON
public static TableInfo deserializeFromJSON(@NotNull @NotNull String tableInfoRaw) throws IOException - Throws:
IOException
-
groupingColumnMap
-
columnTypeMap
-
version
- Returns:
- The Deephaven release version used to write the parquet file
-
groupingColumns
- Returns:
- List of
grouping columnsfor columns with grouped data
-
dataIndexes
- Returns:
- List of
data indexesfor this table
-
columnTypes
- Returns:
- List of
column typesfor columns requiring non-default deserialization or type selection
-
withColumnTypes
- Returns:
- A copy of this TableInfo with the specified column types replacing any existing column types.
-
withColumnTypes
- Returns:
- A copy of this TableInfo with the specified column types replacing any existing column types.
-
sortingColumns
- Returns:
- List of
sort columnsrepresenting the sort order of the table. Note that these are ordered by precedence, representing a multi-column sort.
-
builder
-