Class FilterNode

    • Constructor Detail

      • FilterNode

        public FilterNode​(org.apache.flink.api.common.operators.base.FilterOperatorBase<?,​?> operator)
    • Method Detail

      • getOperator

        public org.apache.flink.api.common.operators.base.FilterOperatorBase<?,​?> getOperator()
        Description copied from class: OptimizerNode
        Gets the operator represented by this optimizer node.
        Overrides:
        getOperator in class SingleInputNode
        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)
        Computes the estimates for the Filter operator. Since it applies a filter on the data we assume a cardinality decrease. To give the system a hint at data decrease, we use a default magic number to indicate a 0.5 decrease.
        Specified by:
        computeOperatorSpecificDefaultEstimates in class OptimizerNode