@Internal public class CatalogDatabaseImpl extends Object implements CatalogDatabase
CatalogDatabase
.Constructor and Description |
---|
CatalogDatabaseImpl(Map<String,String> properties,
String comment) |
Modifier and Type | Method and Description |
---|---|
CatalogDatabase |
copy()
Get a deep copy of the CatalogDatabase instance.
|
CatalogDatabase |
copy(Map<String,String> properties)
Returns a copy of this
CatalogDatabase with the given properties. |
String |
getComment()
Get comment of the database.
|
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 database.
|
public Map<String,String> getProperties()
getProperties
in interface CatalogDatabase
public String getComment()
getComment
in interface CatalogDatabase
public CatalogDatabase copy()
copy
in interface CatalogDatabase
public CatalogDatabase copy(Map<String,String> properties)
CatalogDatabase
CatalogDatabase
with the given properties.copy
in interface CatalogDatabase
public Optional<String> getDescription()
getDescription
in interface CatalogDatabase
public Optional<String> getDetailedDescription()
getDetailedDescription
in interface CatalogDatabase
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.