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 classBuilder 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, waitMethods inherited from interface org.apache.gravitino.rel.expressions.distributions.Distribution
children, equalsMethods inherited from interface org.apache.gravitino.rel.expressions.Expression
references
-
Method Details
-
strategy
Get the strategy of the distribution.- Specified by:
strategyin interfaceDistribution- Returns:
- The strategy of the distribution.
-
number
public int number()Get the number of buckets of the distribution.- Specified by:
numberin interfaceDistribution- Returns:
- The number of buckets of the distribution.
-
expressions
Get the expressions of the distribution.- Specified by:
expressionsin interfaceDistribution- Returns:
- The expressions of the distribution.
-
toString
-
equals
-
hashCode
public int hashCode()
-