Package adalid.util.sql
Class SqlReader.SqlAid
java.lang.Object
adalid.util.sql.SqlReader.SqlAid
- Enclosing class:
SqlReader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanValueOf(Object object) protected abstract booleanprotected abstract Stringprotected abstract booleanprotected voidprotected voidfinalizeColumn(SqlColumn sqlColumn) protected voidfinalizeParameter(SqlRoutineParameter sqlRoutineParameter) protected voidfinalizeRowValue(SqlRowValue sqlRowValue) protected SqlUtil.PreparedStatementWrapperprotected SqlUtil.PreparedStatementWrapperprotected SqlUtil.PreparedStatementWrapperprotected SqlUtil.PreparedStatementWrapperprotected SqlUtil.PreparedStatementWrapperprotected SqlUtil.PreparedStatementWrapperprotected SqlUtil.PreparedStatementWrapperprotected abstract SqlUtil.PreparedStatementWrappergetSelectRowsStatement(SqlTable sqlTable) protected SqlUtil.PreparedStatementWrappergetSelectStatement(String template) protected SqlUtil.PreparedStatementWrappergetSelectStatement(String template, SqlTable sqlTable) protected SqlUtil.PreparedStatementWrappergetSelectStatement(String template, org.apache.velocity.VelocityContext context) protected SqlUtil.PreparedStatementWrapperprotected SqlUtil.PreparedStatementWrapperprotected SqlUtil.PreparedStatementWrapperprotected SqlCheckConstraintgetSqlCheckConstraint(ResultSet resultSet, SqlTable sqlTable) protected StringgetSqlCheckConstraintTableName(ResultSet resultSet) protected SqlColumngetSqlColumn(ResultSet resultSet, SqlTable sqlTable) protected StringgetSqlColumnName(ResultSet resultSet) protected StringgetSqlColumnTableName(ResultSet resultSet) protected SqlConstraintIndexgetSqlConstraintIndex(ResultSet resultSet, SqlTable sqlTable) protected StringgetSqlConstraintIndexTableName(ResultSet resultSet) protected SqlIndexgetSqlIndex(ResultSet resultSet, SqlIndex sqlIndex) protected SqlIndexgetSqlIndex(ResultSet resultSet, SqlTable sqlTable) protected StringgetSqlIndexName(ResultSet resultSet) protected SqlRoutinegetSqlRoutine(ResultSet resultSet, SqlRoutine sqlRoutine) protected SqlRoutinegetSqlRoutine(ResultSet resultSet, SqlTable sqlTable) protected StringgetSqlRoutineName(ResultSet resultSet) protected SqlRowprotected StringgetSqlRowName(ResultSet resultSet, SqlTable sqlTable) protected SqlTabprotected SqlTabprotected SqlTablegetSqlTable(ResultSet resultSet) protected StringgetSqlTableName(ResultSet resultSet) protected StringgetSqlTabName(ResultSet resultSet) protected StringgetTemplateName(String type) protected StringinstanceValueOf(SqlColumn sqlColumn, String string) protected intintValueOf(Object object) protected abstract Stringprotected abstract Stringprotected SqlUtil.PreparedStatementWrapperprepareSelectStatement(String statement) protected StringstringValueOf(SqlColumn sqlColumn, String string) protected StringstringValueOf(SqlRoutineParameter sqlRoutineParameter, String string)
-
Constructor Details
-
SqlAid
protected SqlAid()
-
-
Method Details
-
createDefaults
- Throws:
SQLException
-
dropDefaults
- Throws:
SQLException
-
getSelectTablesStatement
-
getSelectColumnsStatement
-
getSelectCKsStatement
-
getSelectPKsStatement
-
getSelectUKsStatement
-
getSelectFKsStatement
-
getSelectIXsStatement
-
getSelectIndexesStatement
-
getSelectRoutinesStatement
-
getSelectRowsStatement
-
getSelectUpdatableColumnsStatement
-
getSelectStatement
-
getSelectStatement
-
getSelectStatement
protected SqlUtil.PreparedStatementWrapper getSelectStatement(String template, org.apache.velocity.VelocityContext context) -
prepareSelectStatement
-
getTemplateName
-
getSqlTableName
- Throws:
SQLException
-
getSqlTable
- Throws:
SQLException
-
getSqlColumnTableName
- Throws:
SQLException
-
getSqlColumnName
- Throws:
SQLException
-
getSqlColumn
- Throws:
SQLException
-
getSqlIndexName
- Throws:
SQLException
-
getSqlIndex
- Throws:
SQLException
-
getSqlIndex
- Throws:
SQLException
-
getSqlTabName
- Throws:
SQLException
-
getSqlTab
- Throws:
SQLException
-
getSqlTab
- Throws:
SQLException
-
getSqlRowName
- Throws:
SQLException
-
getSqlRow
- Throws:
SQLException
-
getSqlRoutineName
- Throws:
SQLException
-
getSqlRoutine
- Throws:
SQLException
-
getSqlRoutine
- Throws:
SQLException
-
getSqlCheckConstraintTableName
- Throws:
SQLException
-
getSqlCheckConstraint
protected SqlCheckConstraint getSqlCheckConstraint(ResultSet resultSet, SqlTable sqlTable) throws SQLException - Throws:
SQLException
-
getSqlConstraintIndexTableName
- Throws:
SQLException
-
getSqlConstraintIndex
protected SqlConstraintIndex getSqlConstraintIndex(ResultSet resultSet, SqlTable sqlTable) throws SQLException - Throws:
SQLException
-
finalize
-
finalizeColumn
-
finalizeRowValue
-
finalizeParameter
-
intValueOf
-
booleanValueOf
-
literalOf
-
literalOf
-
defaultOf
-
stringValueOf
-
stringValueOf
-
instanceValueOf
-