| Modifier and Type | Field and Description |
|---|---|
static Scalar |
Scalar.NULL
Generic NULL value.
|
| Modifier and Type | Method and Description |
|---|---|
Scalar |
ColumnVector.approxQuantile(double quantile)
Calculate the approximate quantile of this ColumnVector
|
static Scalar |
Scalar.dateFromInt(int value) |
static Scalar |
Scalar.dateFromLong(long value) |
Scalar |
ColumnVector.exactQuantile(QuantileMethod method,
double quantile)
Calculate the quantile of this ColumnVector
|
static Scalar |
Scalar.fromBool(boolean value) |
static Scalar |
Scalar.fromByte(byte value) |
static Scalar |
Scalar.fromDouble(double value) |
static Scalar |
Scalar.fromFloat(float value) |
static Scalar |
Scalar.fromInt(int value) |
static Scalar |
Scalar.fromLong(long value) |
static Scalar |
Scalar.fromNull(DType dtype) |
static Scalar |
Scalar.fromShort(short value) |
static Scalar |
Scalar.fromString(String value) |
Scalar |
ColumnVector.getCategoryIndex(Scalar s)
Returns the category index of the specified string scalar.
|
Scalar |
ColumnVector.max()
Returns the maximum of all values in the column, returning a scalar
of the same type as this column.
|
Scalar |
ColumnVector.max(DType outType)
Returns the maximum of all values in the column, returning a scalar
of the specified type.
|
Scalar |
ColumnVector.min()
Returns the minimum of all values in the column, returning a scalar
of the same type as this column.
|
Scalar |
ColumnVector.min(DType outType)
Returns the minimum of all values in the column, returning a scalar
of the specified type.
|
Scalar |
ColumnVector.product()
Returns the product of all values in the column, returning a scalar
of the same type as this column.
|
Scalar |
ColumnVector.product(DType outType)
Returns the product of all values in the column, returning a scalar
of the specified type.
|
Scalar |
ColumnVector.reduce(ReductionOp op)
Computes the reduction of the values in all rows of a column.
|
Scalar |
ColumnVector.reduce(ReductionOp op,
DType outType)
Computes the reduction of the values in all rows of a column.
|
Scalar |
ColumnVector.standardDeviation()
Returns the sample standard deviation of all values in the column,
returning a FLOAT64 scalar unless the column type is FLOAT32 then
a FLOAT32 scalaris returned.
|
Scalar |
ColumnVector.standardDeviation(DType outType)
Returns the sample standard deviation of all values in the column,
returning a scalar of the specified type.
|
Scalar |
ColumnVector.sum()
Computes the sum of all values in the column, returning a scalar
of the same type as this column.
|
Scalar |
ColumnVector.sum(DType outType)
Computes the sum of all values in the column, returning a scalar
of the specified type.
|
Scalar |
ColumnVector.sumOfSquares()
Returns the sum of squares of all values in the column, returning a
scalar of the same type as this column.
|
Scalar |
ColumnVector.sumOfSquares(DType outType)
Returns the sum of squares of all values in the column, returning a
scalar of the specified type.
|
static Scalar |
Scalar.timestampFromLong(long value) |
static Scalar |
Scalar.timestampFromLong(long value,
TimeUnit unit) |
static Scalar |
Scalar.timestampFromNull(TimeUnit timeUnit) |
| Modifier and Type | Method and Description |
|---|---|
static ColumnVector |
ColumnVector.fromScalar(Scalar scalar,
int rows)
Create a new vector of length rows, where each row is filled with the Scalar's
value
|
Scalar |
ColumnVector.getCategoryIndex(Scalar s)
Returns the category index of the specified string scalar.
|
ColumnVector |
ColumnVector.replaceNulls(Scalar scalar)
Returns a ColumnVector with any null values replaced with a scalar.
|
Copyright © 2019. All rights reserved.