Class Distributions.DistributionImpl
java.lang.Object
org.apache.gravitino.rel.expressions.distributions.Distributions.DistributionImpl
- All Implemented Interfaces:
Distribution
,Expression
- Enclosing class:
- Distributions
Create a distribution on columns. Like distribute by (a) or (a, b), for complex like
distributing by (func(a), b) or (func(a), func(b)), please use
Distributions.DistributionImpl.Builder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder to create a distribution. -
Field Summary
Fields inherited from interface org.apache.gravitino.rel.expressions.Expression
EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE
-
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.gravitino.rel.expressions.distributions.Distribution
children, equals
Methods inherited from interface org.apache.gravitino.rel.expressions.Expression
references
-
Method Details
-
strategy
Get the strategy of the distribution.- Specified by:
strategy
in interfaceDistribution
- Returns:
- The strategy of the distribution.
-
number
public int number()Get the number of buckets of the distribution.- Specified by:
number
in interfaceDistribution
- Returns:
- The number of buckets of the distribution.
-
expressions
Get the expressions of the distribution.- Specified by:
expressions
in interfaceDistribution
- Returns:
- The expressions of the distribution.
-
toString
-
equals
-
hashCode
public int hashCode()
-