- All Superinterfaces:
CatalogObject
,CatalogObject.AccessControlled<CatalogObject.Grant.OnDatabase>
,CatalogObject.Addressed<Database>
,CatalogObject.Named<Lexicals.Identifier.Simple>
,CatalogObject.Owned
public interface Database
extends CatalogObject.Addressed<Database>, CatalogObject.Named<Lexicals.Identifier.Simple>, CatalogObject.Owned, CatalogObject.AccessControlled<CatalogObject.Grant.OnDatabase>
Model of a database defined within the PostgreSQL cluster.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.postgresql.pljava.model.CatalogObject
CatalogObject.AccessControlled<T extends CatalogObject.Grant>, CatalogObject.Addressed<T extends CatalogObject.Addressed<T>>, CatalogObject.Component, CatalogObject.Grant, CatalogObject.Named<T extends Lexicals.Identifier.Unqualified<T>>, CatalogObject.Namespaced<T extends Lexicals.Identifier.Unqualified<T>>, CatalogObject.Owned
-
Field Summary
Fields inherited from interface org.postgresql.pljava.model.CatalogObject
InvalidOid
-
Method Summary
Modifier and TypeMethodDescriptionboolean
collate()
A string identifying the collation rules for use in this database (when not overridden for a specific column or expression).int
ctype()
A string identifying the collation rules for use in this database (when not overridden for a specific column or expression).encoding()
boolean
template()
Methods inherited from interface org.postgresql.pljava.model.CatalogObject
isValid, of, oid
Methods inherited from interface org.postgresql.pljava.model.CatalogObject.AccessControlled
grants, grants
Methods inherited from interface org.postgresql.pljava.model.CatalogObject.Addressed
classId, exists, shared
Methods inherited from interface org.postgresql.pljava.model.CatalogObject.Named
name
Methods inherited from interface org.postgresql.pljava.model.CatalogObject.Owned
owner
-
Field Details
-
CLASSID
-
CURRENT
-
-
Method Details
-
encoding
CharsetEncoding encoding() -
collate
String collate()A string identifying the collation rules for use in this database (when not overridden for a specific column or expression).At least through PostgreSQL 14, this is always the identifier of an operating system ("libc") collation, even in builds with ICU available.
-
ctype
String ctype()A string identifying the collation rules for use in this database (when not overridden for a specific column or expression).At least through PostgreSQL 14, this is always the identifier of an operating system ("libc") collation, even in builds with ICU available.
-
template
boolean template() -
allowConnection
boolean allowConnection() -
connectionLimit
int connectionLimit()
-