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 .