Class IcebergTables
java.lang.Object
org.apache.drill.metastore.iceberg.components.tables.IcebergTables
- All Implemented Interfaces:
Tables
,IcebergMetastoreContext<TableMetadataUnit>
,Operations<TableMetadataUnit>
public class IcebergTables
extends Object
implements Tables, IcebergMetastoreContext<TableMetadataUnit>
Metastore Tables component which stores tables metadata in the corresponding Iceberg table.
Provides methods to read and modify tables metadata.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncontext()
Returns expiration handler that expires Iceberg table metadata.Returns file writer which stores Metastore component data in the format supported by theFileWriter
implementation.metadata()
modify()
read()
org.apache.iceberg.Table
table()
Returns Iceberg table implementation used as storage for Metastore component data.Returns transformer instance that provides tools to transform filters, operations and data.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.drill.metastore.components.tables.Tables
basicRequests
-
Field Details
-
SCHEMA
-
-
Constructor Details
-
IcebergTables
public IcebergTables(org.apache.iceberg.Table table)
-
-
Method Details
-
context
-
metadata
- Specified by:
metadata
in interfaceOperations<TableMetadataUnit>
- Returns:
- component metadata instance
-
read
- Specified by:
read
in interfaceOperations<TableMetadataUnit>
- Returns:
- component read mechanism implementation
-
modify
- Specified by:
modify
in interfaceOperations<TableMetadataUnit>
- Returns:
- component write mechanism implementation
-
table
public org.apache.iceberg.Table table()Description copied from interface:IcebergMetastoreContext
Returns Iceberg table implementation used as storage for Metastore component data.- Specified by:
table
in interfaceIcebergMetastoreContext<TableMetadataUnit>
- Returns:
- Iceberg table instance
-
fileWriter
Description copied from interface:IcebergMetastoreContext
Returns file writer which stores Metastore component data in the format supported by theFileWriter
implementation.- Specified by:
fileWriter
in interfaceIcebergMetastoreContext<TableMetadataUnit>
- Returns:
- file writer instance
-
transformer
Description copied from interface:IcebergMetastoreContext
Returns transformer instance that provides tools to transform filters, operations and data.- Specified by:
transformer
in interfaceIcebergMetastoreContext<TableMetadataUnit>
- Returns:
- transformer instance
-
expirationHandler
Description copied from interface:IcebergMetastoreContext
Returns expiration handler that expires Iceberg table metadata.- Specified by:
expirationHandler
in interfaceIcebergMetastoreContext<TableMetadataUnit>
- Returns:
- expiration handler instance
-