Class SchemaMetadata
java.lang.Object
org.eclipse.dirigible.database.api.metadata.SchemaMetadata
public class SchemaMetadata extends Object
The Schema Metadata transport object.
-
Constructor Summary
Constructors Constructor Description SchemaMetadata(String name, Connection connection, String catalogName, DatabaseMetadataHelper.Filter<String> nameFilter)Instantiates a new schema metadata. -
Method Summary
Modifier and Type Method Description List<FunctionMetadata>getFunctions()Get the functions metadata.StringgetKind()Gets the kind.StringgetName()Gets the name.List<ProcedureMetadata>getProcedures()Get the procedures metadata.List<TableMetadata>getTables()Gets the tables.voidsetKind(String kind)Sets the kind.voidsetName(String name)Sets the name.
-
Constructor Details
-
SchemaMetadata
public SchemaMetadata(String name, Connection connection, String catalogName, DatabaseMetadataHelper.Filter<String> nameFilter) throws SQLExceptionInstantiates a new schema metadata.- Parameters:
name- the nameconnection- the connectioncatalogName- the catalog namenameFilter- the name filter- Throws:
SQLException- the SQL exception
-
-
Method Details
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new name
-
getTables
Gets the tables.- Returns:
- the tables
-
getProcedures
Get the procedures metadata.- Returns:
- the procedures
-
getFunctions
Get the functions metadata.- Returns:
- the functions
-
getKind
Gets the kind.- Returns:
- the kind
-
setKind
Sets the kind.- Parameters:
kind- the new kind
-