public static class TablesMetadataMapper.RowGroupMapper extends TablesMetadataMapper<org.jooq.generated.tables.records.RowGroupsRecord>
TablesMetadataMapper implementation for Tables.ROW_GROUPS table.TablesMetadataMapper.FileMapper, TablesMetadataMapper.PartitionMapper, TablesMetadataMapper.RowGroupMapper, TablesMetadataMapper.SegmentMapper, TablesMetadataMapper.TableMapperCOMPONENT_PARTITION_KEY, TABLE_PARTITION_KEY| Constructor and Description |
|---|
RowGroupMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<MetastoreColumn,org.jooq.Field<?>> |
fieldMapper() |
protected RdbmsFilterExpressionVisitor |
filterVisitor() |
static TablesMetadataMapper.RowGroupMapper |
get() |
protected Function<TableMetadataUnit,List<String>> |
partitionKey() |
org.jooq.Table<org.jooq.generated.tables.records.RowGroupsRecord> |
table() |
protected List<org.jooq.Condition> |
toConditions(List<String> values)
Creates JOOQ conditions based on given list of partition values.
|
org.jooq.generated.tables.records.RowGroupsRecord |
toRecord(TableMetadataUnit unit)
Converts Metastore component metadata unit into RDBMS table record.
|
TableMetadataUnit |
toUnit(org.jooq.Record record)
Converts RDBMS table record into Metastore component metadata unit.
|
emptyUnit, toDeleteConditionstoCondition, toFieldspublic static TablesMetadataMapper.RowGroupMapper get()
public org.jooq.Table<org.jooq.generated.tables.records.RowGroupsRecord> table()
public TableMetadataUnit toUnit(org.jooq.Record record)
MetadataMapperrecord - RDBMS table recordpublic org.jooq.generated.tables.records.RowGroupsRecord toRecord(TableMetadataUnit unit)
MetadataMapperunit - Metastore component metadata unitprotected Map<MetastoreColumn,org.jooq.Field<?>> fieldMapper()
fieldMapper in class AbstractMetadataMapper<TableMetadataUnit,org.jooq.generated.tables.records.RowGroupsRecord>protected RdbmsFilterExpressionVisitor filterVisitor()
filterVisitor in class AbstractMetadataMapper<TableMetadataUnit,org.jooq.generated.tables.records.RowGroupsRecord>protected Function<TableMetadataUnit,List<String>> partitionKey()
partitionKey in class TablesMetadataMapper<org.jooq.generated.tables.records.RowGroupsRecord>protected List<org.jooq.Condition> toConditions(List<String> values)
TablesMetadataMappertoConditions in class TablesMetadataMapper<org.jooq.generated.tables.records.RowGroupsRecord>values - partition valuesCopyright © 2021 The Apache Software Foundation. All rights reserved.