Package io.trino.spi.statistics
Class DoubleRange
java.lang.Object
io.trino.spi.statistics.DoubleRange
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Optional<DoubleRange>Creates DoubleRange from Trino native representation.doublegetMax()doublegetMin()inthashCode()toString()static DoubleRangeunion(DoubleRange first, DoubleRange second)
-
Constructor Details
-
DoubleRange
public DoubleRange(double min, double max)
-
-
Method Details
-
from
public static Optional<DoubleRange> from(Type type, Object minTrinoNativeValue, Object maxTrinoNativeValue) Creates DoubleRange from Trino native representation. -
getMin
public double getMin() -
getMax
public double getMax() -
union
-
equals
-
hashCode
public int hashCode() -
toString
-