Package org.apache.cayenne.dba
Interface QuotingStrategy
- All Known Implementing Classes:
DefaultQuotingStrategy
public interface QuotingStrategy
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionquotedFullyQualifiedName
(DbEntity entity) Builds a fully qualified name from catalog, schema, name parts of DbEntity, enclosing them in quotations according to this strategy algorithm.void
quotedIdentifier
(DataMap dataMap, CharSequence identifier, Appendable appender) Append quoted identifier to provided appenderquotedIdentifier
(DataMap dataMap, String... identifierParts) default void
quotedIdentifier
(Entity entity, CharSequence identifier, Appendable appender) Append quoted identifier to provided appenderdefault String
quotedIdentifier
(Entity entity, String... identifierParts) quotedName
(DbAttribute attribute) quotedSourceName
(DbJoin join) quotedTargetName
(DbJoin join)
-
Method Details
-
quotedFullyQualifiedName
Builds a fully qualified name from catalog, schema, name parts of DbEntity, enclosing them in quotations according to this strategy algorithm. Analog of "quotedIdentifier(entity.getCatalog(), entity.getSchema(), entity.getName())".- Since:
- 4.0
-
quotedName
- Since:
- 4.0
-
quotedSourceName
- Since:
- 4.0
-
quotedTargetName
- Since:
- 4.0
-
quotedIdentifier
- Since:
- 4.0
-
quotedIdentifier
- Since:
- 4.0
-
quotedIdentifier
Append quoted identifier to provided appender- Since:
- 4.2
-
quotedIdentifier
Append quoted identifier to provided appender- Since:
- 4.2
-