public class DatasourceDefn extends TableDefn
| Modifier and Type | Class and Description |
|---|---|
static class |
DatasourceDefn.HiddenColumnsDefn |
static class |
DatasourceDefn.SegmentGranularityFieldDefn |
| Modifier and Type | Field and Description |
|---|---|
static String |
ALL_GRANULARITY
Catalog property value for the "all time" granularity.
|
static String |
CLUSTER_KEYS_PROPERTY
The clustering column names and sort order for each new segment.
|
static String |
HIDDEN_COLUMNS_PROPERTY
The set of existing columns to "delete" (actually, just hide) from the
SQL layer.
|
static String |
SEALED_PROPERTY
By default: columns are optional hints.
|
static String |
SEGMENT_GRANULARITY_PROPERTY
Segment grain at ingestion and initial compaction.
|
static String |
TABLE_TYPE |
static String |
TARGET_SEGMENT_ROWS_PROPERTY
The target segment size at ingestion and initial compaction.
|
DESCRIPTION_PROPERTY| Constructor and Description |
|---|
DatasourceDefn() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isDatasource(ResolvedTable table) |
static boolean |
isDatasource(String tableType) |
protected void |
validateColumn(ColumnSpec spec)
Table-specific validation of a column spec.
|
bind, merge, mergeColumns, validate, validateColumnsmergeProperties, name, properties, property, toPropertyMap, typeValue, validatepublic static final String SEGMENT_GRANULARITY_PROPERTY
public static final String ALL_GRANULARITY
public static final String TARGET_SEGMENT_ROWS_PROPERTY
public static final String CLUSTER_KEYS_PROPERTY
public static final String HIDDEN_COLUMNS_PROPERTY
public static final String SEALED_PROPERTY
sealed = true.
In other words, "sealed" mode works like a traditional RDBMS.public static final String TABLE_TYPE
protected void validateColumn(ColumnSpec spec)
TableDefnvalidateColumn in class TableDefnpublic static boolean isDatasource(String tableType)
public static boolean isDatasource(ResolvedTable table)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.