Class SqlSupportImpl
- java.lang.Object
-
- com.github.longdt.vertxorm.repository.postgresql.SqlSupportImpl
-
- All Implemented Interfaces:
SqlSupport
public class SqlSupportImpl extends Object implements SqlSupport
SqlSupportImpl class.
- Version:
- $Id: $Id
- Author:
- Long Dinh
-
-
Constructor Summary
Constructors Constructor Description SqlSupportImpl(String tableName, List<String> columnNames)Constructor for SqlSupportImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAutoIdInsertSql()List<String>getColumnNames()StringgetCountSql()StringgetDeleteByIdSql()StringgetDeleteSql()StringgetExistByIdSql()StringgetExistSql()StringgetInsertSql()StringgetQueryByIdSql()StringgetQuerySql()StringgetReturningAllSql()<E> StringgetSql(String sql, Query<E> query)intgetUpdateDynamicAllSql(StringBuilder sqlBuilder, Object[] params)<E> intgetUpdateDynamicAllSql(StringBuilder sqlBuilder, Object[] params, Query<E> query)intgetUpdateDynamicSql(StringBuilder sqlBuilder, Object[] params)<E> intgetUpdateDynamicSql(StringBuilder sqlBuilder, Object[] params, Query<E> query)StringgetUpdateSql()<E> intgetUpdateSql(StringBuilder sqlBuilder, Query<E> query)StringgetUpsertSql()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.longdt.vertxorm.repository.SqlSupport
getQuerySql
-
-
-
-
Method Detail
-
getColumnNames
public List<String> getColumnNames()
- Specified by:
getColumnNamesin interfaceSqlSupport
-
getInsertSql
public String getInsertSql()
- Specified by:
getInsertSqlin interfaceSqlSupport
-
getAutoIdInsertSql
public String getAutoIdInsertSql()
- Specified by:
getAutoIdInsertSqlin interfaceSqlSupport
-
getUpsertSql
public String getUpsertSql()
- Specified by:
getUpsertSqlin interfaceSqlSupport
-
getUpdateSql
public String getUpdateSql()
- Specified by:
getUpdateSqlin interfaceSqlSupport
-
getUpdateSql
public <E> int getUpdateSql(StringBuilder sqlBuilder, Query<E> query)
- Specified by:
getUpdateSqlin interfaceSqlSupport
-
getUpdateDynamicSql
public int getUpdateDynamicSql(StringBuilder sqlBuilder, Object[] params)
- Specified by:
getUpdateDynamicSqlin interfaceSqlSupport
-
getUpdateDynamicSql
public <E> int getUpdateDynamicSql(StringBuilder sqlBuilder, Object[] params, Query<E> query)
- Specified by:
getUpdateDynamicSqlin interfaceSqlSupport
-
getUpdateDynamicAllSql
public int getUpdateDynamicAllSql(StringBuilder sqlBuilder, Object[] params)
- Specified by:
getUpdateDynamicAllSqlin interfaceSqlSupport
-
getUpdateDynamicAllSql
public <E> int getUpdateDynamicAllSql(StringBuilder sqlBuilder, Object[] params, Query<E> query)
- Specified by:
getUpdateDynamicAllSqlin interfaceSqlSupport
-
getQuerySql
public String getQuerySql()
- Specified by:
getQuerySqlin interfaceSqlSupport
-
getQueryByIdSql
public String getQueryByIdSql()
- Specified by:
getQueryByIdSqlin interfaceSqlSupport
-
getSql
public <E> String getSql(String sql, Query<E> query)
- Specified by:
getSqlin interfaceSqlSupport
-
getCountSql
public String getCountSql()
- Specified by:
getCountSqlin interfaceSqlSupport
-
getExistSql
public String getExistSql()
- Specified by:
getExistSqlin interfaceSqlSupport
-
getExistByIdSql
public String getExistByIdSql()
- Specified by:
getExistByIdSqlin interfaceSqlSupport
-
getDeleteSql
public String getDeleteSql()
- Specified by:
getDeleteSqlin interfaceSqlSupport
-
getDeleteByIdSql
public String getDeleteByIdSql()
- Specified by:
getDeleteByIdSqlin interfaceSqlSupport
-
getReturningAllSql
public String getReturningAllSql()
-
-