Class DatasourceDefn


public class DatasourceDefn extends TableDefn
  • Field Details

    • SEGMENT_GRANULARITY_PROPERTY

      public static final String SEGMENT_GRANULARITY_PROPERTY
      Segment grain at ingestion and initial compaction. Aging rules may override the value as segments age. If not provided here, then it must be provided at ingestion time.
      See Also:
    • ALL_GRANULARITY

      public static final String ALL_GRANULARITY
      Catalog property value for the "all time" granularity.
      See Also:
    • TARGET_SEGMENT_ROWS_PROPERTY

      public static final String TARGET_SEGMENT_ROWS_PROPERTY
      The target segment size at ingestion and initial compaction. If unset, then the system setting is used.
      See Also:
    • CLUSTER_KEYS_PROPERTY

      public static final String CLUSTER_KEYS_PROPERTY
      The clustering column names and sort order for each new segment.
      See Also:
    • PROJECTIONS_KEYS_PROPERTY

      public static final String PROJECTIONS_KEYS_PROPERTY
      See Also:
    • HIDDEN_COLUMNS_PROPERTY

      public static final String HIDDEN_COLUMNS_PROPERTY
      The set of existing columns to "delete" (actually, just hide) from the SQL layer. Used to "remove" unwanted columns to avoid the need to rewrite existing segments to accomplish the task.
      See Also:
    • SEALED_PROPERTY

      public static final String SEALED_PROPERTY
      See Also:
    • TABLE_TYPE

      public static final String TABLE_TYPE
      See Also:
  • Constructor Details

    • DatasourceDefn

      public DatasourceDefn()
  • Method Details

    • validateColumn

      protected void validateColumn(ColumnSpec spec)
      Description copied from class: TableDefn
      Table-specific validation of a column spec. Override for table definitions that need table-specific validation rules.
      Overrides:
      validateColumn in class TableDefn
    • isDatasource

      public static boolean isDatasource(String tableType)
    • isDatasource

      public static boolean isDatasource(ResolvedTable table)