public final class Identifiers extends Object implements Options, Serializable
| Modifier and Type | Field and Description |
|---|---|
static Identifiers |
STANDARD |
| Modifier and Type | Method and Description |
|---|---|
String |
getIdentifierQuoteString()
Gets the string used to quote database object identifiers, as provided by the database server,
or as overridden by the caller.
|
IdentifierQuotingStrategy |
getIdentifierQuotingStrategy() |
Collection<String> |
getReservedWords()
Get a list of reserved words, normalized to uppercase.
|
boolean |
isQuotedName(String name)
Checks if an identifier name is quoted using the identifier quote character.
|
boolean |
isQuoteMixedCaseIdentifiers() |
boolean |
isReservedWord(String word)
Checks if a given word is a reserved word.
|
boolean |
isToBeQuoted(String name)
Checks if a given identifier name needs to be quoted.
|
String |
quoteFullName(DatabaseObject databaseObject) |
<P extends DatabaseObject> |
quoteFullName(DependantObject<P> dependantObject) |
String |
quoteFullName(Schema schema) |
String |
quoteName(NamedObject namedObject)
Quotes an identifier name using the identifier quote string.
|
String |
quoteName(String name)
Quotes an identifier name using the identifier quote string.
|
<P extends DatabaseObject> |
quoteShortName(DependantObject<P> dependantObject) |
String |
unquoteName(String name)
Unquotes an identifier name using the identifier quote string.
|
public static final Identifiers STANDARD
public String getIdentifierQuoteString()
public IdentifierQuotingStrategy getIdentifierQuotingStrategy()
public Collection<String> getReservedWords()
public boolean isQuotedName(String name)
name - Identifier name to checkpublic boolean isQuoteMixedCaseIdentifiers()
public boolean isReservedWord(String word)
word - Word to checkpublic boolean isToBeQuoted(String name)
name - Identifier name to checkpublic String quoteFullName(DatabaseObject databaseObject)
public <P extends DatabaseObject> String quoteFullName(DependantObject<P> dependantObject)
public String quoteName(NamedObject namedObject)
namedObject - Object name to quotepublic String quoteName(String name)
name - Identifier name to quotepublic <P extends DatabaseObject> String quoteShortName(DependantObject<P> dependantObject)
Copyright © 2000-2024 Sualeh Fatehi. All rights reserved.