Class TableKey
java.lang.Object
org.apache.drill.metastore.iceberg.components.tables.TableKey
Is used to uniquely identify Drill table in Metastore Tables component
based on storage plugin, workspace and table name.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
static TableKey
of
(TableMetadataUnit unit) Convert table key data into filter conditions.toLocation
(String base) Constructs table location based on given Iceberg table location.
-
Constructor Details
-
TableKey
-
-
Method Details
-
of
-
storagePlugin
-
workspace
-
tableName
-
toLocation
Constructs table location based on given Iceberg table location. For example, metadata for the table dfs.tmp.nation will be stored in [METASTORE_TABLES_ROOT_DIRECTORY]/dfs/tmp/nation folder.- Parameters:
base
- Iceberg table location- Returns:
- table location
-
toFilterConditions
Convert table key data into filter conditions.- Returns:
- map of with condition references anf values
-
hashCode
public int hashCode() -
equals
-