Package org.apache.iceberg
Interface Tables
-
- All Known Implementing Classes:
HadoopTables
public interface Tables
Generic interface for creating and loading a table implementation. The 'tableIdentifier' field should be interpreted by the underlying implementation (e.g. database.table_name)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Table
create(Schema schema, java.lang.String tableIdentifier)
default Table
create(Schema schema, PartitionSpec spec, java.lang.String tableIdentifier)
default Table
create(Schema schema, PartitionSpec spec, java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String tableIdentifier)
default Table
create(Schema schema, PartitionSpec spec, SortOrder order, java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String tableIdentifier)
boolean
exists(java.lang.String tableIdentifier)
Table
load(java.lang.String tableIdentifier)
-
-
-
Method Detail
-
create
default Table create(Schema schema, PartitionSpec spec, java.lang.String tableIdentifier)
-
create
default Table create(Schema schema, PartitionSpec spec, java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String tableIdentifier)
-
create
default Table create(Schema schema, PartitionSpec spec, SortOrder order, java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String tableIdentifier)
-
load
Table load(java.lang.String tableIdentifier)
-
exists
boolean exists(java.lang.String tableIdentifier)
-
-