public static interface TableMetaStoreFactory.TableMetaStore extends Closeable
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createPartition(LinkedHashMap<String,String> partitionSpec,
org.apache.flink.core.fs.Path partitionPath)
Create partition to meta store.
|
org.apache.flink.core.fs.Path |
getLocationPath()
Get base location path of this table.
|
Optional<org.apache.flink.core.fs.Path> |
getPartition(LinkedHashMap<String,String> partitionSpec)
Get partition location path for this partition spec.
|
org.apache.flink.core.fs.Path getLocationPath()
Optional<org.apache.flink.core.fs.Path> getPartition(LinkedHashMap<String,String> partitionSpec) throws Exception
Catalog.getPartition(org.apache.flink.table.catalog.ObjectPath, org.apache.flink.table.catalog.CatalogPartitionSpec).partitionSpec - partition spec should be a full spec, must be in the same order as
the partition keys of the table.Exceptionvoid createPartition(LinkedHashMap<String,String> partitionSpec, org.apache.flink.core.fs.Path partitionPath) throws Exception
Catalog.createPartition(org.apache.flink.table.catalog.ObjectPath, org.apache.flink.table.catalog.CatalogPartitionSpec, org.apache.flink.table.catalog.CatalogPartition, boolean).partitionSpec - partition spec should be a full spec, must be in the same order as
the partition keys of the table.partitionPath - partition location path.ExceptionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.