Class MysqlSql

java.lang.Object
io.datarouter.storage.sql.Sql<java.sql.Connection,​java.sql.PreparedStatement,​MysqlSql>
io.datarouter.client.mysql.sql.MysqlSql

public class MysqlSql
extends io.datarouter.storage.sql.Sql<java.sql.Connection,​java.sql.PreparedStatement,​MysqlSql>
  • Field Summary

    Fields inherited from class io.datarouter.storage.sql.Sql

    implementation, parameterSetters, sqlBuilder
  • Constructor Summary

    Constructors 
    Constructor Description
    MysqlSql​(MysqlFieldCodecFactory codecFactory, MysqlLiveTableOptions mysqlTableOptions)  
  • Method Summary

    Modifier and Type Method Description
    MysqlSql addLimitOffsetClause​(io.datarouter.storage.config.Config config)  
    MysqlSql addSqlNameValueWithOperator​(io.datarouter.model.field.Field<?> field, java.lang.String operator, boolean rejectNulls)  
    MysqlSql appendColumnEqualsValueParameter​(io.datarouter.model.field.Field<?> field)  
    java.sql.PreparedStatement prepare​(java.sql.Connection connection)  
    java.sql.PreparedStatement prepareMysql​(MysqlStatementPreparer mysqlStatementPreparer)  

    Methods inherited from class io.datarouter.storage.sql.Sql

    addDeleteFromClause, addForceIndexClause, addOrderByClause, addSelectFromClause, addUpdateClause, append, appendParameter, appendSqlNameValue, appendWhereClauseDisjunction, deleteAll, deleteMulti, getInRanges, getMulti, getWithPrefixes, insert, needsRangeWhereClause, toString, update

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • appendColumnEqualsValueParameter

      public MysqlSql appendColumnEqualsValueParameter​(io.datarouter.model.field.Field<?> field)
      Specified by:
      appendColumnEqualsValueParameter in class io.datarouter.storage.sql.Sql<java.sql.Connection,​java.sql.PreparedStatement,​MysqlSql>
    • addSqlNameValueWithOperator

      public MysqlSql addSqlNameValueWithOperator​(io.datarouter.model.field.Field<?> field, java.lang.String operator, boolean rejectNulls)
      Specified by:
      addSqlNameValueWithOperator in class io.datarouter.storage.sql.Sql<java.sql.Connection,​java.sql.PreparedStatement,​MysqlSql>
    • prepare

      public java.sql.PreparedStatement prepare​(java.sql.Connection connection)
      Specified by:
      prepare in class io.datarouter.storage.sql.Sql<java.sql.Connection,​java.sql.PreparedStatement,​MysqlSql>
    • prepareMysql

      public java.sql.PreparedStatement prepareMysql​(MysqlStatementPreparer mysqlStatementPreparer)
    • addLimitOffsetClause

      public MysqlSql addLimitOffsetClause​(io.datarouter.storage.config.Config config)
      Specified by:
      addLimitOffsetClause in class io.datarouter.storage.sql.Sql<java.sql.Connection,​java.sql.PreparedStatement,​MysqlSql>