[server][DataQueryOption] Add new methods: getOptionTermGenerator() and setOptionTermGenerator().