Lps 37672 7 Modify SampleSQLBuilder, prepare for invoking from plugin.