Class DataColumnDomain

Final DataColumnDomain object holding meta infos about one
column, that are, possible values and/or upper and lower bounds - if
available. This object can only be created by a
DataColumnDomainCreator within this package. The
DataColumnDomain is read-only.

Note: It is assumed that the domain - if available - contains reliable data.
It is crucial that the creator of a column domain ensures that no value in
the data table is outside the provided bounds and no other value appears in
that column than the values listed in the set returned by
getValues(). If you are not sure about the data to come in your
column, don't provide domain infos (null).
Also noteworthy: domain information describes the source of the data (the
domain), not the data itself. I.e. the created domain object could contain
more possible values than actually appear in the data table, or a range
bigger than needed for the data in that particular data table. But it must
always include all values appearing in the table.

Method Detail

getValues

Returns all possible values in this column. Note, that this set can be null if this information is
not available. This can happen for continuous double values or if the column contains too many possible values
(see DataContainer.MAX_POSSIBLE_VALUES). Also be aware that the DataCells in the returned set do
not have to be of the same type (but the column type should be compatible to all of their values).

If the returned set is not null, the corresponding column does not contain any value other than the
ones contained in the set. The set can contain a superset of the values in the table though.

getLowerBound

Return the lower bound of the domain of this column, if available. Note
that this value does not necessarily need to actually occur in the
corresponding DataTable but it is describing the range of the
domain of this attribute.

Usually this value is compatible with type DoubleValue
corresponding to an numeric left interval border.

hasLowerBound

getUpperBound

Return the upper bound of the domain of this column, if available. Note
that this value does not necessarily need to actually occur in the
corresponding DataTable but it describes the range of the domain
of this attribute.

Usually this value is compatible with type DoubleValue
corresponding to an numeric right interval border.

Copyright, 2003 - 2016. All rights reserved.KNIME GmbH, Konstanz, GermanyYou may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.