Package org.apache.druid.query.operator
Class GlueingPartitioningOperatorFactory
java.lang.Object
org.apache.druid.query.operator.AbstractPartitioningOperatorFactory
org.apache.druid.query.operator.GlueingPartitioningOperatorFactory
- All Implemented Interfaces:
OperatorFactory
-
Field Summary
Fields inherited from class org.apache.druid.query.operator.AbstractPartitioningOperatorFactory
partitionColumns -
Constructor Summary
ConstructorsConstructorDescriptionGlueingPartitioningOperatorFactory(List<String> partitionColumns, Integer maxRowsMaterialized) -
Method Summary
Methods inherited from class org.apache.druid.query.operator.AbstractPartitioningOperatorFactory
getPartitionColumns
-
Constructor Details
-
GlueingPartitioningOperatorFactory
-
-
Method Details
-
getMaxRowsMaterialized
-
wrap
Description copied from interface:OperatorFactoryBuilds an operator according to the definition of the OperatorFactory and wraps it around the operator passed in to this function.- Specified by:
wrapin interfaceOperatorFactory- Specified by:
wrapin classAbstractPartitioningOperatorFactory- Parameters:
op- the Operator to wrap- Returns:
- the wrapped Operator
-
validateEquivalent
Description copied from interface:OperatorFactoryValidates the equivalence of Operators. This is similar to @{code .equals} but is its own method so that it can ignore certain fields that would be important for a true equality check. Namely, two Operators defined the same way but with different output names can be considered equivalent even though they are not equal.This primarily exists to simplify tests, where this equivalence can be used to validate that the Operators created by the SQL planner are actually equivalent to what we expect without needing to be overly dependent on how the planner names output columns
- Specified by:
validateEquivalentin interfaceOperatorFactory- Overrides:
validateEquivalentin classAbstractPartitioningOperatorFactory- Parameters:
other- the processor to test equivalence of- Returns:
- boolean identifying if these processors should be considered equivalent to each other.
-
toString
- Overrides:
toStringin classAbstractPartitioningOperatorFactory
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAbstractPartitioningOperatorFactory
-
equals
- Overrides:
equalsin classAbstractPartitioningOperatorFactory
-