Class TableInfo

java.lang.Object
io.deephaven.parquet.table.metadata.TableInfo

@Immutable public abstract class TableInfo extends Object
Representation class for per-table information stored in key-value metadata for Deephaven-written Parquet files.
  • Constructor Details

    • TableInfo

      public TableInfo()
  • Method Details

    • serializeToJSON

      public final String serializeToJSON() throws IOException
      Throws:
      IOException
    • deserializeFromJSON

      public static TableInfo deserializeFromJSON(@NotNull @NotNull String tableInfoRaw) throws IOException
      Throws:
      IOException
    • groupingColumnMap

      public final Map<String,GroupingColumnInfo> groupingColumnMap()
    • columnTypeMap

      public final Map<String,ColumnTypeInfo> columnTypeMap()
    • version

      @Default public String version()
      Returns:
      The Deephaven release version used to write the parquet file
    • groupingColumns

      public abstract List<GroupingColumnInfo> groupingColumns()
      Returns:
      List of grouping columns for columns with grouped data
    • dataIndexes

      public abstract List<DataIndexInfo> dataIndexes()
      Returns:
      List of data indexes for this table
    • columnTypes

      public abstract List<ColumnTypeInfo> columnTypes()
      Returns:
      List of column types for columns requiring non-default deserialization or type selection
    • withColumnTypes

      public abstract TableInfo withColumnTypes(ColumnTypeInfo... elements)
      Returns:
      A copy of this TableInfo with the specified column types replacing any existing column types.
    • withColumnTypes

      public abstract TableInfo withColumnTypes(Iterable<? extends ColumnTypeInfo> elements)
      Returns:
      A copy of this TableInfo with the specified column types replacing any existing column types.
    • sortingColumns

      public abstract List<SortColumnInfo> sortingColumns()
      Returns:
      List of sort columns representing the sort order of the table. Note that these are ordered by precedence, representing a multi-column sort.
    • builder

      public static TableInfo.Builder builder()