@Evolving
public interface Table
This interface can mixin SupportsRead
and SupportsWrite
to provide data reading
and writing ability.
The default implementation of partitioning()
returns an empty array of partitions, and
the default implementation of properties()
returns an empty map. These should be
overridden by implementations that support partitioning and table properties.
Modifier and Type | Method and Description |
---|---|
java.util.Set<TableCapability> |
capabilities()
Returns the set of capabilities for this table.
|
default Column[] |
columns()
Returns the columns of this table.
|
String |
name()
A name to identify this table.
|
default Transform[] |
partitioning()
Returns the physical partitioning of this table.
|
default java.util.Map<String,String> |
properties()
Returns the string map of table properties.
|
StructType |
schema()
Deprecated.
|
String name()
@Deprecated StructType schema()
This is deprecated. Please override columns()
instead.
default Column[] columns()
default Transform[] partitioning()
default java.util.Map<String,String> properties()
java.util.Set<TableCapability> capabilities()