HPCC-9471 Change the parameter to queryAttribute to an enum

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>