Package org.apache.spark.sql.types
Class IntegerExactNumeric
Object
org.apache.spark.sql.types.IntegerExactNumeric
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Tabs(T x) static intcompare(int x, int y) abstract static booleanstatic booleanequiv(T x, T y) static intfromInt(int x) static booleangt(T x, T y) static booleangteq(T x, T y) static booleanisReverseOf(scala.math.Ordering<?> other) static booleanlt(T x, T y) static booleanlteq(T x, T y) static <U extends T>
Umax(U x, U y) static <U extends T>
Umin(U x, U y) static intminus(int x, int y) static scala.math.Integral<T>.scala.math.Integral.IntegralOpsmkNumericOps(T lhs) static scala.math.Ordering<T>.scala.math.Ordering.OrderingOpsmkOrderingOps(T lhs) static intnegate(int x) static <U> scala.math.Ordering<U>on(scala.Function1<U, T> f) static Tone()static scala.math.Ordering<T>orElse(scala.math.Ordering<T> other) static <S> scala.math.Ordering<T>orElseBy(scala.Function1<T, S> f, scala.math.Ordering<S> ord) static scala.Option<Object>parseString(String str) static intplus(int x, int y) static intquot(int x, int y) static intrem(int x, int y) static scala.math.Ordering<T>reverse()static Comparator<T>reversed()static intsign(int x) static intsignum(int 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 inttimes(int x, int y) static doubletoDouble(int x) static floattoFloat(int x) static inttoInt(int x) static longtoLong(int x) static scala.Some<Object>tryCompare(T x, T y) static Tzero()
-
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 <U extends T> U max(U x, U y) -
min
public static <U extends T> U min(U x, U y) -
reverse
public static scala.math.Ordering<T> reverse() -
isReverseOf
public static boolean isReverseOf(scala.math.Ordering<?> other) -
on
public static <U> scala.math.Ordering<U> on(scala.Function1<U, T> f) -
orElse
public static scala.math.Ordering<T> orElse(scala.math.Ordering<T> other) -
orElseBy
public static <S> scala.math.Ordering<T> orElseBy(scala.Function1<T, S> f, scala.math.Ordering<S> ord) -
mkOrderingOps
public static scala.math.Ordering<T>.scala.math.Ordering.OrderingOps mkOrderingOps(T lhs) -
zero
public static T zero() -
one
public static T one() -
abs
public static T abs(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) -
parseString
-
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) -
signum
public static int signum(int x) -
sign
public static int sign(int x) -
compare
public static int compare(int x, int y)
-