| 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.arccosh()
Calculate the hyperbolic arccos, output is the same type as input.
|
ColumnVector |
ColumnVector.arcsin()
Calculate the arcsin, output is the same type as input.
|
ColumnVector |
ColumnVector.arcsinh()
Calculate the hyperbolic arcsin, output is the same type as input.
|
ColumnVector |
ColumnVector.arctan()
Calculate the arctan, output is the same type as input.
|
default ColumnVector |
BinaryOperable.arctan2(BinaryOperable xCoordinate)
The function arctan2(y,x) or atan2(y,x) is defined as the angle in the Euclidean plane, given
in radians, between the positive x axis and the ray to the point (x, y) ≠ (0, 0).
|
default ColumnVector |
BinaryOperable.arctan2(BinaryOperable xCoordinate,
DType outType)
The function arctan2(y,x) or atan2(y,x) is defined as the angle in the Euclidean plane, given
in radians, between the positive x axis and the ray to the point (x, y) ≠ (0, 0).
|
ColumnVector |
ColumnVector.arctanh()
Calculate the hyperbolic 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.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.asStrings()
Cast to Strings.
|
ColumnVector |
ColumnVector.asStrings(String format)
Method to parse and convert a timestamp column vector to string column vector.
|
ColumnVector |
ColumnVector.asTimestamp(DType timestampType,
String format)
Parse a string to a timestamp.
|
ColumnVector |
ColumnVector.asTimestampDays()
Cast to TIMESTAMP_DAYS - ColumnVector
This method takes the value provided by the ColumnVector and casts to TIMESTAMP_DAYS
|
ColumnVector |
ColumnVector.asTimestampDays(String format)
Cast to TIMESTAMP_DAYS - ColumnVector
This method takes the string value provided by the ColumnVector and casts to TIMESTAMP_DAYS
|
ColumnVector |
ColumnVector.asTimestampMicroseconds()
Cast to TIMESTAMP_MICROSECONDS - ColumnVector
This method takes the value provided by the ColumnVector and casts to TIMESTAMP_MICROSECONDS
|
ColumnVector |
ColumnVector.asTimestampMicroseconds(String format)
Cast to TIMESTAMP_MICROSECONDS - ColumnVector
This method takes the string value provided by the ColumnVector and casts to TIMESTAMP_MICROSECONDS
|
ColumnVector |
ColumnVector.asTimestampMilliseconds()
Cast to TIMESTAMP_MILLISECONDS - ColumnVector
This method takes the value provided by the ColumnVector and casts to TIMESTAMP_MILLISECONDS.
|
ColumnVector |
ColumnVector.asTimestampMilliseconds(String format)
Cast to TIMESTAMP_MILLISECONDS - ColumnVector
This method takes the string value provided by the ColumnVector and casts to TIMESTAMP_MILLISECONDS.
|
ColumnVector |
ColumnVector.asTimestampNanoseconds()
Cast to TIMESTAMP_NANOSECONDS - ColumnVector
This method takes the value provided by the ColumnVector and casts to TIMESTAMP_NANOSECONDS.
|
ColumnVector |
ColumnVector.asTimestampNanoseconds(String format)
Cast to TIMESTAMP_NANOSECONDS - ColumnVector
This method takes the string value provided by the ColumnVector and casts to TIMESTAMP_NANOSECONDS.
|
ColumnVector |
ColumnVector.asTimestampSeconds()
Cast to TIMESTAMP_SECONDS - ColumnVector
This method takes the value provided by the ColumnVector and casts to TIMESTAMP_SECONDS
|
ColumnVector |
ColumnVector.asTimestampSeconds(String format)
Cast to TIMESTAMP_SECONDS - ColumnVector
This method takes the string value provided by the ColumnVector and casts to TIMESTAMP_SECONDS
|
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.
|
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.
|
static ColumnVector |
ColumnVector.build(DType type,
int rows,
java.util.function.Consumer<HostColumnVector.Builder> init)
Create a new vector.
|
static ColumnVector |
ColumnVector.build(int rows,
long stringBufferSize,
java.util.function.Consumer<HostColumnVector.Builder> init) |
ColumnVector |
HostColumnVector.Builder.buildAndPutOnDevice()
Finish and create the immutable ColumnVector, copied to the device.
|
ColumnVector |
ColumnVector.castTo(DType type)
Generic method to cast ColumnVector
When casting from a Date, Timestamp, or Boolean to a numerical type the underlying numerical
representation of the data will be used for the cast.
|
ColumnVector |
ColumnVector.cbrt()
Calculate the cube root, output is the same type as input.
|
ColumnVector |
ColumnVector.ceil()
Calculate the ceil, output is the same type as input.
|
ColumnVector |
ColumnVector.clamp(Scalar lo,
Scalar hi)
Replaces values less than `lo` in `input` with `lo`,
and values greater than `hi` with `hi`.
|
ColumnVector |
ColumnVector.clamp(Scalar lo,
Scalar loReplace,
Scalar hi,
Scalar hiReplace)
Replaces values less than `lo` in `input` with `lo_replace`,
and values greater than `hi` with `hi_replace`.
|
static ColumnVector |
ColumnVector.concatenate(ColumnVector... columns)
Create a new vector by concatenating multiple columns together.
|
ColumnVector |
ColumnVector.contains(ColumnVector needles)
Returns a new ColumnVector of
DType.BOOL8 elements containing true if the corresponding
entry in haystack is contained in needles and false if it is not. |
ColumnVector |
ColumnVector.containsRe(String pattern)
Returns a boolean ColumnVector identifying rows which
match the given regex pattern starting at any location.
|
ColumnVector |
HostColumnVector.copyToDevice()
Copy the data to the device.
|
ColumnVector |
ColumnVector.cos()
Calculate the cos, output is the same type as input.
|
ColumnVector |
ColumnVector.cosh()
Calculate the hyperbolic cos, output is the same type as input.
|
ColumnVector |
ColumnVector.day()
Get day from a timestamp.
|
static ColumnVector |
ColumnVector.daysFromInts(int... values)
Create a new vector from the given values.
|
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.
|
ColumnVector |
ColumnVector.endsWith(Scalar pattern)
Checks if each string in a column ends with a specified comparison string, resulting in a
parallel column of the boolean results.
|
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.
|
default ColumnVector |
BinaryOperable.equalToNullAware(BinaryOperable rhs)
like equalTo but NULL == NULL is TRUE and NULL == not NULL is FALSE
|
default ColumnVector |
BinaryOperable.equalToNullAware(BinaryOperable rhs,
DType outType)
like equalTo but NULL == NULL is TRUE and NULL == not NULL is FALSE
|
ColumnVector |
ColumnVector.exp()
Calculate the exp, output is the same type as input.
|
ColumnVector |
ColumnVector.findAndReplaceAll(ColumnVector oldValues,
ColumnVector newValues)
Returns a vector with all values "oldValues[i]" replaced with "newValues[i]".
|
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 |
ColumnVector.getCharLengths()
Retrieve the number of characters in each string.
|
ColumnVector |
Table.getColumn(int index)
Return the
ColumnVector at the specified index. |
ColumnVector |
PartitionedTable.getColumn(int index) |
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.hour()
Get hour from a timestamp with time resolution.
|
ColumnVector |
ColumnVector.ifElse(ColumnVector trueValues,
ColumnVector falseValues)
For a BOOL8 vector, computes a vector whose rows are selected from two other vectors
based on the boolean value of this vector in the corresponding row.
|
ColumnVector |
ColumnVector.ifElse(ColumnVector trueValues,
Scalar falseValue)
For a BOOL8 vector, computes a vector whose rows are selected from two other inputs
based on the boolean value of this vector in the corresponding row.
|
ColumnVector |
ColumnVector.ifElse(Scalar trueValue,
ColumnVector falseValues)
For a BOOL8 vector, computes a vector whose rows are selected from two other inputs
based on the boolean value of this vector in the corresponding row.
|
ColumnVector |
ColumnVector.ifElse(Scalar trueValue,
Scalar falseValue)
For a BOOL8 vector, computes a vector whose rows are selected from two other inputs
based on the boolean value of this vector in the corresponding row.
|
ColumnVector |
ColumnVector.incRefCount()
Increment the reference count for this column.
|
ColumnVector |
Table.interleaveColumns()
Interleave all columns into a single column.
|
ColumnVector |
ColumnVector.isFloat()
Returns a Boolean vector with the same number of rows as this instance, that has
TRUE for any entry that is a float, and FALSE if its not a float.
|
ColumnVector |
ColumnVector.isInteger()
Returns a Boolean vector with the same number of rows as this instance, that has
TRUE for any entry that is an integer, and FALSE if its not an integer.
|
ColumnVector |
ColumnVector.isNan()
Returns a Boolean vector with the same number of rows as this instance, that has
TRUE for any entry that is NaN, and FALSE if null or a valid floating point value
|
ColumnVector |
ColumnVector.isNotNan()
Returns a Boolean vector with the same number of rows as this instance, that has
TRUE for any entry that is null or a valid floating point value, FALSE otherwise
|
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.
|
default ColumnVector |
BinaryOperable.log(BinaryOperable rhs)
Calculate the log with the specified base, output is the same as this.
|
default ColumnVector |
BinaryOperable.log(BinaryOperable rhs,
DType outType)
Calculate the log with the specified base
|
ColumnVector |
ColumnVector.log10()
Calculate the log with base 10, output is the same type as input.
|
ColumnVector |
ColumnVector.log2()
Calculate the log with base 2, output is the same type as input.
|
ColumnVector |
ColumnVector.lower()
Convert a string to lower case.
|
ColumnVector |
Table.lowerBound(boolean[] areNullsSmallest,
Table valueTable,
boolean[] descFlags)
Given a sorted table return the lower bound.
|
ColumnVector |
ColumnVector.lstrip()
Removes whitespace from the beginning of a string.
|
ColumnVector |
ColumnVector.lstrip(Scalar toStrip)
Removes the specified characters from the beginning of each string.
|
ColumnVector |
ColumnVector.matchesRe(String pattern)
Returns a boolean ColumnVector identifying rows which
match the given regex pattern but only at the beginning of the string.
|
default ColumnVector |
BinaryOperable.maxNullAware(BinaryOperable rhs)
Returns the max non null value.
|
default ColumnVector |
BinaryOperable.maxNullAware(BinaryOperable rhs,
DType outType)
Returns the max non null value.
|
default ColumnVector |
BinaryOperable.minNullAware(BinaryOperable rhs)
Returns the min non null value.
|
default ColumnVector |
BinaryOperable.minNullAware(BinaryOperable rhs,
DType outType)
Returns the min non null value.
|
ColumnVector |
ColumnVector.minute()
Get minute from a timestamp with time resolution.
|
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 a 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.nansToNulls()
Returns a new ColumnVector with NaNs converted to nulls, preserving the existing null values.
|
ColumnVector |
ColumnVector.normalizeNANsAndZeros()
Create a new vector of "normalized" values, where:
1.
|
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.pmod(BinaryOperable rhs)
Returns the positive value of lhs mod rhs.
|
default ColumnVector |
BinaryOperable.pmod(BinaryOperable rhs,
DType outputType)
Returns the positive value of lhs mod rhs.
|
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.quantile(QuantileMethod method,
double[] quantiles)
Calculate various quantiles of this ColumnVector.
|
ColumnVector |
ColumnVector.replaceNulls(Scalar scalar)
Returns a ColumnVector with any null values replaced with a scalar.
|
ColumnVector |
ColumnVector.rint()
Rounds a floating-point argument to the closest integer value, but returns it as a float.
|
ColumnVector |
ColumnVector.rollingWindow(ai.rapids.cudf.AggregateOp op,
WindowOptions options)
This function aggregates values in a window around each element i of the input
column.
|
ColumnVector |
ColumnVector.rstrip()
Removes whitespace from the end of a string.
|
ColumnVector |
ColumnVector.rstrip(Scalar toStrip)
Removes the specified characters from the end of each string.
|
ColumnVector |
ColumnVector.second()
Get second from a timestamp with time resolution.
|
static ColumnVector |
ColumnVector.sequence(Scalar initialValue,
int rows)
Create a new vector of length rows, starting at the initialValue and going by 1 each time.
|
static ColumnVector |
ColumnVector.sequence(Scalar initialValue,
Scalar step,
int rows)
Create a new vector of length rows, starting at the initialValue and going by step each time.
|
default ColumnVector |
BinaryOperable.shiftLeft(BinaryOperable shiftBy)
Bitwise left shift the values of this vector by the shiftBy.
|
default ColumnVector |
BinaryOperable.shiftLeft(BinaryOperable shiftBy,
DType outType)
Bitwise left shifts the values of this vector by shiftBy.
|
default ColumnVector |
BinaryOperable.shiftRight(BinaryOperable shiftBy)
Bitwise right shift this vector by the shiftBy.
|
default ColumnVector |
BinaryOperable.shiftRight(BinaryOperable shiftBy,
DType outType)
Bitwise right shift this vector by the shiftBy.
|
default ColumnVector |
BinaryOperable.shiftRightUnsigned(BinaryOperable shiftBy)
This method bitwise right shifts the values of this vector by the shiftBy.
|
default ColumnVector |
BinaryOperable.shiftRightUnsigned(BinaryOperable shiftBy,
DType outType)
This method bitwise right shifts the values of this vector by the shiftBy.
|
ColumnVector |
ColumnVector.sin()
Calculate the sin, output is the same type as input.
|
ColumnVector |
ColumnVector.sinh()
Calculate the hyperbolic sin, output is the same type as input.
|
ColumnVector[] |
ColumnVector.slice(int... indices)
Slices a column (including null values) into a set of columns
according to a set of indices.
|
ColumnVector[] |
ColumnVector.split(int... indices)
Splits 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.
|
ColumnVector |
ColumnVector.startsWith(Scalar pattern)
Checks if each string in a column starts with a specified comparison string, resulting in a
parallel column of the boolean results.
|
ColumnVector |
ColumnVector.stringConcatenate(ColumnVector[] columns)
Concatenate columns of strings together, combining a corresponding row from each column
into a single string row of a new column with no separator string inserted between each
combined string and maintaining null values in combined rows.
|
static ColumnVector |
ColumnVector.stringConcatenate(Scalar separator,
Scalar narep,
ColumnVector[] columns)
Concatenate columns of strings together, combining a corresponding row from each column into
a single string row of a new column.
|
ColumnVector |
ColumnVector.stringContains(Scalar compString)
Checks if each string in a column contains a specified comparison string, resulting in a
parallel column of the boolean results.
|
ColumnVector |
ColumnVector.stringLocate(Scalar substring)
Locates the starting index of the first instance of the given string in each row of a column.
|
ColumnVector |
ColumnVector.stringLocate(Scalar substring,
int start)
Locates the starting index of the first instance of the given string in each row of a column.
|
ColumnVector |
ColumnVector.stringLocate(Scalar substring,
int start,
int end)
Locates the starting index of the first instance of the given string in each row of a column.
|
ColumnVector |
ColumnVector.stringReplace(Scalar target,
Scalar replace)
Returns a new strings column where target string within each string is replaced with the specified
replacement string.
|
ColumnVector |
ColumnVector.stringReplaceWithBackrefs(String pattern,
String replace)
For each string, replaces any character sequence matching the given pattern
using the replace template for back-references.
|
ColumnVector |
ColumnVector.strip()
Removes whitespace from the beginning and end of a string.
|
ColumnVector |
ColumnVector.strip(Scalar toStrip)
Removes the specified characters from the beginning and end of each string.
|
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.substring(ColumnVector start,
ColumnVector end)
Returns a new strings column that contains substrings of the strings in the provided column
which uses unique ranges for each string
|
ColumnVector |
ColumnVector.substring(int start)
Returns a new strings column that contains substrings of the strings in the provided column.
|
ColumnVector |
ColumnVector.substring(int start,
int end)
Returns a new strings column that contains substrings of the strings in the provided column.
|
ColumnVector |
ColumnVector.subVector(int start)
Return a subVector from start inclusive to the end of the vector.
|
ColumnVector |
ColumnVector.subVector(int start,
int end)
Return a subVector.
|
ColumnVector |
ColumnVector.tan()
Calculate the tan, output is the same type as input.
|
ColumnVector |
ColumnVector.tanh()
Calculate the hyperbolic tan, output is the same type as input.
|
static ColumnVector |
ColumnVector.timestampDaysFromBoxedInts(Integer... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.timestampMicroSecondsFromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.timestampMicroSecondsFromLongs(long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.timestampMilliSecondsFromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.timestampMilliSecondsFromLongs(long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.timestampNanoSecondsFromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.timestampNanoSecondsFromLongs(long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.timestampSecondsFromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.timestampSecondsFromLongs(long... values)
Create a new vector from the given values.
|
ColumnVector |
ColumnVector.toTitle()
Returns a column of strings where, for each string row in the input,
the first character after spaces is modified to upper-case,
while all the remaining characters in a word are modified to lower-case.
|
ColumnVector |
ColumnVector.transform(String udf,
boolean isPtx)
Transform a vector using a custom function.
|
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.upper()
Convert a string to upper case.
|
ColumnVector |
Table.upperBound(boolean[] areNullsSmallest,
Table valueTable,
boolean[] descFlags)
Given a sorted table return the upper bound.
|
ColumnVector |
ColumnVector.year()
Get year from a timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
static ColumnVector |
ColumnVector.concatenate(ColumnVector... columns)
Create a new vector by concatenating multiple columns together.
|
ColumnVector |
ColumnVector.contains(ColumnVector needles)
Returns a new ColumnVector of
DType.BOOL8 elements containing true if the corresponding
entry in haystack is contained in needles and false if it is not. |
Table |
Table.filter(ColumnVector mask)
Filters this table using a column of boolean values as a mask, returning a new one.
|
ColumnVector |
ColumnVector.findAndReplaceAll(ColumnVector oldValues,
ColumnVector newValues)
Returns a vector with all values "oldValues[i]" replaced with "newValues[i]".
|
ColumnVector |
ColumnVector.ifElse(ColumnVector trueValues,
ColumnVector falseValues)
For a BOOL8 vector, computes a vector whose rows are selected from two other vectors
based on the boolean value of this vector in the corresponding row.
|
ColumnVector |
ColumnVector.ifElse(ColumnVector trueValues,
Scalar falseValue)
For a BOOL8 vector, computes a vector whose rows are selected from two other inputs
based on the boolean value of this vector in the corresponding row.
|
ColumnVector |
ColumnVector.ifElse(Scalar trueValue,
ColumnVector falseValues)
For a BOOL8 vector, computes a vector whose rows are selected from two other inputs
based on the boolean value of this vector in the corresponding row.
|
ColumnVector |
ColumnVector.stringConcatenate(ColumnVector[] columns)
Concatenate columns of strings together, combining a corresponding row from each column
into a single string row of a new column with no separator string inserted between each
combined string and maintaining null values in combined rows.
|
static ColumnVector |
ColumnVector.stringConcatenate(Scalar separator,
Scalar narep,
ColumnVector[] columns)
Concatenate columns of strings together, combining a corresponding row from each column into
a single string row of a new column.
|
ColumnVector |
ColumnVector.substring(ColumnVector start,
ColumnVector end)
Returns a new strings column that contains substrings of the strings in the provided column
which uses unique ranges for each string
|
WindowOptions.Builder |
WindowOptions.Builder.window(ColumnVector precedingCol,
ColumnVector followingCol)
Set the size of the window, one entry per row.
|
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 © 2020. All rights reserved.