| Modifier and Type | Method and Description |
|---|---|
ColumnVector |
ColumnVector.abs()
Calculate the abs, output is the same type as input.
|
default ColumnVector |
BinaryOperable.add(BinaryOperable rhs)
Add + operator.
|
default ColumnVector |
BinaryOperable.add(BinaryOperable rhs,
DType outType)
Add + operator.
|
default ColumnVector |
BinaryOperable.and(BinaryOperable rhs)
Logical and (&&).
|
default ColumnVector |
BinaryOperable.and(BinaryOperable rhs,
DType outType)
Logical and (&&) with the given output type.
|
ColumnVector |
ColumnVector.arccos()
Calculate the arccos, output is the same type as input.
|
ColumnVector |
ColumnVector.arcsin()
Calculate the arcsin, output is the same type as input.
|
ColumnVector |
ColumnVector.arctan()
Calculate the arctan, output is the same type as input.
|
ColumnVector |
ColumnVector.asBytes()
Cast to Byte - ColumnVector
This method takes the value provided by the ColumnVector and casts to byte
When casting from a Date, Timestamp, or Boolean to a byte type the underlying numerical
representation of the data will be used for the cast.
|
ColumnVector |
ColumnVector.asDate32()
Cast to Date32 - ColumnVector
This method takes the value provided by the ColumnVector and casts to date32
|
ColumnVector |
ColumnVector.asDate64()
Cast to Date64 - ColumnVector
This method takes the value provided by the ColumnVector and casts to date64
|
ColumnVector |
ColumnVector.asDoubles()
Cast to Double - ColumnVector
This method takes the value provided by the ColumnVector and casts to double
When casting from a Date, Timestamp, or Boolean to a double type the underlying numerical
representation of the data will be used for the cast.
|
ColumnVector |
ColumnVector.asFloats()
Cast to Float - ColumnVector
This method takes the value provided by the ColumnVector and casts to float
When casting from a Date, Timestamp, or Boolean to a float type the underlying numerical
representatio of the data will be used for the cast.
|
ColumnVector |
ColumnVector.asInts()
Cast to Int - ColumnVector
This method takes the value provided by the ColumnVector and casts to int
When casting from a Date, Timestamp, or Boolean to a int type the underlying numerical
representation of the data will be used for the cast.
|
ColumnVector |
ColumnVector.asLongs()
Cast to Long - ColumnVector
This method takes the value provided by the ColumnVector and casts to long
When casting from a Date, Timestamp, or Boolean to a long type the underlying numerical
representation of the data will be used for the cast.
|
ColumnVector |
ColumnVector.asShorts()
Cast to Short - ColumnVector
This method takes the value provided by the ColumnVector and casts to short
When casting from a Date, Timestamp, or Boolean to a short type the underlying numerical
representation of the data will be used for the cast.
|
ColumnVector |
ColumnVector.asStringCategories()
Cast to String Categories.
|
ColumnVector |
ColumnVector.asStrings()
Cast to Strings.
|
ColumnVector |
ColumnVector.asTimestamp(TimeUnit unit)
Cast to Timestamp - ColumnVector
This method takes the value provided by the ColumnVector and casts to timestamp
|
ColumnVector |
ColumnVector.binaryOp(BinaryOp op,
BinaryOperable rhs,
DType outType)
Multiple different binary operations.
|
ColumnVector |
BinaryOperable.binaryOp(BinaryOp op,
BinaryOperable rhs,
DType outType)
Multiple different binary operations.
|
ColumnVector |
Scalar.binaryOp(BinaryOp op,
BinaryOperable rhs,
DType outType) |
default ColumnVector |
BinaryOperable.bitAnd(BinaryOperable rhs)
Bit wise and (&).
|
default ColumnVector |
BinaryOperable.bitAnd(BinaryOperable rhs,
DType outType)
Bit wise and (&) with the given output type.
|
ColumnVector |
ColumnVector.bitInvert()
invert the bits, output is the same type as input.
|
default ColumnVector |
BinaryOperable.bitOr(BinaryOperable rhs)
Bit wise or (|).
|
default ColumnVector |
BinaryOperable.bitOr(BinaryOperable rhs,
DType outType)
Bit wise or (|) with the given output type.
|
default ColumnVector |
BinaryOperable.bitXor(BinaryOperable rhs)
Bit wise xor (^).
|
default ColumnVector |
BinaryOperable.bitXor(BinaryOperable rhs,
DType outType)
Bit wise xor (^) with the given output type.
|
static ColumnVector |
ColumnVector.boolFromBytes(byte... values)
Create a new vector from the given values.
|
ColumnVector |
ColumnVector.Builder.build()
Finish and create the immutable ColumnVector.
|
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,
int rows,
long stringBufferSize,
java.util.function.Consumer<ColumnVector.Builder> init) |
static ColumnVector |
ColumnVector.build(DType type,
TimeUnit tsTimeUnit,
int rows,
java.util.function.Consumer<ColumnVector.Builder> init)
Create a new vector.
|
ColumnVector |
ColumnVector.Builder.buildOnHost()
Finish and create the immutable ColumnVector.
|
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.
|
static ColumnVector |
ColumnVector.categoryFromStrings(String... values)
Create a new category string vector from the given values.
|
ColumnVector |
ColumnVector.ceil()
Calculate the ceil, output is the same type as input.
|
static ColumnVector |
ColumnVector.concatenate(ColumnVector... columns)
Create a new vector by concatenating multiple columns together.
|
ColumnVector |
ColumnVector.cos()
Calculate the cos, output is the same type as input.
|
static ColumnVector |
ColumnVector.datesFromBoxedInts(Integer... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.datesFromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.datesFromInts(int... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.datesFromLongs(long... values)
Create a new vector from the given values.
|
ColumnVector |
ColumnVector.day()
Get day from DATE32, DATE64, or TIMESTAMP
|
default ColumnVector |
BinaryOperable.div(BinaryOperable rhs)
Divide one vector by another.
|
default ColumnVector |
BinaryOperable.div(BinaryOperable rhs,
DType outType)
Divide one vector by another with the given output type.
|
default ColumnVector |
BinaryOperable.equalTo(BinaryOperable rhs)
this == rhs 1 is true 0 is false.
|
default ColumnVector |
BinaryOperable.equalTo(BinaryOperable rhs,
DType outType)
this == rhs 1 is true 0 is false with the output cast to the given type.
|
ColumnVector |
ColumnVector.exp()
Calculate the exp, output is the same type as input.
|
ColumnVector |
ColumnVector.floor()
Calculate the floor, output is the same type as input.
|
default ColumnVector |
BinaryOperable.floorDiv(BinaryOperable rhs)
Divide one vector by another and calculate the floor of the result.
|
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 ColumnVector |
ColumnVector.fromBoxedBooleans(Boolean... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromBoxedBytes(Byte... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromBoxedDoubles(Double... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromBoxedFloats(Float... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromBoxedInts(Integer... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromBoxedShorts(Short... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromBytes(byte... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromDoubles(double... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromFloats(float... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromInts(int... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromLongs(long... values)
Create a new vector from the given values.
|
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
|
static ColumnVector |
ColumnVector.fromShorts(short... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromStrings(String... values)
Create a new string vector from the given values.
|
ColumnVector |
ColumnVector.getByteCount()
Retrieve the number of bytes for each string.
|
ColumnVector |
Table.getColumn(int index)
Return the
ColumnVector at the specified index. |
ColumnVector |
PartitionedTable.getColumn(int index) |
ColumnVector |
ColumnVector.getLengths()
Retrieve the number of characters in each string.
|
default ColumnVector |
BinaryOperable.greaterOrEqualTo(BinaryOperable rhs)
this >= rhs 1 is true 0 is false.
|
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)
this > rhs 1 is true 0 is false.
|
default ColumnVector |
BinaryOperable.greaterThan(BinaryOperable rhs,
DType outType)
this > rhs 1 is true 0 is false with the output cast to the given type.
|
ColumnVector |
ColumnVector.hash()
Compute the 32 bit hash of a vector.
|
ColumnVector |
ColumnVector.hash(HashFunction func)
Compute a specific hash of a vector.
|
ColumnVector |
ColumnVector.hour()
Get hour from DATE64 or TIMESTAMP
|
ColumnVector |
ColumnVector.identityHash()
Compute the IDENTITY hash of the column.
|
ColumnVector |
ColumnVector.incRefCount()
Increment the reference count for this column.
|
ColumnVector |
ColumnVector.isNotNull()
Returns a Boolean vector with the same number of rows as this instance, that has
TRUE for any entry that is not null, and FALSE for any null entry (as per the validity mask)
|
ColumnVector |
ColumnVector.isNull()
Returns a Boolean vector with the same number of rows as this instance, that has
FALSE for any entry that is not null, and TRUE for any null entry (as per the validity mask)
|
default ColumnVector |
BinaryOperable.lessOrEqualTo(BinaryOperable rhs)
this <= rhs 1 is true 0 is false.
|
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)
this < rhs 1 is true 0 is false.
|
default ColumnVector |
BinaryOperable.lessThan(BinaryOperable rhs,
DType outType)
this < rhs 1 is true 0 is false with the output cast to the given type.
|
ColumnVector |
ColumnVector.log()
Calculate the log, output is the same type as input.
|
ColumnVector |
ColumnVector.minute()
Get minute from DATE64 or TIMESTAMP
|
default ColumnVector |
BinaryOperable.mod(BinaryOperable rhs)
Compute the modulus.
|
default ColumnVector |
BinaryOperable.mod(BinaryOperable rhs,
DType outType)
Compute the modulus with the given output type.
|
ColumnVector |
ColumnVector.month()
Get month from DATE32, DATE64, or TIMESTAMP
|
default ColumnVector |
BinaryOperable.mul(BinaryOperable rhs)
Multiply two vectors together.
|
default ColumnVector |
BinaryOperable.mul(BinaryOperable rhs,
DType outType)
Multiply two vectors together with the given output type.
|
ColumnVector |
ColumnVector.murmur3()
Compute the MURMUR3 hash of the column.
|
ColumnVector |
ColumnVector.not()
Returns a vector of the logical `not` of each value in the input
column (this)
|
default ColumnVector |
BinaryOperable.notEqualTo(BinaryOperable rhs)
this != rhs 1 is true 0 is false.
|
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)
Logical or (||).
|
default ColumnVector |
BinaryOperable.or(BinaryOperable rhs,
DType outType)
Logical or (||) with the given output type.
|
default ColumnVector |
BinaryOperable.pow(BinaryOperable rhs)
Compute the power.
|
default ColumnVector |
BinaryOperable.pow(BinaryOperable rhs,
DType outType)
Compute the power with the given output type.
|
ColumnVector |
ColumnVector.replaceNulls(Scalar scalar)
Returns a ColumnVector with any null values replaced with a scalar.
|
ColumnVector |
ColumnVector.second()
Get second from DATE64 or TIMESTAMP
|
ColumnVector |
ColumnVector.sin()
Calculate the sin, output is the same type as input.
|
ColumnVector[] |
ColumnVector.slice(ColumnVector indices)
Slices a column (including null values) into a set of columns
according to a set of indices.
|
ColumnVector[] |
ColumnVector.slice(int... indices)
Slices a column (including null values) into a set of columns
according to a set of indices.
|
ColumnVector |
ColumnVector.sqrt()
Calculate the sqrt, output is the same type as input.
|
default ColumnVector |
BinaryOperable.sub(BinaryOperable rhs)
Subtract one vector from another.
|
default ColumnVector |
BinaryOperable.sub(BinaryOperable rhs,
DType outType)
Subtract one vector from another with the given output type.
|
ColumnVector |
ColumnVector.tan()
Calculate the tan, output is the same type as input.
|
static ColumnVector |
ColumnVector.timestampsFromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.timestampsFromBoxedLongs(TimeUnit tsTimeUnit,
Long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.timestampsFromLongs(long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.timestampsFromLongs(TimeUnit tsTimeUnit,
long... values)
Create a new vector from the given values.
|
default ColumnVector |
BinaryOperable.trueDiv(BinaryOperable rhs)
Divide one vector by another converting to FLOAT64 in between.
|
default ColumnVector |
BinaryOperable.trueDiv(BinaryOperable rhs,
DType outType)
Divide one vector by another converting to FLOAT64 in between with the given output type.
|
ColumnVector |
ColumnVector.unaryOp(UnaryOp op)
Multiple different unary operations.
|
ColumnVector |
ColumnVector.year()
Get year from DATE32, DATE64, or TIMESTAMP
|
| Modifier and Type | Method and Description |
|---|---|
ColumnVector.Builder |
ColumnVector.Builder.append(ColumnVector columnVector)
Append this vector to the end of this vector
|
static ColumnVector |
ColumnVector.concatenate(ColumnVector... columns)
Create a new vector by concatenating multiple columns together.
|
Table |
Table.filter(ColumnVector mask)
Filters this table using a column of boolean values as a mask, returning a new one.
|
static long |
JCudfSerialization.getSerializedSizeInBytes(ColumnVector[] columns,
long rowOffset,
long numRows) |
ColumnVector[] |
ColumnVector.slice(ColumnVector indices)
Slices a column (including null values) into a set of columns
according to a set of indices.
|
static void |
JCudfSerialization.writeToStream(ColumnVector[] columns,
OutputStream out,
long rowOffset,
long numRows)
Write all or part of a set of columns out in an internal format.
|
| Constructor and Description |
|---|
Table(ColumnVector... columns)
Table class makes a copy of the array of
ColumnVectors passed to it. |
Copyright © 2019. All rights reserved.