| Constructor and Description |
|---|
HadoopTables() |
HadoopTables(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
Table |
create(Schema schema,
PartitionSpec spec,
java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.String location)
Create a table using the FileSystem implementation resolve from
location.
|
org.apache.hadoop.conf.Configuration |
getConf() |
Table |
load(java.lang.String location)
Loads the table location from a FileSystem path location.
|
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
public HadoopTables()
public HadoopTables(org.apache.hadoop.conf.Configuration conf)
public Table load(java.lang.String location)
public Table create(Schema schema, PartitionSpec spec, java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String location)
create in interface Tablesschema - iceberg schema used to create the tablespec - partitioning spec, if null the table will be unpartitionedproperties - a string map of table properties, initialized to empty if nulllocation - a path URI (e.g. hdfs:///warehouse/my_table)public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic org.apache.hadoop.conf.Configuration getConf()
getConf in interface org.apache.hadoop.conf.Configurable