public interface PartitionHandler extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
alterPartitions(List<Partition> partitions) |
static PartitionHandler |
create(Catalog catalog,
Identifier identifier) |
void |
createPartitions(List<Map<String,String>> partitions) |
void |
dropPartitions(List<Map<String,String>> partitions) |
void |
markDonePartitions(List<Map<String,String>> partitions) |
close
void createPartitions(List<Map<String,String>> partitions) throws Catalog.TableNotExistException
Catalog.TableNotExistException
void dropPartitions(List<Map<String,String>> partitions) throws Catalog.TableNotExistException
Catalog.TableNotExistException
void alterPartitions(List<Partition> partitions) throws Catalog.TableNotExistException
Catalog.TableNotExistException
void markDonePartitions(List<Map<String,String>> partitions) throws Catalog.TableNotExistException
Catalog.TableNotExistException
static PartitionHandler create(Catalog catalog, Identifier identifier)
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.