slumberdb/slumberdb-mysql/src/main/java/org/boon/slumberdb/mysql/BaseVersionedMySQLSupport.java
protected void createLoadAllVersionDataSQL(String table) {


        CharBuf buf = CharBuf.create(100);
        buf.add("select kv_key, 1, version, update_timestamp, create_timestamp from `");
        buf.add(table);
        buf.add("` where kv_key in (");
        buf.multiply("?,", this.loadKeyCount);
        buf.removeLastChar();
        buf.add(");");

        this.loadAllVersionDataByKeysSQL = buf.toString();
    }
protected void createLoadAllVersionDataSQL(String table) {


        CharBuf buf = CharBuf.create(100);
        buf.add("select kv_key, 1, version, update_timestamp, create_timestamp from `");
        buf.add(table);
        buf.add("` where kv_key in (");
        buf.multiply("?,", this.loadKeyCount);
        buf.removeLastChar();
        buf.add(");");

        this.loadAllVersionDataByKeysSQL = buf.toString();
    }
protected void createLoadAllVersionDataSQL ( String table ) { CharBuf buf = CharBuf . create ( 100 ) ; buf . add ( "select kv_key, 1, version, update_timestamp, create_timestamp from `" ) ; buf . add ( table ) ; buf . add ( "` where kv_key in (" ) ; buf . multiply ( "?," , this . loadKeyCount ) ; buf . removeLastChar ( ) ; buf . add ( ");" ) ; this . loadAllVersionDataByKeysSQL = buf . toString ( ) ; }
Create load all keys SQL.
@param table table
Create load all keys SQL .