public class NullUtil extends Object
Constructor and Description |
---|
NullUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
filterNulls(ColumnVector v,
boolean selectedInUse,
int[] sel,
int n)
Filter out rows with null values.
|
static void |
initOutputNullsToFalse(ColumnVector v,
boolean isRepeating,
boolean selectedInUse,
int[] sel,
int n) |
static void |
propagateNullsColCol(ColumnVector inputColVector1,
ColumnVector inputColVector2,
ColumnVector outputColVector,
int[] sel,
int n,
boolean selectedInUse) |
static void |
setNullAndDivBy0DataEntriesDouble(DoubleColumnVector v,
boolean selectedInUse,
int[] sel,
int n,
DoubleColumnVector denoms)
Set all the entries for which denoms array contains zeroes to NULL; sets all the data
values for NULL entries for DoubleColumnVector.NULL_VALUE.
|
static void |
setNullAndDivBy0DataEntriesDouble(DoubleColumnVector v,
boolean selectedInUse,
int[] sel,
int n,
LongColumnVector denoms)
Set all the entries for which denoms array contains zeroes to NULL; sets all the data
values for NULL entries for DoubleColumnVector.NULL_VALUE.
|
static void |
setNullAndDivBy0DataEntriesLong(LongColumnVector v,
boolean selectedInUse,
int[] sel,
int n,
DoubleColumnVector denoms)
Set all the entries for which denoms array contains zeroes to NULL; sets all the data
values for NULL entries for LongColumnVector.NULL_VALUE.
|
static void |
setNullAndDivBy0DataEntriesLong(LongColumnVector v,
boolean selectedInUse,
int[] sel,
int n,
LongColumnVector denoms)
Set all the entries for which denoms array contains zeroes to NULL; sets all the data
values for NULL entries for LongColumnVector.NULL_VALUE.
|
static void |
setNullDataEntriesBytes(BytesColumnVector v,
boolean selectedInUse,
int[] sel,
int n)
Set the data value for all NULL entries to the designated NULL_VALUE.
|
static void |
setNullDataEntriesDecimal(DecimalColumnVector v,
boolean selectedInUse,
int[] sel,
int n)
Follow the convention that null decimal values are internally set to the smallest
positive value available.
|
static void |
setNullDataEntriesDouble(DoubleColumnVector v,
boolean selectedInUse,
int[] sel,
int n)
Set the data value for all NULL entries to NaN
|
static void |
setNullDataEntriesIntervalDayTime(IntervalDayTimeColumnVector v,
boolean selectedInUse,
int[] sel,
int n)
Set the data value for all NULL entries to the designated NULL_VALUE.
|
static void |
setNullDataEntriesLong(LongColumnVector v,
boolean selectedInUse,
int[] sel,
int n)
Set the data value for all NULL entries to the designated NULL_VALUE.
|
static void |
setNullDataEntriesTimestamp(TimestampColumnVector v,
boolean selectedInUse,
int[] sel,
int n)
Set the data value for all NULL entries to the designated NULL_VALUE.
|
static void |
setNullOutputEntriesColScalar(ColumnVector v,
boolean selectedInUse,
int[] sel,
int n) |
public static void setNullDataEntriesLong(LongColumnVector v, boolean selectedInUse, int[] sel, int n)
public static void setNullDataEntriesBytes(BytesColumnVector v, boolean selectedInUse, int[] sel, int n)
public static void setNullDataEntriesTimestamp(TimestampColumnVector v, boolean selectedInUse, int[] sel, int n)
public static void setNullDataEntriesIntervalDayTime(IntervalDayTimeColumnVector v, boolean selectedInUse, int[] sel, int n)
public static void setNullOutputEntriesColScalar(ColumnVector v, boolean selectedInUse, int[] sel, int n)
public static void setNullDataEntriesDouble(DoubleColumnVector v, boolean selectedInUse, int[] sel, int n)
public static void setNullAndDivBy0DataEntriesDouble(DoubleColumnVector v, boolean selectedInUse, int[] sel, int n, LongColumnVector denoms)
public static void setNullAndDivBy0DataEntriesDouble(DoubleColumnVector v, boolean selectedInUse, int[] sel, int n, DoubleColumnVector denoms)
public static void setNullAndDivBy0DataEntriesLong(LongColumnVector v, boolean selectedInUse, int[] sel, int n, LongColumnVector denoms)
public static void setNullAndDivBy0DataEntriesLong(LongColumnVector v, boolean selectedInUse, int[] sel, int n, DoubleColumnVector denoms)
public static void propagateNullsColCol(ColumnVector inputColVector1, ColumnVector inputColVector2, ColumnVector outputColVector, int[] sel, int n, boolean selectedInUse)
public static void setNullDataEntriesDecimal(DecimalColumnVector v, boolean selectedInUse, int[] sel, int n)
public static void initOutputNullsToFalse(ColumnVector v, boolean isRepeating, boolean selectedInUse, int[] sel, int n)
public static int filterNulls(ColumnVector v, boolean selectedInUse, int[] sel, int n)
Copyright © 2016 The Apache Software Foundation. All rights reserved.