Package io.trino.plugin.phoenix5
Class PhoenixTableProperties
java.lang.Object
io.trino.plugin.phoenix5.PhoenixTableProperties
- All Implemented Interfaces:
TablePropertiesProvider
Class contains all table properties for the Phoenix connector. Used when creating a table:
CREATE TABLE foo (a VARCHAR with (primary_key = true), b INT) WITH (SALT_BUCKETS=10, VERSIONS=5, COMPRESSION='lz');
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<org.apache.hadoop.hbase.regionserver.BloomType>getBloomfilter(Map<String, Object> tableProperties) static Optional<org.apache.hadoop.hbase.io.compress.Compression.Algorithm>getCompression(Map<String, Object> tableProperties) static Optional<org.apache.hadoop.hbase.io.encoding.DataBlockEncoding>getDataBlockEncoding(Map<String, Object> tableProperties) getDefaultColumnFamily(Map<String, Object> tableProperties) getDisableWal(Map<String, Object> tableProperties) getImmutableRows(Map<String, Object> tableProperties) getMinVersions(Map<String, Object> tableProperties) getRowkeys(Map<String, Object> tableProperties) getSaltBuckets(Map<String, Object> tableProperties) getSplitOn(Map<String, Object> tableProperties) List<PropertyMetadata<?>>getTimeToLive(Map<String, Object> tableProperties) getVersions(Map<String, Object> tableProperties)
-
Field Details
-
ROWKEYS
- See Also:
-
SALT_BUCKETS
- See Also:
-
SPLIT_ON
- See Also:
-
DISABLE_WAL
- See Also:
-
IMMUTABLE_ROWS
- See Also:
-
DEFAULT_COLUMN_FAMILY
- See Also:
-
BLOOMFILTER
- See Also:
-
VERSIONS
- See Also:
-
MIN_VERSIONS
- See Also:
-
COMPRESSION
- See Also:
-
TTL
- See Also:
-
DATA_BLOCK_ENCODING
- See Also:
-
-
Constructor Details
-
PhoenixTableProperties
@Inject public PhoenixTableProperties()
-
-
Method Details
-
getTableProperties
- Specified by:
getTablePropertiesin interfaceTablePropertiesProvider
-
getSaltBuckets
-
getSplitOn
-
getRowkeys
-
getDisableWal
-
getImmutableRows
-
getDefaultColumnFamily
-
getBloomfilter
-
getVersions
-
getMinVersions
-
getCompression
-
getDataBlockEncoding
-
getTimeToLive
-