question: private StringBuffer buildSelectQuery ( String schemaName , String tableName , ArrayList < OneRowChange . ColumnSpec > keys , ArrayList < OneRowChange . ColumnVal > keyValues ) { StringBuffer stmt = new StringBuffer ( ) ; stmt . append ( "SELECT * FROM " ) ; stmt . append ( conn . getDatabaseObjectName ( schemaName ) + "." + conn . getDatabaseObjectName ( tableName ) ) ; stmt . append ( " WHERE " ) ; printColumnSpec ( stmt , keys , keyValues , PrintMode . ASSIGNMENT , " AND " ) ; return stmt ; }
target:  Constructs a SQL statement template later used for prepared statement.