Packages

t

org.apache.spark.sql.catalyst.plans.logical

QueryPlanConstraints

trait QueryPlanConstraints extends ConstraintHelper

Self Type
LogicalPlan
Linear Supertypes
ConstraintHelper, AnyRef, Any
Known Subclasses
NamedRelation, ResolvedNamespace, ResolvedTable, ResolvedView, UnresolvedHaving, UnresolvedInlineTable, UnresolvedNamespace, UnresolvedRelation, UnresolvedSubqueryColumnAliases, UnresolvedTable, UnresolvedTableOrView, UnresolvedTableValuedFunction, UnresolvedV2Relation, HiveTableRelation, UnresolvedCatalogRelation, DummyExpressionHolder, OrderedJoin, Aggregate, AlterNamespaceSetLocation, AlterNamespaceSetProperties, AlterTable, AlterTableAddColumnsStatement, AlterTableAddPartitionStatement, AlterTableAlterColumnStatement, AlterTableDropColumnsStatement, AlterTableDropPartitionStatement, AlterTableRecoverPartitionsStatement, AlterTableRenameColumnStatement, AlterTableRenamePartitionStatement, AlterTableSerDePropertiesStatement, AlterTableSetLocationStatement, AlterTableSetPropertiesStatement, AlterTableUnsetPropertiesStatement, AlterViewAsStatement, AlterViewSetPropertiesStatement, AlterViewUnsetPropertiesStatement, AnalyzeColumnStatement, AnalyzeTableStatement, AppendColumns, AppendColumnsWithObject, AppendData, ArrowEvalPython, BaseEvalPython, BatchEvalPython, BinaryNode, CacheTableStatement, CoGroup, CollectMetrics, Command, CommentOnNamespace, CommentOnTable, CreateFunctionStatement, CreateNamespace, CreateNamespaceStatement, CreateTableAsSelect, CreateTableAsSelectStatement, CreateTableStatement, CreateV2Table, CreateViewStatement, Deduplicate, DeleteFromTable, DescribeColumnStatement, DescribeFunctionStatement, DescribeNamespace, DescribeRelation, DeserializeToObject, Distinct, DropFunctionStatement, DropNamespace, DropTable, DropTableStatement, DropViewStatement, EventTimeWatermark, Except, Expand, Filter, FlatMapCoGroupsInPandas, FlatMapGroupsInPandas, FlatMapGroupsInR, FlatMapGroupsInRWithArrow, FlatMapGroupsWithState, Generate, GlobalLimit, GroupingSets, IgnoreCachedData, InsertIntoDir, InsertIntoStatement, Intersect, Join, LeafNode, LoadDataStatement, LocalLimit, LocalRelation, LogicalPlan, MapElements, MapGroups, MapInPandas, MapPartitions, MapPartitionsInR, MapPartitionsInRWithArrow, MergeIntoTable, ObjectConsumer, ObjectProducer, OneRowRelation, OrderPreservingUnaryNode, OverwriteByExpression, OverwritePartitionsDynamic, ParsedStatement, Pivot, Project, Range, RefreshTable, RefreshTableStatement, RenameTable, RenameTableStatement, RepairTableStatement, Repartition, RepartitionByExpression, RepartitionOperation, ReplaceTable, ReplaceTableAsSelect, ReplaceTableAsSelectStatement, ReplaceTableStatement, ResolvedHint, ReturnAnswer, Sample, ScriptTransformation, SerializeFromObject, SetCatalogAndNamespace, SetOperation, ShowColumnsStatement, ShowCreateTableStatement, ShowCurrentNamespace, ShowCurrentNamespaceStatement, ShowFunctionsStatement, ShowNamespaces, ShowPartitionsStatement, ShowTableProperties, ShowTableStatement, ShowTables, ShowViews, Sort, Subquery, SubqueryAlias, SupportsSubquery, Tail, TruncateTableStatement, TypedFilter, UnaryNode, UncacheTableStatement, Union, UnresolvedHint, UpdateTable, UseStatement, V2CreateTablePlan, V2WriteCommand, View, Window, With, WithWindowDefinition, DataSourceV2Relation, DataSourceV2ScanRelation, StreamingDataSourceV2Relation
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryPlanConstraints
  2. ConstraintHelper
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. lazy val constraints: ExpressionSet

    An ExpressionSet that contains invariants about the rows output by this operator.

    An ExpressionSet that contains invariants about the rows output by this operator. For example, if this set contains the expression a = 2 then that expression is guaranteed to evaluate to true for all rows produced.

  7. def constructIsNotNullConstraints(constraints: Set[Expression], output: Seq[Attribute]): Set[Expression]

    Infers a set of isNotNull constraints from null intolerant expressions as well as non-nullable attributes.

    Infers a set of isNotNull constraints from null intolerant expressions as well as non-nullable attributes. For e.g., if an expression is of the form (a > 5), this returns a constraint of the form isNotNull(a)

    Definition Classes
    ConstraintHelper
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def inferAdditionalConstraints(constraints: Set[Expression]): Set[Expression]

    Infers an additional set of constraints from a given set of equality constraints.

    Infers an additional set of constraints from a given set of equality constraints. For e.g., if an operator has constraints of the form (a = 5, a = b), this returns an additional constraint of the form b = 5.

    Definition Classes
    ConstraintHelper
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. lazy val validConstraints: Set[Expression]

    This method can be overridden by any child class of QueryPlan to specify a set of constraints based on the given operator's constraint propagation logic.

    This method can be overridden by any child class of QueryPlan to specify a set of constraints based on the given operator's constraint propagation logic. These constraints are then canonicalized and filtered automatically to contain only those attributes that appear in the outputSet.

    See Canonicalize for more details.

    Attributes
    protected
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from ConstraintHelper

Inherited from AnyRef

Inherited from Any

Ungrouped