Class CrossNode

    • Constructor Detail

      • CrossNode

        public CrossNode​(org.apache.flink.api.common.operators.base.CrossOperatorBase<?,​?,​?,​?> operation)
        Creates a new CrossNode for the given operator.
        Parameters:
        operation - The Cross operator object.
    • Method Detail

      • getOperator

        public org.apache.flink.api.common.operators.base.CrossOperatorBase<?,​?,​?,​?> getOperator()
        Description copied from class: OptimizerNode
        Gets the operator represented by this optimizer node.
        Overrides:
        getOperator in class TwoInputNode
        Returns:
        This node's operator.
      • getOperatorName

        public String getOperatorName()
        Description copied from class: OptimizerNode
        Gets the name of this node, which is the name of the function/operator, or data source / data sink.
        Specified by:
        getOperatorName in class OptimizerNode
        Returns:
        The node name.
      • computeOperatorSpecificDefaultEstimates

        protected void computeOperatorSpecificDefaultEstimates​(DataStatistics statistics)
        We assume that the cardinality is the product of the input cardinalities and that the result width is the sum of the input widths.
        Specified by:
        computeOperatorSpecificDefaultEstimates in class OptimizerNode
        Parameters:
        statistics - The statistics object to optionally access.