U - Metastore component metadata typeR - RDBMS table record typepublic abstract class AbstractMetadataMapper<U,R extends org.jooq.Record> extends Object implements MetadataMapper<U,R>
MetadataMapper interface which contains
common code for all Metastore component metadata and RDBMS table types.| Constructor and Description |
|---|
AbstractMetadataMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Map<MetastoreColumn,org.jooq.Field<?>> |
fieldMapper() |
protected abstract RdbmsFilterExpressionVisitor |
filterVisitor() |
org.jooq.Condition |
toCondition(FilterExpression filter)
Converts Metastore filter expression into JOOQ condition instance
which will be used as where clause in SQL query.
|
List<org.jooq.Field<?>> |
toFields(List<MetastoreColumn> columns)
Matches given list of Metastore columns to the available
RDBMS table columns.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitemptyUnit, table, toDeleteConditions, toRecord, toUnitpublic List<org.jooq.Field<?>> toFields(List<MetastoreColumn> columns)
MetadataMappertoFields in interface MetadataMapper<U,R extends org.jooq.Record>columns - list of Metastore columnspublic org.jooq.Condition toCondition(FilterExpression filter)
MetadataMappertoCondition in interface MetadataMapper<U,R extends org.jooq.Record>filter - filter expressionprotected abstract Map<MetastoreColumn,org.jooq.Field<?>> fieldMapper()
protected abstract RdbmsFilterExpressionVisitor filterVisitor()
Copyright © 2021 The Apache Software Foundation. All rights reserved.