Package io.trino.plugin.clickhouse
Class ClickHouseTableProperties
java.lang.Object
io.trino.plugin.clickhouse.ClickHouseTableProperties
- All Implemented Interfaces:
TablePropertiesProvider
Class contains all table properties for the Clickhouse connector. Used when creating a table:
CREATE TABLE foo (a VARCHAR , b INT) WITH (engine='Log');
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClickHouseEngineTypegetOrderBy(Map<String, Object> tableProperties) getPartitionBy(Map<String, Object> tableProperties) getPrimaryKey(Map<String, Object> tableProperties) getSampleBy(Map<String, Object> tableProperties) List<PropertyMetadata<?>>
-
Field Details
-
ENGINE_PROPERTY
- See Also:
-
ORDER_BY_PROPERTY
- See Also:
-
PARTITION_BY_PROPERTY
- See Also:
-
PRIMARY_KEY_PROPERTY
- See Also:
-
SAMPLE_BY_PROPERTY
- See Also:
-
DEFAULT_TABLE_ENGINE
-
-
Constructor Details
-
ClickHouseTableProperties
@Inject public ClickHouseTableProperties()
-
-
Method Details
-
getEngine
-
getOrderBy
-
getPartitionBy
-
getPrimaryKey
-
getSampleBy
-
getTableProperties
- Specified by:
getTablePropertiesin interfaceTablePropertiesProvider
-