Package adalid.core.interfaces
Interface SqlProgrammer
-
- All Superinterfaces:
Programmer
- All Known Implementing Classes:
AbstractSqlProgrammer,OracleProgrammer,PostgreSqlProgrammer
public interface SqlProgrammer extends Programmer
- Author:
- Jorge Campins
-
-
Method Summary
-
-
-
Method Detail
-
getMaxIdentifierLength
int getMaxIdentifierLength()
-
getMaxVarcharLength
int getMaxVarcharLength()
-
getDBMS
String getDBMS()
-
getSqlName
String getSqlName(String prefix, Artifact artifact, String suffix, int maxIdentifierLength)
-
getSqlAlias
String getSqlAlias(Property property, QueryTable queryTable)
-
getProperty
Property getProperty(String sqlAlias, QueryTable queryTable)
-
getSqlQualifiedName
String getSqlQualifiedName(Property property, QueryTable queryTable)
-
getSqlDiscriminatorValue
String getSqlDiscriminatorValue(PersistentEntity entity)
-
getSqlDiscriminatorValues
List<String> getSqlDiscriminatorValues(PersistentEntity entity)
-
getSqlSchemaName
String getSqlSchemaName(PersistentEntity entity)
-
getSqlTableName
String getSqlTableName(PersistentEntity entity)
-
getSqlFunctionName
String getSqlFunctionName(ViewFieldAggregation aggregation)
-
getSqlSchemaQualifier
String getSqlSchemaQualifier(PersistentEntity entity)
-
getSqlSchemaQualifiedName
String getSqlSchemaQualifiedName(PersistentEntity entity)
-
getSqlSchemaQualifiedShortName
String getSqlSchemaQualifiedShortName(PersistentEntity entity)
-
getSqlSchemaUnqualifiedShortName
String getSqlSchemaUnqualifiedShortName(PersistentEntity entity)
-
getSqlSchemaQualifiedTableName
String getSqlSchemaQualifiedTableName(PersistentEntity entity)
-
getSqlSchemaQualifiedShortTableName
String getSqlSchemaQualifiedShortTableName(PersistentEntity entity)
-
getSqlSchemaUnqualifiedShortTableName
String getSqlSchemaUnqualifiedShortTableName(PersistentEntity entity)
-
getSqlInitialValue
String getSqlInitialValue(Artifact artifact, QueryTable queryTable)
-
getSqlDefaultValue
String getSqlDefaultValue(Artifact artifact, QueryTable queryTable)
-
getSqlCurrentValue
String getSqlCurrentValue(Artifact artifact, QueryTable queryTable)
-
getSqlExpression
String getSqlExpression(Object object, QueryTable queryTable)
-
getSqlExpression
String getSqlExpression(Object object, QueryTable queryTable, SqlQualifierType qualifier)
-
getSqlExpression
String getSqlExpression(Object object, Map<String,QueryTable> queryTablesMap)
-
getSqlExpression
String getSqlExpression(Object object, Map<String,QueryTable> queryTablesMap, SqlQualifierType qualifier)
-
getSqlParameterizedExpression
ParameterizedExpression getSqlParameterizedExpression(Object object)
-
getSqlParameterizedExpression
ParameterizedExpression getSqlParameterizedExpression(Object object, QueryTable queryTable)
-
getSqlParameterizedExpression
ParameterizedExpression getSqlParameterizedExpression(Object object, QueryTable queryTable, SqlQualifierType qualifier)
-
getSqlParameterizedExpression
ParameterizedExpression getSqlParameterizedExpression(Object object, Map<String,QueryTable> queryTablesMap)
-
getSqlParameterizedExpression
ParameterizedExpression getSqlParameterizedExpression(Object object, Map<String,QueryTable> queryTablesMap, SqlQualifierType qualifier)
-
getSqlOperationFunctionName
String getSqlOperationFunctionName(Operation operation, int maxIdentifierLength)
-
getSqlSchemaQualifiedOperationFunctionName
String getSqlSchemaQualifiedOperationFunctionName(Operation operation)
-
getSqlSchemaQualifiedOperationFunctionName
String getSqlSchemaQualifiedOperationFunctionName(Operation operation, int maxIdentifierLength)
-
getSqlSchemaQualifiedShortOperationFunctionName
String getSqlSchemaQualifiedShortOperationFunctionName(Operation operation)
-
getSqlSchemaQualifiedShortOperationFunctionName
String getSqlSchemaQualifiedShortOperationFunctionName(Operation operation, int maxIdentifierLength)
-
getSqlExpressionFunctionName
String getSqlExpressionFunctionName(Expression expression)
-
getSqlExpressionFunctionName
String getSqlExpressionFunctionName(Expression expression, int maxIdentifierLength)
-
getSqlSchemaQualifiedExpressionFunctionName
String getSqlSchemaQualifiedExpressionFunctionName(Expression expression)
-
getSqlSchemaQualifiedExpressionFunctionName
String getSqlSchemaQualifiedExpressionFunctionName(Expression expression, int maxIdentifierLength)
-
getSqlSchemaQualifiedShortExpressionFunctionName
String getSqlSchemaQualifiedShortExpressionFunctionName(Expression expression)
-
getSqlSchemaQualifiedShortExpressionFunctionName
String getSqlSchemaQualifiedShortExpressionFunctionName(Expression expression, int maxIdentifierLength)
-
getSqlExpressionSelectFunctionName
String getSqlExpressionSelectFunctionName(Expression expression)
-
getSqlExpressionSelectFunctionName
String getSqlExpressionSelectFunctionName(Expression expression, int maxIdentifierLength)
-
getSqlSchemaQualifiedExpressionSelectFunctionName
String getSqlSchemaQualifiedExpressionSelectFunctionName(Expression expression)
-
getSqlSchemaQualifiedExpressionSelectFunctionName
String getSqlSchemaQualifiedExpressionSelectFunctionName(Expression expression, int maxIdentifierLength)
-
getSqlSchemaQualifiedShortExpressionSelectFunctionName
String getSqlSchemaQualifiedShortExpressionSelectFunctionName(Expression expression)
-
getSqlSchemaQualifiedShortExpressionSelectFunctionName
String getSqlSchemaQualifiedShortExpressionSelectFunctionName(Expression expression, int maxIdentifierLength)
-
getSqlOnDeleteAction
String getSqlOnDeleteAction(PersistentEntityReference entity)
-
getSqlOnUpdateAction
String getSqlOnUpdateAction(PersistentEntityReference entity)
-
getSqlSortOption
String getSqlSortOption(SortOption sortOption)
-
getSqlJoinOperator
String getSqlJoinOperator(QueryJoinOp operator)
-
getSqlJoinQualifier
String getSqlJoinQualifier(QueryTable queryTable)
-
getSelectColumnsMap
Map<String,Property> getSelectColumnsMap(QueryTable queryTable)
-
getSqlSelectStatement
String getSqlSelectStatement(Expression expression)
-
getSqlSelectStatement
String getSqlSelectStatement(Expression expression, QueryTable queryTable)
-
getSqlSelectStatement
String getSqlSelectStatement(QueryTable queryTable, List<Property> referencedColumns, boolean into, boolean indent)
-
getSqlSelectStatement
String getSqlSelectStatement(QueryJoin queryJoin, List<Property> referencedColumns, boolean into, boolean where, boolean indent)
-
getSqlStandardRelationalExpression
String getSqlStandardRelationalExpression(String arg1, StandardRelationalOp operator)
-
getSqlStandardRelationalExpression
String getSqlStandardRelationalExpression(String arg1, StandardRelationalOp operator, String arg2)
-
-