The community of Analytics developers are invited to follow and participate in the developer network. OpenText technical experts collaborate with supported customers and partners in the Magellan product area.

How do I update the Query for the Dataset at runtime?

Suppose I have a pojo dataset, ds. In its equivalent XML representation, it will have tag somewhere, which can be set via ds.setQueryText(...)

Suppose my XML representation is something like this:

...
</Column Mapping>

if I want to add another column mapping to QueryText(), would I need to override the entire thing via .setQueryText(...) or is there some method that allows for adding more column mappings to already existing ones, for example, maybe .addToQueryText() or something like that?