public class PartitionExplorerImpl extends Object implements PartitionExplorer
Constructor and Description |
---|
PartitionExplorerImpl(org.apache.calcite.schema.SchemaPlus rootSchema) |
Modifier and Type | Method and Description |
---|---|
Iterable<String> |
getSubPartitions(String schema,
String table,
List<String> partitionColumns,
List<String> partitionValues)
For the schema provided,
get a list of sub-partitions of a particular table and the partitions
specified by partition columns and values.
|
public PartitionExplorerImpl(org.apache.calcite.schema.SchemaPlus rootSchema)
public Iterable<String> getSubPartitions(String schema, String table, List<String> partitionColumns, List<String> partitionValues) throws PartitionNotFoundException
PartitionExplorer
SchemaPartitionExplorer
.getSubPartitions
in interface PartitionExplorer
schema
- schema path, can be complete or relative to the default schemapartitionColumns
- a list of partitions to matchpartitionValues
- list of values of each partition (corresponding
to the partition column list)PartitionNotFoundException
- when the partition does not exist in
the given workspaceCopyright © 1970 The Apache Software Foundation. All rights reserved.