Package | Description |
---|---|
ai.rapids.cudf | |
ai.rapids.cudf.ast |
Modifier and Type | Method and Description |
---|---|
ColumnVector |
ColumnView.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 one vector to another with the given output type.
|
ColumnVector |
ColumnView.addCalendricalMonths(ColumnView months)
Add the specified number of months to the timestamp.
|
default ColumnVector |
BinaryOperable.and(BinaryOperable rhs)
Logical and (&&).
|
default ColumnVector |
BinaryOperable.and(BinaryOperable rhs,
DType outType)
Logical and (&&) with the given output type.
|
ColumnVector |
ColumnView.applyBooleanMask(ColumnView booleanMaskView)
Filters elements in each row of this LIST column using `booleanMaskView`
LIST of booleans as a mask.
|
ColumnVector |
ColumnView.approxPercentile(ColumnVector percentiles)
Calculate various percentiles of this ColumnVector, which must contain centroids produced by
a t-digest aggregation.
|
ColumnVector |
ColumnView.approxPercentile(double[] percentiles)
Calculate various percentiles of this ColumnVector, which must contain centroids produced by
a t-digest aggregation.
|
ColumnVector |
ColumnView.arccos()
Calculate the arccos, output is the same type as input.
|
ColumnVector |
ColumnView.arccosh()
Calculate the hyperbolic arccos, output is the same type as input.
|
ColumnVector |
ColumnView.arcsin()
Calculate the arcsin, output is the same type as input.
|
ColumnVector |
ColumnView.arcsinh()
Calculate the hyperbolic arcsin, output is the same type as input.
|
ColumnVector |
ColumnView.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 |
ColumnView.arctanh()
Calculate the hyperbolic arctan, output is the same type as input.
|
ColumnVector |
ColumnView.asByteList()
Cast to list of bytes
This method converts the rows provided by the ColumnVector and casts each row to a list of
bytes with endinanness reversed.
|
ColumnVector |
ColumnView.asByteList(boolean config)
Cast to list of bytes
This method converts the rows provided by the ColumnVector and casts each row to a list
of bytes.
|
ColumnVector |
ColumnView.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 |
ColumnView.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 |
ColumnView.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 |
ColumnView.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 |
ColumnView.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 |
ColumnView.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 |
ColumnView.asStrings()
Cast to Strings.
|
ColumnVector |
ColumnView.asStrings(String format)
Method to parse and convert a timestamp column vector to string column vector.
|
ColumnVector |
ColumnView.asTimestamp(DType timestampType,
String format)
Parse a string to a timestamp.
|
ColumnVector |
ColumnView.asTimestampDays()
Cast to TIMESTAMP_DAYS - ColumnVector
This method takes the value provided by the ColumnVector and casts to TIMESTAMP_DAYS
|
ColumnVector |
ColumnView.asTimestampDays(String format)
Cast to TIMESTAMP_DAYS - ColumnVector
This method takes the string value provided by the ColumnVector and casts to TIMESTAMP_DAYS
|
ColumnVector |
ColumnView.asTimestampMicroseconds()
Cast to TIMESTAMP_MICROSECONDS - ColumnVector
This method takes the value provided by the ColumnVector and casts to TIMESTAMP_MICROSECONDS
|
ColumnVector |
ColumnView.asTimestampMicroseconds(String format)
Cast to TIMESTAMP_MICROSECONDS - ColumnVector
This method takes the string value provided by the ColumnVector and casts to TIMESTAMP_MICROSECONDS
|
ColumnVector |
ColumnView.asTimestampMilliseconds()
Cast to TIMESTAMP_MILLISECONDS - ColumnVector
This method takes the value provided by the ColumnVector and casts to TIMESTAMP_MILLISECONDS.
|
ColumnVector |
ColumnView.asTimestampMilliseconds(String format)
Cast to TIMESTAMP_MILLISECONDS - ColumnVector
This method takes the string value provided by the ColumnVector and casts to TIMESTAMP_MILLISECONDS.
|
ColumnVector |
ColumnView.asTimestampNanoseconds()
Cast to TIMESTAMP_NANOSECONDS - ColumnVector
This method takes the value provided by the ColumnVector and casts to TIMESTAMP_NANOSECONDS.
|
ColumnVector |
ColumnView.asTimestampNanoseconds(String format)
Cast to TIMESTAMP_NANOSECONDS - ColumnVector
This method takes the string value provided by the ColumnVector and casts to TIMESTAMP_NANOSECONDS.
|
ColumnVector |
ColumnView.asTimestampSeconds()
Cast to TIMESTAMP_SECONDS - ColumnVector
This method takes the value provided by the ColumnVector and casts to TIMESTAMP_SECONDS
|
ColumnVector |
ColumnView.asTimestampSeconds(String format)
Cast to TIMESTAMP_SECONDS - ColumnVector
This method takes the string value provided by the ColumnVector and casts to TIMESTAMP_SECONDS
|
ColumnVector |
ColumnView.asUnsignedBytes()
Cast to unsigned 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 |
ColumnView.asUnsignedInts()
Cast to unsigned 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 |
ColumnView.asUnsignedLongs()
Cast to unsigned 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 |
ColumnView.asUnsignedShorts()
Cast to unsigned 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 |
Scalar.binaryOp(BinaryOp op,
BinaryOperable rhs,
DType outType) |
ColumnVector |
BinaryOperable.binaryOp(BinaryOp op,
BinaryOperable rhs,
DType outType)
Multiple different binary operations.
|
ColumnVector |
ColumnView.binaryOp(BinaryOp op,
BinaryOperable rhs,
DType outType)
Multiple different binary operations.
|
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 |
ColumnView.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.ColumnBuilder.buildAndPutOnDevice()
Finish and create the immutable ColumnVector, copied to the device.
|
ColumnVector |
HostColumnVector.Builder.buildAndPutOnDevice()
Finish and create the immutable ColumnVector, copied to the device.
|
ColumnVector |
ArrowColumnBuilder.buildAndPutOnDevice()
Create the immutable ColumnVector, copied to the device based on the Arrow data.
|
ColumnVector |
ColumnView.capitalize(Scalar delimiters)
Returns a column of capitalized strings.
|
ColumnVector |
ColumnView.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.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 |
ColumnView.cbrt()
Calculate the cube root, output is the same type as input.
|
ColumnVector |
ColumnView.ceil()
Calculate the ceil, output is the same type as input.
|
ColumnVector |
ColumnView.clamp(Scalar lo,
Scalar hi)
Replaces values less than `lo` in `input` with `lo`,
and values greater than `hi` with `hi`.
|
ColumnVector |
ColumnView.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`.
|
ColumnVector |
ColumnView.codePoints()
Get the code point values (integers) for each character of each string.
|
static ColumnVector |
ColumnVector.concatenate(ColumnView... columns)
Create a new vector by concatenating multiple columns together.
|
ColumnVector |
ColumnView.contains(ColumnView searchSpace)
Returns a new column of
DType.BOOL8 elements having the same size as this column,
each row value is true if the corresponding entry in this column is contained in the
given searchSpace column and false if it is not. |
ColumnVector |
ColumnView.containsRe(RegexProgram regexProg)
Returns a boolean ColumnVector identifying rows which
match the given RegexProgram pattern starting at any location.
|
ColumnVector |
ColumnView.containsRe(String pattern)
Deprecated.
|
ColumnVector |
ColumnView.copyToColumnVector()
Creates a ColumnVector from a column view handle
|
ColumnVector |
ColumnVector.copyToColumnVector()
For a ColumnVector this is really just incrementing the reference count.
|
ColumnVector |
HostColumnVector.copyToDevice()
Copy the data to the device.
|
ColumnVector |
ColumnView.cos()
Calculate the cos, output is the same type as input.
|
ColumnVector |
ColumnView.cosh()
Calculate the hyperbolic cos, output is the same type as input.
|
ColumnVector |
ColumnView.countElements()
Get the number of elements for each list.
|
ColumnVector |
ColumnView.day()
Get day from a timestamp.
|
ColumnVector |
ColumnView.dayOfYear()
Get the day of the year from a timestamp.
|
static ColumnVector |
ColumnVector.daysFromInts(int... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.decimalFromBigInt(int scale,
BigInteger... values)
Create a new decimal vector from BigIntegers
Compared with scale of [[java.math.BigDecimal]], the scale here represents the opposite meaning.
|
static ColumnVector |
ColumnVector.decimalFromBoxedInts(int scale,
Integer... values)
Create a new decimal vector from boxed unscaled values (Integer array) and scale.
|
static ColumnVector |
ColumnVector.decimalFromBoxedLongs(int scale,
Long... values)
Create a new decimal vector from boxed unscaled values (Long array) and scale.
|
static ColumnVector |
ColumnVector.decimalFromDoubles(DType type,
RoundingMode mode,
double... values)
Create a new decimal vector from double floats with specific DecimalType and RoundingMode.
|
static ColumnVector |
ColumnVector.decimalFromInts(int scale,
int... values)
Create a new decimal vector from unscaled values (int array) and scale.
|
static ColumnVector |
ColumnVector.decimalFromLongs(int scale,
long... values)
Create a new decimal vector from unscaled values (long array) and scale.
|
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 |
ColumnView.dropListDuplicates()
Create a new LIST column by copying elements from the current LIST column ignoring duplicate,
producing a LIST column in which each list contain only unique elements.
|
ColumnVector |
ColumnView.dropListDuplicatesWithKeysValues()
Given a LIST column in which each element is a struct containing a
|
static ColumnVector |
ColumnVector.durationDaysFromBoxedInts(Integer... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.durationDaysFromInts(int... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.durationMicroSecondsFromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.durationMicroSecondsFromLongs(long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.durationMilliSecondsFromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.durationMilliSecondsFromLongs(long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.durationNanoSecondsFromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.durationNanoSecondsFromLongs(long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.durationSecondsFromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.durationSecondsFromLongs(long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.empty(HostColumnVector.DataType colType)
Creates an empty column according to the data type.
|
static ColumnVector |
ColumnVector.emptyStructs(HostColumnVector.DataType dataType,
long numRows)
This method is evolving, unstable and currently test only.
|
ColumnVector |
ColumnView.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 |
ColumnView.exp()
Calculate the exp, output is the same type as input.
|
ColumnVector |
ColumnView.extractAllRecord(RegexProgram regexProg,
int idx)
Extracts all strings that match the given regex program pattern and corresponds to the
regular expression group index.
|
ColumnVector |
ColumnView.extractAllRecord(String pattern,
int idx)
Deprecated.
|
static ColumnVector |
Aggregation128Utils.extractInt32Chunk(ColumnView col,
DType outType,
int chunkIdx)
Extract a 32-bit chunk from a 128-bit value.
|
ColumnVector |
ColumnView.extractListElement(ColumnView indices)
For each list in this column pull out the entry at the corresponding index specified in
the index column.
|
ColumnVector |
ColumnView.extractListElement(int index)
For each list in this column pull out the entry at the given index.
|
ColumnVector |
ColumnView.findAndReplaceAll(ColumnView oldValues,
ColumnView newValues)
Returns a vector with all values "oldValues[i]" replaced with "newValues[i]".
|
ColumnVector |
ColumnView.flattenLists()
Flatten each list of lists into a single list.
|
ColumnVector |
ColumnView.flattenLists(boolean ignoreNull)
Flatten each list of lists into a single list.
|
ColumnVector |
ColumnView.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.fromArrow(DType type,
long numRows,
long nullCount,
ByteBuffer data,
ByteBuffer validity,
ByteBuffer offsets)
Create a ColumnVector from the Apache Arrow byte buffers passed in.
|
static ColumnVector |
ColumnVector.fromBooleans(boolean... values)
Create a new vector from the given values.
|
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.fromBoxedUnsignedBytes(Byte... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromBoxedUnsignedInts(Integer... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromBoxedUnsignedLongs(Long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromBoxedUnsignedShorts(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.fromDecimals(BigDecimal... 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 <T> ColumnVector |
ColumnVector.fromLists(HostColumnVector.DataType dataType,
List<T>... lists)
This method is evolving, unstable and currently test only.
|
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.
|
static ColumnVector |
ColumnVector.fromStructs(HostColumnVector.DataType dataType,
HostColumnVector.StructData... lists)
This method is evolving, unstable and currently test only.
|
static ColumnVector |
ColumnVector.fromStructs(HostColumnVector.DataType dataType,
List<HostColumnVector.StructData> lists)
This method is evolving, unstable and currently test only.
|
static ColumnVector |
ColumnVector.fromUnsignedBytes(byte... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromUnsignedInts(int... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromUnsignedLongs(long... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromUnsignedShorts(short... values)
Create a new vector from the given values.
|
static ColumnVector |
ColumnVector.fromUTF8Strings(byte[]... values)
Create a new string vector from the given values.
|
static ColumnVector |
ColumnVector.fromViewWithContiguousAllocation(long columnViewAddress,
DeviceMemoryBuffer buffer)
Creates a ColumnVector from a native column_view using a contiguous device allocation.
|
ColumnVector |
ColumnView.generateListOffsets()
Generate list offsets from sizes of each list.
|
ColumnVector |
ColumnView.getByteCount()
Retrieve the number of bytes for each string.
|
ColumnVector |
ColumnView.getCharLengths()
Retrieve the number of characters in each string.
|
ColumnVector |
PartitionedTable.getColumn(int index) |
ColumnVector |
Table.getColumn(int index)
Return the
ColumnVector at the specified index. |
ColumnVector |
ColumnView.getJSONObject(Scalar path)
Apply a JSONPath string to all rows in an input strings column.
|
ColumnVector |
ColumnView.getJSONObject(Scalar path,
GetJsonObjectOptions options)
Apply a JSONPath string to all rows in an input strings column.
|
ColumnVector |
ColumnView.getMapKeyExistence(ColumnView keys)
For a column of type List
|
ColumnVector |
ColumnView.getMapKeyExistence(Scalar key)
For a column of type List
|
ColumnVector |
ColumnView.getMapValue(ColumnView keys)
Given a column of type List
|
ColumnVector |
ColumnView.getMapValue(Scalar key)
Given a column of type List
|
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.
|
static ColumnVector |
DecimalUtils.greaterThan(ColumnView lhs,
BigDecimal rhs)
Because the native greaterThan operator has issues with comparing decimal values that have different
precision and scale accurately.
|
ColumnVector |
ColumnView.hour()
Get hour from a timestamp with time resolution.
|
ColumnVector |
ColumnView.ifElse(ColumnView trueValues,
ColumnView 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 |
ColumnView.ifElse(ColumnView 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 |
ColumnView.ifElse(Scalar trueValue,
ColumnView 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 |
ColumnView.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 |
ColumnView.isFixedPoint(DType decimalType)
Returns a Boolean vector with the same number of rows as this instance, that has
TRUE for any entry that is a fixed-point, and FALSE if its not a fixed-point.
|
ColumnVector |
ColumnView.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 |
ColumnView.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 |
ColumnView.isInteger(DType intType)
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 |
ColumnView.isLeapYear()
Check to see if the year for this timestamp is a leap year or not.
|
ColumnVector |
ColumnView.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 |
ColumnView.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 |
ColumnView.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 |
ColumnView.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)
|
ColumnVector |
ColumnView.isTimestamp(String format)
Verifies that a string column can be parsed to timestamps using the provided format
pattern.
|
ColumnVector |
ColumnView.joinStrings(Scalar separator,
Scalar narep)
Concatenates all strings in the column into one new string delimited
by an optional separator string.
|
ColumnVector |
ColumnView.lastDayOfMonth()
Get the date that is the last day of the month for this timestamp.
|
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.
|
static ColumnVector |
DecimalUtils.lessThan(BinaryOperable lhs,
BigDecimal rhs,
int numRows)
Because the native lessThan operator has issues with comparing decimal values that have different
precision and scale accurately.
|
default ColumnVector |
BinaryOperable.lessThan(BinaryOperable rhs,
DType outType)
this < rhs 1 is true 0 is false with the output cast to the given type.
|
static ColumnVector |
DecimalUtils.lessThan(ColumnView lhs,
BigDecimal rhs)
Because the native lessThan operator has issues with comparing decimal values that have different
precision and scale accurately.
|
ColumnVector |
ColumnView.like(Scalar pattern,
Scalar escapeChar)
Returns a boolean ColumnVector identifying rows which
match the given like pattern.
|
static ColumnVector |
ColumnVector.listConcatenateByRow(boolean ignoreNull,
ColumnView... columns)
Concatenate columns of lists horizontally (row by row), combining a corresponding row
from each column into a single list row of a new column.
|
static ColumnVector |
ColumnVector.listConcatenateByRow(ColumnView... columns)
Concatenate columns of lists horizontally (row by row), combining a corresponding row
from each column into a single list row of a new column.
|
ColumnVector |
ColumnView.listContains(Scalar key)
Create a column of bool values indicating whether the specified scalar
is an element of each row of a list column.
|
ColumnVector |
ColumnView.listContainsColumn(ColumnView key)
Create a column of bool values indicating whether the list rows of the first
column contain the corresponding values in the second column.
|
ColumnVector |
ColumnView.listContainsNulls()
Create a column of bool values indicating whether the list rows of the specified
column contain null elements.
|
ColumnVector |
ColumnView.listIndexOf(ColumnView keys,
ColumnView.FindOptions findOption)
Create a column of int32 indices, indicating the position of each row in the
search key column in the corresponding row of the lists column.
|
ColumnVector |
ColumnView.listIndexOf(Scalar key,
ColumnView.FindOptions findOption)
Create a column of int32 indices, indicating the position of the scalar search key
in each list row.
|
ColumnVector |
ColumnView.listReduce(SegmentedReductionAggregation aggregation)
Do a reduction on the values in a list.
|
ColumnVector |
ColumnView.listReduce(SegmentedReductionAggregation aggregation,
DType outType)
Do a reduction on the values in a list.
|
ColumnVector |
ColumnView.listReduce(SegmentedReductionAggregation aggregation,
NullPolicy nullPolicy,
DType outType)
Do a reduction on the values in a list.
|
static ColumnVector |
ColumnView.listsDifferenceDistinct(ColumnView lhs,
ColumnView rhs)
Find the difference of lists of the left column against lists of the right column.
|
static ColumnVector |
ColumnView.listsHaveOverlap(ColumnView lhs,
ColumnView rhs)
For each pair of lists from the input lists columns, check if they have any common non-null
elements.
|
static ColumnVector |
ColumnView.listsIntersectDistinct(ColumnView lhs,
ColumnView rhs)
Find the intersection without duplicate between lists at each row of the given lists columns.
|
ColumnVector |
ColumnView.listSortRows(boolean isDescending,
boolean isNullSmallest)
Segmented sort of the elements within a list in each row of a list column.
|
static ColumnVector |
ColumnView.listsUnionDistinct(ColumnView lhs,
ColumnView rhs)
Find the union without duplicate between lists at each row of the given lists columns.
|
ColumnVector |
ColumnView.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 |
ColumnView.log10()
Calculate the log with base 10, output is the same type as input.
|
ColumnVector |
ColumnView.log2()
Calculate the log with base 2, output is the same type as input.
|
ColumnVector |
ColumnView.lower()
Convert a string to lower case.
|
ColumnVector |
Table.lowerBound(boolean[] areNullsSmallest,
Table valueTable,
boolean[] descFlags)
Find smallest indices in a sorted table where values should be inserted to maintain order.
|
ColumnVector |
Table.lowerBound(Table valueTable,
OrderByArg... args)
Find smallest indices in a sorted table where values should be inserted to maintain order.
|
ColumnVector |
ColumnView.lstrip()
Removes whitespace from the beginning of a string.
|
ColumnVector |
ColumnView.lstrip(Scalar toStrip)
Removes the specified characters from the beginning of each string.
|
static ColumnVector |
ColumnVector.makeList(ColumnView... columns)
Create a LIST column from the given columns.
|
static ColumnVector |
ColumnVector.makeList(long rows,
DType type,
ColumnView... columns)
Create a LIST column from the given columns.
|
ColumnVector |
ColumnVector.makeListFromOffsets(long rows,
ColumnView offsets)
Create a LIST column from the current column and a given offsets column.
|
static ColumnVector |
ColumnVector.makeStruct(ColumnView... columns)
Create a new struct vector made up of existing columns.
|
static ColumnVector |
ColumnVector.makeStruct(long rows,
ColumnView... columns)
Create a new struct vector made up of existing columns.
|
ColumnVector |
ColumnView.matchesRe(RegexProgram regexProg)
Returns a boolean ColumnVector identifying rows which
match the given regex program pattern but only at the beginning of the string.
|
ColumnVector |
ColumnView.matchesRe(String pattern)
Deprecated.
|
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.
|
static ColumnVector |
ColumnVector.md5Hash(ColumnView... columns)
Create a new vector containing the MD5 hash of each row in the table.
|
ColumnVector |
ColumnView.mergeAndSetValidity(BinaryOp mergeOp,
ColumnView... columns)
Create a deep copy of the column while replacing the null mask.
|
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 |
ColumnView.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 |
ColumnView.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 |
ColumnView.nansToNulls()
Returns a new ColumnVector with NaNs converted to nulls, preserving the existing null values.
|
ColumnVector |
ColumnView.normalizeNANsAndZeros()
Create a new vector of "normalized" values, where:
1.
|
ColumnVector |
ColumnView.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.notEqualToNullAware(BinaryOperable rhs)
like notEqualTo but NULL != NULL is TRUE and NULL != not NULL is FALSE
|
default ColumnVector |
BinaryOperable.notEqualToNullAware(BinaryOperable rhs,
DType outType)
like notEqualTo but NULL != NULL is TRUE and NULL != not NULL is FALSE
|
default ColumnVector |
BinaryOperable.or(BinaryOperable rhs)
Logical or (||).
|
default ColumnVector |
BinaryOperable.or(BinaryOperable rhs,
DType outType)
Logical or (||) with the given output type.
|
static ColumnVector |
DecimalUtils.outOfBounds(ColumnView input,
int precision,
int scale)
With precision and scale, checks each value of input decimal column for out of bound.
|
ColumnVector |
ColumnView.pad(int width)
Pad the Strings column until it reaches the desired length with spaces " " on the right.
|
ColumnVector |
ColumnView.pad(int width,
PadSide side)
Pad the Strings column until it reaches the desired length with spaces " ".
|
ColumnVector |
ColumnView.pad(int width,
PadSide side,
String fillChar)
Pad the Strings column until it reaches the desired length.
|
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 |
ColumnView.prefixSum()
Compute the prefix sum (aka cumulative sum) of the values in this column.
|
ColumnVector |
ColumnView.purgeNonEmptyNulls()
Copies this column into output while purging any non-empty null rows in the column or its
descendants.
|
ColumnVector |
ColumnView.quantile(QuantileMethod method,
double[] quantiles)
Calculate various quantiles of this ColumnVector.
|
ColumnVector |
ColumnView.quarterOfYear()
Get the quarter of the year from a timestamp.
|
ColumnVector |
ColumnView.repeatStrings(ColumnView repeatTimes)
Given a strings column, an output strings column is generated by repeating each of the input
string by a number of times given by the corresponding row in a
repeatTimes
numeric column. |
ColumnVector |
ColumnView.repeatStrings(int repeatTimes)
Given a strings column, each string in it is repeated a number of times specified by the
repeatTimes parameter. |
ColumnVector |
ColumnView.replaceMultiRegex(String[] patterns,
ColumnView repls)
For each string, replaces any character sequence matching any of the regular expression
patterns with the corresponding replacement strings.
|
ColumnVector |
ColumnView.replaceNulls(ColumnView replacements)
Returns a ColumnVector with any null values replaced with the corresponding row in the
specified replacement column.
|
ColumnVector |
ColumnView.replaceNulls(ReplacePolicy policy) |
ColumnVector |
ColumnView.replaceNulls(Scalar scalar)
Returns a ColumnVector with any null values replaced with a scalar.
|
ColumnVector |
ColumnView.replaceRegex(RegexProgram regexProg,
Scalar repl)
For each string, replaces any character sequence matching the given regex program pattern
using the replacement string scalar.
|
ColumnVector |
ColumnView.replaceRegex(RegexProgram regexProg,
Scalar repl,
int maxRepl)
For each string, replaces any character sequence matching the given regex program pattern
using the replacement string scalar.
|
ColumnVector |
ColumnView.replaceRegex(String pattern,
Scalar repl)
Deprecated.
|
ColumnVector |
ColumnView.replaceRegex(String pattern,
Scalar repl,
int maxRepl)
Deprecated.
|
ColumnVector |
ColumnView.reverseStringsOrLists()
Copy the current column to a new column, each string or list of the output column will have
reverse order of characters or elements.
|
ColumnVector |
ColumnView.rint()
Rounds a floating-point argument to the closest integer value, but returns it as a float.
|
ColumnVector |
ColumnView.rollingWindow(RollingAggregation op,
WindowOptions options)
This function aggregates values in a window around each element i of the input
column.
|
ColumnVector |
ColumnView.round()
Rounds all the values in a column with these default values:
decimalPlaces = 0
Rounding method = RoundMode.HALF_UP
|
ColumnVector |
ColumnView.round(int decimalPlaces)
Rounds all the values in a column to the specified number of decimal places with HALF_UP
(default) as Rounding method.
|
ColumnVector |
ColumnView.round(int decimalPlaces,
RoundMode mode)
Rounds all the values in a column to the specified number of decimal places.
|
ColumnVector |
ColumnView.round(RoundMode round)
Rounds all the values in a column with decimal places = 0.
|
ColumnVector |
Table.rowBitCount()
Returns an approximate cumulative size in bits of all columns in the `table_view` for each row.
|
ColumnVector |
ColumnView.rstrip()
Removes whitespace from the end of a string.
|
ColumnVector |
ColumnView.rstrip(Scalar toStrip)
Removes the specified characters from the end of each string.
|
ColumnVector |
ColumnView.scan(ScanAggregation aggregation)
Computes an inclusive scan for a column that excludes nulls.
|
ColumnVector |
ColumnView.scan(ScanAggregation aggregation,
ScanType scanType)
Computes a scan for a column that excludes nulls.
|
ColumnVector |
ColumnView.scan(ScanAggregation aggregation,
ScanType scanType,
NullPolicy nullPolicy)
Computes a scan for a column.
|
ColumnVector |
ColumnView.second()
Get second from a timestamp with time resolution.
|
ColumnVector |
ColumnView.segmentedGather(ColumnView gatherMap)
Segmented gather of the elements within a list element in each row of a list column.
|
ColumnVector |
ColumnView.segmentedGather(ColumnView gatherMap,
OutOfBoundsPolicy policy)
Segmented gather of the elements within a list element in each row of a list column.
|
ColumnVector |
ColumnView.segmentedReduce(ColumnView offsets,
SegmentedReductionAggregation aggregation)
Do a segmented reduce where the offsets column indicates which groups in this to combine.
|
ColumnVector |
ColumnView.segmentedReduce(ColumnView offsets,
SegmentedReductionAggregation aggregation,
DType outType)
Do a segmented reduce where the offsets column indicates which groups in this to combine.
|
ColumnVector |
ColumnView.segmentedReduce(ColumnView offsets,
SegmentedReductionAggregation aggregation,
NullPolicy nullPolicy,
DType outType)
Do a segmented reduce where the offsets column indicates which groups in this to combine.
|
static ColumnVector |
ColumnVector.sequence(ColumnView start,
ColumnView size)
Create a list column in which each row is a sequence of values starting from a `start` value,
incrementing by one, and its cardinality is specified by a `size` value.
|
static ColumnVector |
ColumnVector.sequence(ColumnView start,
ColumnView size,
ColumnView step)
Create a list column in which each row is a sequence of values starting from a `start` value,
incrementing by a `step` value, and its cardinality is specified by a `size` value.
|
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 |
ColumnView.sin()
Calculate the sin, output is the same type as input.
|
ColumnVector |
ColumnView.sinh()
Calculate the hyperbolic sin, output is the same type as input.
|
ColumnVector[] |
ColumnView.slice(int... indices)
Slices a column (including null values) into a set of columns
according to a set of indices.
|
ColumnVector |
Table.sortOrder(OrderByArg... args)
Get back a gather map that can be used to sort the data.
|
ColumnVector[] |
ColumnView.split(int... indices)
Splits a column (including null values) into a set of columns
according to a set of indices.
|
ColumnVector |
ColumnView.sqrt()
Calculate the sqrt, output is the same type as input.
|
ColumnVector |
ColumnView.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.
|
static ColumnVector |
ColumnVector.stringConcatenate(ColumnView[] 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(ColumnView[] columns,
ColumnView sepCol)
Concatenate columns of strings together using a separator specified for each row
and returns the result as a string column.
|
static ColumnVector |
ColumnVector.stringConcatenate(ColumnView[] columns,
ColumnView sepCol,
Scalar separatorNarep,
Scalar colNarep,
boolean separateNulls)
Concatenate columns of strings together using a separator specified for each row
and returns the result as a string column.
|
static ColumnVector |
ColumnVector.stringConcatenate(Scalar separator,
Scalar narep,
ColumnView[] columns)
Concatenate columns of strings together, combining a corresponding row from each column into
a single string row of a new column.
|
static ColumnVector |
ColumnVector.stringConcatenate(Scalar separator,
Scalar narep,
ColumnView[] columns,
boolean separateNulls)
Concatenate columns of strings together, combining a corresponding row from each column into
a single string row of a new column.
|
ColumnVector |
ColumnView.stringConcatenateListElements(ColumnView sepCol)
Given a lists column of strings (each row is a list of strings), concatenates the strings
within each row and returns a single strings column result.
|
ColumnVector |
ColumnView.stringConcatenateListElements(ColumnView sepCol,
Scalar separatorNarep,
Scalar stringNarep,
boolean separateNulls,
boolean emptyStringOutputIfEmptyList)
Given a lists column of strings (each row is a list of strings), concatenates the strings
within each row and returns a single strings column result.
|
ColumnVector |
ColumnView.stringConcatenateListElements(Scalar separator,
Scalar narep,
boolean separateNulls,
boolean emptyStringOutputIfEmptyList)
Given a lists column of strings (each row is a list of strings), concatenates the strings
within each row and returns a single strings column result.
|
ColumnVector |
ColumnView.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 |
ColumnView.stringLocate(Scalar substring)
Locates the starting index of the first instance of the given string in each row of a column.
|
ColumnVector |
ColumnView.stringLocate(Scalar substring,
int start)
Locates the starting index of the first instance of the given string in each row of a column.
|
ColumnVector |
ColumnView.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 |
ColumnView.stringReplace(ColumnView targets,
ColumnView repls)
Returns a new strings column where target strings with each string are replaced with
corresponding replacement strings.
|
ColumnVector |
ColumnView.stringReplace(Scalar target,
Scalar replace)
Returns a new strings column where target string within each string is replaced with the specified
replacement string.
|
ColumnVector |
ColumnView.stringReplaceWithBackrefs(RegexProgram regexProg,
String replace)
For each string, replaces any character sequence matching the given regex program
pattern using the replace template for back-references.
|
ColumnVector |
ColumnView.stringReplaceWithBackrefs(String pattern,
String replace)
Deprecated.
|
ColumnVector |
ColumnView.stringSplitRecord(RegexProgram regexProg)
Returns a column that are lists of strings in which each list is made by splitting the
corresponding input string using the specified regex program pattern.
|
ColumnVector |
ColumnView.stringSplitRecord(RegexProgram regexProg,
int limit)
Returns a column that are lists of strings in which each list is made by splitting the
corresponding input string using the specified regex program pattern.
|
ColumnVector |
ColumnView.stringSplitRecord(String delimiter)
Returns a column that are lists of strings in which each list is made by splitting the
corresponding input string using the specified string literal delimiter.
|
ColumnVector |
ColumnView.stringSplitRecord(String pattern,
boolean splitByRegex)
Deprecated.
|
ColumnVector |
ColumnView.stringSplitRecord(String delimiter,
int limit)
Returns a column that are lists of strings in which each list is made by splitting the
corresponding input string using the specified string literal delimiter.
|
ColumnVector |
ColumnView.stringSplitRecord(String pattern,
int limit,
boolean splitByRegex)
Deprecated.
|
ColumnVector |
ColumnView.strip()
Removes whitespace from the beginning and end of a string.
|
ColumnVector |
ColumnView.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 |
ColumnView.substring(ColumnView start,
ColumnView end)
Returns a new strings column that contains substrings of the strings in the provided column
which uses unique ranges for each string
|
ColumnVector |
ColumnView.substring(int start)
Returns a new strings column that contains substrings of the strings in the provided column.
|
ColumnVector |
ColumnView.substring(int start,
int end)
Returns a new strings column that contains substrings of the strings in the provided column.
|
ColumnVector |
ColumnView.subVector(int start)
Return a subVector from start inclusive to the end of the vector.
|
ColumnVector |
ColumnView.subVector(int start,
int end)
Return a subVector.
|
ColumnVector |
ColumnView.tan()
Calculate the tan, output is the same type as input.
|
ColumnVector |
ColumnView.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 |
ColumnView.toHex()
Convert this integer column to hexadecimal column and return a new strings column
Any null entries will result in corresponding null entries in the output column.
|
ColumnVector |
ColumnView.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 |
ColumnView.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 |
ColumnView.unaryOp(UnaryOp op)
Multiple different unary operations.
|
ColumnVector |
ColumnView.upper()
Convert a string to upper case.
|
ColumnVector |
Table.upperBound(boolean[] areNullsSmallest,
Table valueTable,
boolean[] descFlags)
Find largest indices in a sorted table where values should be inserted to maintain order.
|
ColumnVector |
Table.upperBound(Table valueTable,
OrderByArg... args)
Find largest indices in a sorted table where values should be inserted to maintain order.
|
ColumnVector |
ColumnView.urlDecode()
Converts all character sequences starting with '%' into character code-points
interpreting the 2 following characters as hex values to create the code-point.
|
ColumnVector |
ColumnView.urlEncode()
Converts mostly non-ascii characters and control characters into UTF-8 hex code-points
prefixed with '%'.
|
ColumnVector |
ColumnView.weekDay()
Get the day of the week from a timestamp.
|
ColumnVector |
ColumnView.year()
Get year from a timestamp.
|
ColumnVector |
ColumnView.zfill(int width)
Add '0' as padding to the left of each string.
|
Modifier and Type | Method and Description |
---|---|
ColumnVector |
ColumnView.approxPercentile(ColumnVector percentiles)
Calculate various percentiles of this ColumnVector, which must contain centroids produced by
a t-digest aggregation.
|
static RollingAggregation |
RollingAggregation.lag(int offset,
ColumnVector defaultOutput)
In a rolling window return the value offset entries behind or the corresponding value from
defaultOutput if it is outside of the window.
|
static RollingAggregation |
RollingAggregation.lead(int offset,
ColumnVector defaultOutput)
In a rolling window return the value offset entries ahead or the corresponding value from
defaultOutput if it is outside of the window.
|
void |
ColumnVector.EventHandler.onClosed(ColumnVector cv,
int refCount)
`onClosed` is invoked with the updated `refCount` during `close`.
|
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
ColumnVector s passed to it. |
Modifier and Type | Method and Description |
---|---|
ColumnVector |
CompiledExpression.computeColumn(Table table)
Compute a new column by applying this AST expression to the specified table.
|
Copyright © 2024. All rights reserved.