public static interface TableMetaStoreFactory.TableMetaStore extends Closeable
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createOrAlterPartition(LinkedHashMap<String,String> partitionSpec,
org.apache.flink.core.fs.Path partitionPath)
After data has been inserted into the partition path, the partition may need to be
created (if doesn't exists) or updated.
|
org.apache.flink.core.fs.Path |
getLocationPath()
已过时。
|
Optional<org.apache.flink.core.fs.Path> |
getPartition(LinkedHashMap<String,String> partitionSpec)
Get partition location path for this partition spec.
|
@Deprecated 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 createOrAlterPartition(LinkedHashMap<String,String> partitionSpec, org.apache.flink.core.fs.Path partitionPath) throws Exception
partitionSpec - the full spec of the target partitionpartitionPath - partition location pathExceptionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.