[server][SQLProcessorFactory] Add 'const' for input parameters according to the coding convention.