java.lang.Object
com.pervasive.datarush.ports.record.DataDistribution
com.pervasive.datarush.ports.record.FullDataDistribution
An operator may set this as their
requiredDataDistribution
in order to indicate that the data needs to be sent to all nodes in the cluster (or all
threads in the case of pseudo-distributed operation). This should be used in rare cases
when a dataset must be examined by all nodes in the cluster. In addition, this should only be used
for data that is "small" (i.e. a small lookup table) since it must be replicated throughout all nodes in the cluster.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FullDataDistributionThe singleton instance of this class. -
Method Summary
Modifier and TypeMethodDescriptionAliasSet[]Returns the fields that are referenced by this distribution.remap(FieldRemapping mapping) Because FullDataDistribution does not reference any key names, it is not sensitive to transformations to the record namespace and thus this method just returns a reference to this, unmodified.toString()
-
Field Details
-
INSTANCE
The singleton instance of this class.
-
-
Method Details
-
toString
- Specified by:
toStringin classDataDistribution
-
remap
Because FullDataDistribution does not reference any key names, it is not sensitive to transformations to the record namespace and thus this method just returns a reference to this, unmodified.- Specified by:
remapin classDataDistribution- Parameters:
mapping- the field remapping.- Returns:
- this distribution, unmodified
-
getAliases
Description copied from class:DataDistributionReturns the fields that are referenced by this distribution. Note that it is valid for a distribution to reference no fields, in which case it should return an empty array. This method is used by the framework to validate the distribution is consistent with the type of the record.- Specified by:
getAliasesin classDataDistribution- Returns:
- the fields that are referenced by this distribution
-