Class Syntax
java.lang.Object
org.apache.sis.internal.metadata.sql.Syntax
- Direct Known Subclasses:
Database,SQLBuilder
Information about the syntax to use for building SQL statements.
This object extract from
DatabaseMetaData the information needed by SQLBuilder.
It can be cached if many SQLBuilder instances are going to be created.- Since:
- 1.1
- Version:
- 1.1
- Author:
- Martin Desruisseaux (Geomatys)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSyntax(DatabaseMetaData metadata, boolean quoteSchema) Creates a newSyntaxinitialized from the given database metadata. -
Method Summary
-
Field Details
-
dialect
The database dialect. This is used for a few database-dependent syntax.
-
-
Constructor Details
-
Syntax
Creates a newSyntaxinitialized from the given database metadata.- Parameters:
metadata- the database metadata.quoteSchema- whether the schema name should be written between quotes.- Throws:
SQLException- if an error occurred while fetching the database metadata.
-