Package org.apache.spark.sql.types
Class IntegerExactNumeric
Object
org.apache.spark.sql.types.IntegerExactNumeric
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic T
abs
(T x) static int
compare
(int x, int y) abstract static boolean
static boolean
equiv
(T x, T y) static int
fromInt
(int x) static boolean
gt
(T x, T y) static boolean
gteq
(T x, T y) static boolean
lt
(T x, T y) static boolean
lteq
(T x, T y) static T
max
(T x, T y) static T
min
(T x, T y) static int
minus
(int x, int y) static scala.math.Integral<T>.scala.math.Integral.IntegralOps
mkNumericOps
(T lhs) static scala.math.Ordering<T>.scala.math.Ordering.Ops
mkOrderingOps
(T lhs) static int
negate
(int x) static <U> scala.math.Ordering<U>
on
(scala.Function1<U, T> f) static T
one()
static int
plus
(int x, int y) static int
quot
(int x, int y) static int
rem
(int x, int y) static scala.math.Ordering<Object>
reverse()
static Comparator<T>
reversed()
static int
signum
(T x) static Comparator<T>
thenComparing
(Comparator<? super T> x$1) static <U extends Comparable<? super U>>
Comparator<T>thenComparing
(Function<? super T, ? extends U> x$1) static <U> Comparator<T>
thenComparing
(Function<? super T, ? extends U> x$1, Comparator<? super U> x$2) static Comparator<T>
thenComparingDouble
(ToDoubleFunction<? super T> x$1) static Comparator<T>
thenComparingInt
(ToIntFunction<? super T> x$1) static Comparator<T>
thenComparingLong
(ToLongFunction<? super T> x$1) static int
times
(int x, int y) static double
toDouble
(int x) static float
toFloat
(int x) static int
toInt
(int x) static long
toLong
(int x) static scala.Some<Object>
tryCompare
(T x, T y) static T
zero()
-
Constructor Details
-
IntegerExactNumeric
public IntegerExactNumeric()
-
-
Method Details
-
plus
public static int plus(int x, int y) -
minus
public static int minus(int x, int y) -
times
public static int times(int x, int y) -
negate
public static int negate(int x) -
equals
-
reversed
-
thenComparing
-
thenComparing
public static <U> Comparator<T> thenComparing(Function<? super T, ? extends U> x$1, Comparator<? super U> x$2) -
thenComparing
public static <U extends Comparable<? super U>> Comparator<T> thenComparing(Function<? super T, ? extends U> x$1) -
thenComparingInt
-
thenComparingLong
-
thenComparingDouble
-
tryCompare
-
lteq
public static boolean lteq(T x, T y) -
gteq
public static boolean gteq(T x, T y) -
lt
public static boolean lt(T x, T y) -
gt
public static boolean gt(T x, T y) -
equiv
public static boolean equiv(T x, T y) -
max
public static T max(T x, T y) -
min
public static T min(T x, T y) -
on
public static <U> scala.math.Ordering<U> on(scala.Function1<U, T> f) -
mkOrderingOps
public static scala.math.Ordering<T>.scala.math.Ordering.Ops mkOrderingOps(T lhs) -
zero
public static T zero() -
one
public static T one() -
abs
public static T abs(T x) -
signum
public static int signum(T x) -
mkNumericOps
public static scala.math.Integral<T>.scala.math.Integral.IntegralOps mkNumericOps(T lhs) -
quot
public static int quot(int x, int y) -
rem
public static int rem(int x, int y) -
fromInt
public static int fromInt(int x) -
toInt
public static int toInt(int x) -
toLong
public static long toLong(int x) -
toFloat
public static float toFloat(int x) -
toDouble
public static double toDouble(int x) -
compare
public static int compare(int x, int y) -
reverse
-