| Modifier and Type | Method and Description |
|---|---|
DType |
Scalar.getType() |
DType |
BinaryOperable.getType()
Get the type of this data.
|
DType |
ColumnVector.getType()
Returns the type of this vector.
|
static DType |
BinaryOperable.implicitConversion(BinaryOperable lhs,
BinaryOperable rhs)
Finds the proper DType for an implicit output.
|
static DType |
DType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DType[] |
DType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
default ColumnVector |
BinaryOperable.add(BinaryOperable rhs,
DType outType)
Add + operator.
|
default ColumnVector |
BinaryOperable.and(BinaryOperable rhs,
DType outType)
Logical and (&&) with the given output type.
|
ColumnVector |
Scalar.binaryOp(BinaryOp op,
BinaryOperable rhs,
DType outType) |
ColumnVector |
BinaryOperable.binaryOp(BinaryOp op,
BinaryOperable rhs,
DType outType)
Multiple different binary operations.
|
ColumnVector |
ColumnVector.binaryOp(BinaryOp op,
BinaryOperable rhs,
DType outType)
Multiple different binary operations.
|
default ColumnVector |
BinaryOperable.bitAnd(BinaryOperable rhs,
DType outType)
Bit wise and (&) with the given output type.
|
default ColumnVector |
BinaryOperable.bitOr(BinaryOperable rhs,
DType outType)
Bit wise or (|) with the given output type.
|
default ColumnVector |
BinaryOperable.bitXor(BinaryOperable rhs,
DType outType)
Bit wise xor (^) with the given output type.
|
static ColumnVector |
ColumnVector.build(DType type,
int rows,
java.util.function.Consumer<ColumnVector.Builder> init)
Create a new vector.
|
static ColumnVector |
ColumnVector.build(DType type,
TimeUnit tsTimeUnit,
int rows,
java.util.function.Consumer<ColumnVector.Builder> init)
Create a new vector.
|
static ColumnVector.Builder |
ColumnVector.builder(DType type,
int rows)
Create a new Builder to hold the specified number of rows.
|
static ColumnVector.Builder |
ColumnVector.builder(DType type,
TimeUnit tsTimeUnit,
int rows)
Create a new Builder to hold the specified number of rows.
|
static ColumnVector |
ColumnVector.buildOnHost(DType type,
int rows,
java.util.function.Consumer<ColumnVector.Builder> init)
Create a new vector without sending data to the device.
|
static ColumnVector |
ColumnVector.buildOnHost(DType type,
TimeUnit tsTimeUnit,
int rows,
java.util.function.Consumer<ColumnVector.Builder> init)
Create a new vector without sending data to the device.
|
ColumnVector |
ColumnVector.castTo(DType type,
TimeUnit unit)
Generic method to cast ColumnVector
When casting from a Date, Timestamp, or Boolean to a numerical type the underlying numerical
representationof the data will be used for the cast.
|
Schema.Builder |
Schema.Builder.column(DType type,
String name) |
default ColumnVector |
BinaryOperable.div(BinaryOperable rhs,
DType outType)
Divide one vector by another with the given output type.
|
default ColumnVector |
BinaryOperable.equalTo(BinaryOperable rhs,
DType outType)
this == rhs 1 is true 0 is false with the output cast to the given type.
|
default ColumnVector |
BinaryOperable.floorDiv(BinaryOperable rhs,
DType outType)
Divide one vector by another and calculate the floor of the result with the given output type.
|
static Scalar |
Scalar.fromNull(DType dtype) |
default ColumnVector |
BinaryOperable.greaterOrEqualTo(BinaryOperable rhs,
DType outType)
this >= rhs 1 is true 0 is false with the output cast to the given type.
|
default ColumnVector |
BinaryOperable.greaterThan(BinaryOperable rhs,
DType outType)
this > rhs 1 is true 0 is false with the output cast to the given type.
|
default ColumnVector |
BinaryOperable.lessOrEqualTo(BinaryOperable rhs,
DType outType)
this <= rhs 1 is true 0 is false with the output cast to the given type.
|
default ColumnVector |
BinaryOperable.lessThan(BinaryOperable rhs,
DType outType)
this < rhs 1 is true 0 is false with the output cast to the given type.
|
Scalar |
ColumnVector.max(DType outType)
Returns the maximum of all values in the column, returning a scalar
of the specified type.
|
Scalar |
ColumnVector.min(DType outType)
Returns the minimum of all values in the column, returning a scalar
of the specified type.
|
default ColumnVector |
BinaryOperable.mod(BinaryOperable rhs,
DType outType)
Compute the modulus with the given output type.
|
default ColumnVector |
BinaryOperable.mul(BinaryOperable rhs,
DType outType)
Multiply two vectors together with the given output type.
|
default ColumnVector |
BinaryOperable.notEqualTo(BinaryOperable rhs,
DType outType)
this != rhs 1 is true 0 is false with the output cast to the given type.
|
default ColumnVector |
BinaryOperable.or(BinaryOperable rhs,
DType outType)
Logical or (||) with the given output type.
|
default ColumnVector |
BinaryOperable.pow(BinaryOperable rhs,
DType outType)
Compute the power with the given output type.
|
Scalar |
ColumnVector.product(DType outType)
Returns the product of all values in the column, returning a scalar
of the specified type.
|
Scalar |
ColumnVector.reduction(ReductionOp op,
DType outType)
Computes the reduction of the values in all rows of a column.
|
default ColumnVector |
BinaryOperable.sub(BinaryOperable rhs,
DType outType)
Subtract one vector from another with the given output type.
|
Scalar |
ColumnVector.sum(DType outType)
Computes the sum of all values in the column, returning a scalar
of the specified type.
|
Scalar |
ColumnVector.sumOfSquares(DType outType)
Returns the sum of squares of all values in the column, returning a
scalar of the specified type.
|
default ColumnVector |
BinaryOperable.trueDiv(BinaryOperable rhs,
DType outType)
Divide one vector by another converting to FLOAT64 in between with the given output type.
|
Copyright © 2019. All rights reserved.