public class MathExpr extends Object
Constructor and Description |
---|
MathExpr() |
Modifier and Type | Method and Description |
---|---|
static long |
abs(long v) |
static long |
doubleToTimestamp(double v) |
static long |
fromTimestamp(long v) |
static double |
fromTimestampToDouble(long v) |
static double |
log2(double d) |
static long |
longToTimestamp(long v) |
static long |
millisecondsLongToTimestamp(long v) |
static void |
NaNToNull(DoubleColumnVector v,
int[] sel,
boolean selectedInUse,
int n) |
static void |
NaNToNull(DoubleColumnVector v,
int[] sel,
boolean selectedInUse,
int n,
boolean convertInfinity) |
static double |
round(double d) |
static double |
sign(double v) |
static double |
sign(long v) |
static long |
toBool(double v) |
static long |
toBool(long v) |
static int |
writeLongToUTF8(byte[] result,
long i) |
public static double round(double d)
public static double log2(double d)
public static long abs(long v)
public static double sign(double v)
public static double sign(long v)
public static long toBool(long v)
public static long toBool(double v)
public static long longToTimestamp(long v)
public static long millisecondsLongToTimestamp(long v)
public static long doubleToTimestamp(double v)
public static long fromTimestamp(long v)
public static double fromTimestampToDouble(long v)
public static int writeLongToUTF8(byte[] result, long i)
public static void NaNToNull(DoubleColumnVector v, int[] sel, boolean selectedInUse, int n)
public static void NaNToNull(DoubleColumnVector v, int[] sel, boolean selectedInUse, int n, boolean convertInfinity)
Copyright © 2017 The Apache Software Foundation. All rights reserved.