Package org.apache.flink.table.catalog
Class CatalogPartitionImpl
- java.lang.Object
-
- org.apache.flink.table.catalog.CatalogPartitionImpl
-
- All Implemented Interfaces:
CatalogPartition
@Internal public class CatalogPartitionImpl extends Object implements CatalogPartition
A catalog partition implementation.
-
-
Constructor Summary
Constructors Constructor Description CatalogPartitionImpl(Map<String,String> properties, String comment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CatalogPartition
copy()
Get a deep copy of the CatalogPartition instance.String
getComment()
Get comment of the partition.Optional<String>
getDescription()
Get a brief description of the database.Optional<String>
getDetailedDescription()
Get a detailed description of the database.Map<String,String>
getProperties()
Get a map of properties associated with the partition.
-
-
-
Method Detail
-
getProperties
public Map<String,String> getProperties()
Description copied from interface:CatalogPartition
Get a map of properties associated with the partition.- Specified by:
getProperties
in interfaceCatalogPartition
- Returns:
- a map of properties with the partition
-
getComment
public String getComment()
Description copied from interface:CatalogPartition
Get comment of the partition.- Specified by:
getComment
in interfaceCatalogPartition
- Returns:
- comment of the partition
-
copy
public CatalogPartition copy()
Description copied from interface:CatalogPartition
Get a deep copy of the CatalogPartition instance.- Specified by:
copy
in interfaceCatalogPartition
- Returns:
- a copy of CatalogPartition instance
-
getDescription
public Optional<String> getDescription()
Description copied from interface:CatalogPartition
Get a brief description of the database.- Specified by:
getDescription
in interfaceCatalogPartition
- Returns:
- an optional short description of the database
-
getDetailedDescription
public Optional<String> getDetailedDescription()
Description copied from interface:CatalogPartition
Get a detailed description of the database.- Specified by:
getDetailedDescription
in interfaceCatalogPartition
- Returns:
- an optional long description of the database
-
-