What is the class behind the node DomainCalculator?

Hi,

I would like to know if there is a way to obtain programmatically the same result obtained by the use of the node DomainCalculator?

Is it possible to call the code of this node or is there an helper/util class doing it? I would like to avoid recoding something that is already done.

I’ve found the class DataTableSpecExtractor but that does not what I want.
As the specs of my table do not contain the “list” of possible values or sometimes the min/max values, after DataTableSpecExtractor , I still don’ have them.

Any hint welcome

Thanks

Yannic

Hi @yannic_ariana,
You can take a look at the source code of the Domain Calculator node here: https://github.com/knime/knime-core/tree/master/org.knime.base/src/org/knime/base/node/preproc/domain/dialog2.
best,
Gabriel

thanks a lot!