IdentifierManagerApi

abstract class IdentifierManagerApi

Base class responsible for the parsing and processing of identifier tokens in SQL command syntax.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

All keywords for the database, including ANSI_SQL_2003_KEYWORDS and database-specific keywords.

Link copied to clipboard
abstract val quoteString: String

The string used to quote SQL identifiers for the database.

Functions

Link copied to clipboard

Returns an identity wrapped in quotations and containing no more than the maximum identifierLengthLimit.

Link copied to clipboard
fun inProperCase(identity: String): String

Returns an identity in a casing appropriate for its identifier status and the database, then caches the returned value.

Link copied to clipboard
fun needQuotes(identity: String): Boolean

Returns whether an SQL token should be wrapped in quotations and caches the returned value.

Link copied to clipboard

Returns an identity wrapped in quotations, if validated as necessary.

Link copied to clipboard

Returns an SQL token wrapped in quotations, if validated as necessary.

Link copied to clipboard

Returns whether an identity should be wrapped in quotations and caches the returned value.