Uses of Class
ai.rapids.cudf.ColumnVector
Packages that use ColumnVector
-
Uses of ColumnVector in ai.rapids.cudf
Methods in ai.rapids.cudf that return ColumnVectorModifier and TypeMethodDescriptionfinal ColumnVectorColumnView.abs()Calculate the abs, output is the same type as input.default ColumnVectorBinaryOperable.add(BinaryOperable rhs) Add + operator.default ColumnVectorBinaryOperable.add(BinaryOperable rhs, DType outType) Add one vector to another with the given output type.final ColumnVectorColumnView.addCalendricalMonths(ColumnView months) Add the specified number of months to the timestamp.final ColumnVectorColumnView.addCalendricalMonths(Scalar months) Add the specified number of months to the timestamp.default ColumnVectorBinaryOperable.and(BinaryOperable rhs) Logical and (&&).default ColumnVectorBinaryOperable.and(BinaryOperable rhs, DType outType) Logical and (&&) with the given output type.final ColumnVectorColumnView.applyBooleanMask(ColumnView booleanMaskView) Filters elements in each row of this LIST column using `booleanMaskView` LIST of booleans as a mask.final ColumnVectorColumnView.approxPercentile(double[] percentiles) Calculate various percentiles of this ColumnVector, which must contain centroids produced by a t-digest aggregation.final ColumnVectorColumnView.approxPercentile(ColumnVector percentiles) Calculate various percentiles of this ColumnVector, which must contain centroids produced by a t-digest aggregation.final ColumnVectorColumnView.arccos()Calculate the arccos, output is the same type as input.final ColumnVectorColumnView.arccosh()Calculate the hyperbolic arccos, output is the same type as input.final ColumnVectorColumnView.arcsin()Calculate the arcsin, output is the same type as input.final ColumnVectorColumnView.arcsinh()Calculate the hyperbolic arcsin, output is the same type as input.final ColumnVectorColumnView.arctan()Calculate the arctan, output is the same type as input.default ColumnVectorBinaryOperable.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 ColumnVectorBinaryOperable.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).final ColumnVectorColumnView.arctanh()Calculate the hyperbolic arctan, output is the same type as input.final ColumnVectorColumnView.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.final ColumnVectorColumnView.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.final ColumnVectorColumnView.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.final ColumnVectorColumnView.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.final ColumnVectorColumnView.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.final ColumnVectorColumnView.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.final ColumnVectorColumnView.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.final ColumnVectorColumnView.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.final ColumnVectorColumnView.asStrings()Cast to Strings.final ColumnVectorMethod to parse and convert a timestamp column vector to string column vector.final ColumnVectorColumnView.asTimestamp(DType timestampType, String format) Parse a string to a timestamp.final ColumnVectorColumnView.asTimestampDays()Cast to TIMESTAMP_DAYS - ColumnVector This method takes the value provided by the ColumnVector and casts to TIMESTAMP_DAYSfinal ColumnVectorColumnView.asTimestampDays(String format) Cast to TIMESTAMP_DAYS - ColumnVector This method takes the string value provided by the ColumnVector and casts to TIMESTAMP_DAYSfinal ColumnVectorColumnView.asTimestampMicroseconds()Cast to TIMESTAMP_MICROSECONDS - ColumnVector This method takes the value provided by the ColumnVector and casts to TIMESTAMP_MICROSECONDSfinal ColumnVectorColumnView.asTimestampMicroseconds(String format) Cast to TIMESTAMP_MICROSECONDS - ColumnVector This method takes the string value provided by the ColumnVector and casts to TIMESTAMP_MICROSECONDSfinal ColumnVectorColumnView.asTimestampMilliseconds()Cast to TIMESTAMP_MILLISECONDS - ColumnVector This method takes the value provided by the ColumnVector and casts to TIMESTAMP_MILLISECONDS.final ColumnVectorColumnView.asTimestampMilliseconds(String format) Cast to TIMESTAMP_MILLISECONDS - ColumnVector This method takes the string value provided by the ColumnVector and casts to TIMESTAMP_MILLISECONDS.final ColumnVectorColumnView.asTimestampNanoseconds()Cast to TIMESTAMP_NANOSECONDS - ColumnVector This method takes the value provided by the ColumnVector and casts to TIMESTAMP_NANOSECONDS.final ColumnVectorColumnView.asTimestampNanoseconds(String format) Cast to TIMESTAMP_NANOSECONDS - ColumnVector This method takes the string value provided by the ColumnVector and casts to TIMESTAMP_NANOSECONDS.final ColumnVectorColumnView.asTimestampSeconds()Cast to TIMESTAMP_SECONDS - ColumnVector This method takes the value provided by the ColumnVector and casts to TIMESTAMP_SECONDSfinal ColumnVectorColumnView.asTimestampSeconds(String format) Cast to TIMESTAMP_SECONDS - ColumnVector This method takes the string value provided by the ColumnVector and casts to TIMESTAMP_SECONDSfinal ColumnVectorColumnView.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.final ColumnVectorColumnView.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.final ColumnVectorColumnView.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.final ColumnVectorColumnView.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.BinaryOperable.binaryOp(BinaryOp op, BinaryOperable rhs, DType outType) Multiple different binary operations.final ColumnVectorColumnView.binaryOp(BinaryOp op, BinaryOperable rhs, DType outType) Multiple different binary operations.Scalar.binaryOp(BinaryOp op, BinaryOperable rhs, DType outType) default ColumnVectorBinaryOperable.bitAnd(BinaryOperable rhs) Bit wise and (&).default ColumnVectorBinaryOperable.bitAnd(BinaryOperable rhs, DType outType) Bit wise and (&) with the given output type.final ColumnVectorColumnView.bitCount()Count the number of set bit for each integer value.final ColumnVectorColumnView.bitInvert()Invert the bits, output is the same type as input.default ColumnVectorBinaryOperable.bitOr(BinaryOperable rhs) Bit wise or (|).default ColumnVectorBinaryOperable.bitOr(BinaryOperable rhs, DType outType) Bit wise or (|) with the given output type.default ColumnVectorBinaryOperable.bitXor(BinaryOperable rhs) Bit wise xor (^).default ColumnVectorBinaryOperable.bitXor(BinaryOperable rhs, DType outType) Bit wise xor (^) with the given output type.static ColumnVectorColumnVector.boolFromBytes(byte... values) Create a new vector from the given values.static ColumnVectorColumnVector.build(int rows, long stringBufferSize, Consumer<HostColumnVector.Builder> init) static ColumnVectorColumnVector.build(DType type, int rows, Consumer<HostColumnVector.Builder> init) Create a new vector.final ColumnVectorArrowColumnBuilder.buildAndPutOnDevice()Create the immutable ColumnVector, copied to the device based on the Arrow data.final ColumnVectorHostColumnVector.Builder.buildAndPutOnDevice()Finish and create the immutable ColumnVector, copied to the device.final ColumnVectorHostColumnVector.ColumnBuilder.buildAndPutOnDevice()Finish and create the immutable ColumnVector, copied to the device.final ColumnVectorColumnView.capitalize(Scalar delimiters) Returns a column of capitalized strings.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.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.final ColumnVectorColumnView.cbrt()Calculate the cube root, output is the same type as input.final ColumnVectorColumnView.ceil()Calculate the ceil, output is the same type as input.final ColumnVectorReplaces values less than `lo` in `input` with `lo`, and values greater than `hi` with `hi`.final ColumnVectorReplaces values less than `lo` in `input` with `lo_replace`, and values greater than `hi` with `hi_replace`.final ColumnVectorColumnView.codePoints()Get the code point values (integers) for each character of each string.static ColumnVectorColumnVector.concatenate(ColumnView... columns) Create a new vector by concatenating multiple columns together.final ColumnVectorColumnView.contains(ColumnView searchSpace) Returns a new column ofDType.BOOL8elements 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.final ColumnVectorColumnView.containsRe(RegexProgram regexProg) Returns a boolean ColumnVector identifying rows which match the given RegexProgram pattern starting at any location.final ColumnVectorColumnView.containsRe(String pattern) Deprecated.ColumnVector.copyToColumnVector()For a ColumnVector this is really just incrementing the reference count.ColumnView.copyToColumnVector()Creates a ColumnVector from a column view handleHostColumnVector.copyToDevice()Copy the data to the device.final ColumnVectorColumnView.cos()Calculate the cos, output is the same type as input.final ColumnVectorColumnView.cosh()Calculate the hyperbolic cos, output is the same type as input.final ColumnVectorColumnView.countElements()Get the number of elements for each list.final ColumnVectorColumnView.dateTimeCeil(DateTimeRoundingFrequency freq) Round the timestamp up to the given frequency keeping the type the same.final ColumnVectorColumnView.dateTimeFloor(DateTimeRoundingFrequency freq) Round the timestamp down to the given frequency keeping the type the same.final ColumnVectorColumnView.dateTimeRound(DateTimeRoundingFrequency freq) Round the timestamp (half up) to the given frequency keeping the type the same.final ColumnVectorColumnView.day()Get day from a timestamp.final ColumnVectorColumnView.dayOfYear()Get the day of the year from a timestamp.static ColumnVectorColumnVector.daysFromInts(int... values) Create a new vector from the given values.final ColumnVectorColumnView.daysInMonth()Extract the number of days in the monthstatic ColumnVectorColumnVector.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 ColumnVectorColumnVector.decimalFromBoxedInts(int scale, Integer... values) Create a new decimal vector from boxed unscaled values (Integer array) and scale.static ColumnVectorColumnVector.decimalFromBoxedLongs(int scale, Long... values) Create a new decimal vector from boxed unscaled values (Long array) and scale.static ColumnVectorColumnVector.decimalFromDoubles(DType type, RoundingMode mode, double... values) Create a new decimal vector from double floats with specific DecimalType and RoundingMode.static ColumnVectorColumnVector.decimalFromInts(int scale, int... values) Create a new decimal vector from unscaled values (int array) and scale.static ColumnVectorColumnVector.decimalFromLongs(int scale, long... values) Create a new decimal vector from unscaled values (long array) and scale.default ColumnVectorBinaryOperable.div(BinaryOperable rhs) Divide one vector by another.default ColumnVectorBinaryOperable.div(BinaryOperable rhs, DType outType) Divide one vector by another with the given output type.final ColumnVectorColumnView.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.final ColumnVectorColumnView.dropListDuplicates(DuplicateKeepOption keepOption) 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.final ColumnVectorColumnView.dropListDuplicatesWithKeysValues()Given a LIST column in which each element is a struct containing a <key, value> pair.static ColumnVectorColumnVector.durationDaysFromBoxedInts(Integer... values) Create a new vector from the given values.static ColumnVectorColumnVector.durationDaysFromInts(int... values) Create a new vector from the given values.static ColumnVectorColumnVector.durationMicroSecondsFromBoxedLongs(Long... values) Create a new vector from the given values.static ColumnVectorColumnVector.durationMicroSecondsFromLongs(long... values) Create a new vector from the given values.static ColumnVectorColumnVector.durationMilliSecondsFromBoxedLongs(Long... values) Create a new vector from the given values.static ColumnVectorColumnVector.durationMilliSecondsFromLongs(long... values) Create a new vector from the given values.static ColumnVectorColumnVector.durationNanoSecondsFromBoxedLongs(Long... values) Create a new vector from the given values.static ColumnVectorColumnVector.durationNanoSecondsFromLongs(long... values) Create a new vector from the given values.static ColumnVectorColumnVector.durationSecondsFromBoxedLongs(Long... values) Create a new vector from the given values.static ColumnVectorColumnVector.durationSecondsFromLongs(long... values) Create a new vector from the given values.static ColumnVectorColumnVector.empty(HostColumnVector.DataType colType) Creates an empty column according to the data type.static ColumnVectorColumnVector.emptyStructs(HostColumnVector.DataType dataType, long numRows) This method is evolving, unstable and currently test only.final ColumnVectorChecks if each string in a column ends with a specified comparison string, resulting in a parallel column of the boolean results.default ColumnVectorBinaryOperable.equalTo(BinaryOperable rhs) this == rhs 1 is true 0 is false.default ColumnVectorBinaryOperable.equalTo(BinaryOperable rhs, DType outType) this == rhs 1 is true 0 is false with the output cast to the given type.default ColumnVectorBinaryOperable.equalToNullAware(BinaryOperable rhs) like equalTo but NULL == NULL is TRUE and NULL == not NULL is FALSEdefault ColumnVectorBinaryOperable.equalToNullAware(BinaryOperable rhs, DType outType) like equalTo but NULL == NULL is TRUE and NULL == not NULL is FALSEfinal ColumnVectorColumnView.exp()Calculate the exp, output is the same type as input.final ColumnVectorColumnView.extractAllRecord(RegexProgram regexProg, int idx) Extracts all strings that match the given regex program pattern and corresponds to the regular expression group index.final ColumnVectorColumnView.extractAllRecord(String pattern, int idx) Deprecated.final ColumnVectorColumnView.extractDateTimeComponent(DateTimeComponent component) Extract a particular date time component from a timestamp.static ColumnVectorAggregation128Utils.extractInt32Chunk(ColumnView col, DType outType, int chunkIdx) Extract a 32-bit chunk from a 128-bit value.final ColumnVectorColumnView.extractListElement(int index) For each list in this column pull out the entry at the given index.final ColumnVectorColumnView.extractListElement(ColumnView indices) For each list in this column pull out the entry at the corresponding index specified in the index column.final ColumnVectorColumnView.findAndReplaceAll(ColumnView oldValues, ColumnView newValues) Returns a vector with all values "oldValues[i]" replaced with "newValues[i]".ColumnView.flattenLists()Flatten each list of lists into a single list.ColumnView.flattenLists(boolean ignoreNull) Flatten each list of lists into a single list.final ColumnVectorColumnView.floor()Calculate the floor, output is the same type as input.default ColumnVectorBinaryOperable.floorDiv(BinaryOperable rhs) Divide one vector by another and calculate the floor of the result.default ColumnVectorBinaryOperable.floorDiv(BinaryOperable rhs, DType outType) Divide one vector by another and calculate the floor of the result with the given output type.static ColumnVectorColumnVector.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 ColumnVectorColumnVector.fromBooleans(boolean... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromBoxedBooleans(Boolean... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromBoxedBytes(Byte... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromBoxedDoubles(Double... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromBoxedFloats(Float... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromBoxedInts(Integer... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromBoxedLongs(Long... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromBoxedShorts(Short... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromBoxedUnsignedBytes(Byte... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromBoxedUnsignedInts(Integer... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromBoxedUnsignedLongs(Long... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromBoxedUnsignedShorts(Short... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromBytes(byte... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromDecimals(BigDecimal... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromDoubles(double... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromFloats(float... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromInts(int... values) Create a new vector from the given values.static <T> ColumnVectorColumnVector.fromLists(HostColumnVector.DataType dataType, List<T>... lists) This method is evolving, unstable and currently test only.static ColumnVectorColumnVector.fromLongs(long... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromScalar(Scalar scalar, int rows) Create a new vector of length rows, where each row is filled with the Scalar's valuestatic ColumnVectorColumnVector.fromShorts(short... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromStrings(String... values) Create a new string vector from the given values.static ColumnVectorColumnVector.fromStructs(HostColumnVector.DataType dataType, HostColumnVector.StructData... lists) This method is evolving, unstable and currently test only.static ColumnVectorColumnVector.fromStructs(HostColumnVector.DataType dataType, List<HostColumnVector.StructData> lists) This method is evolving, unstable and currently test only.static ColumnVectorColumnVector.fromUnsignedBytes(byte... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromUnsignedInts(int... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromUnsignedLongs(long... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromUnsignedShorts(short... values) Create a new vector from the given values.static ColumnVectorColumnVector.fromUTF8Strings(byte[]... values) Create a new string vector from the given values.static ColumnVectorColumnVector.fromViewWithContiguousAllocation(long columnViewAddress, DeviceMemoryBuffer buffer) Creates a ColumnVector from a native column_view using a contiguous device allocation.final ColumnVectorColumnView.generateListOffsets()Generate list offsets from sizes of each list.final ColumnVectorColumnView.getByteCount()Retrieve the number of bytes for each string.final ColumnVectorColumnView.getCharLengths()Retrieve the number of characters in each string.PartitionedTable.getColumn(int index) Table.getColumn(int index) Return theColumnVectorat the specified index.final ColumnVectorColumnView.getJSONObject(Scalar path) Apply a JSONPath string to all rows in an input strings column.final ColumnVectorColumnView.getJSONObject(Scalar path, GetJsonObjectOptions options) Apply a JSONPath string to all rows in an input strings column.final ColumnVectorColumnView.getMapKeyExistence(ColumnView keys) For a column of type List<Struct<_, _>> and a passed in key column, return a boolean column for all keys in the map.final ColumnVectorColumnView.getMapKeyExistence(Scalar key) For a column of type List<Struct<String, String>> and a passed in String key, return a boolean column for all keys in the structs, It is true if the key exists in the corresponding map for that row, false otherwise.final ColumnVectorColumnView.getMapValue(ColumnView keys) Given a column of type List<Struct<X, Y>> and a key column of type X, return a column of type Y, where each row in the output column is the Y value corresponding to the X key.final ColumnVectorColumnView.getMapValue(Scalar key) Given a column of type List<Struct<X, Y>> and a key of type X, return a column of type Y, where each row in the output column is the Y value corresponding to the X key.default ColumnVectorBinaryOperable.greaterOrEqualTo(BinaryOperable rhs) this >= rhs 1 is true 0 is false.default ColumnVectorBinaryOperable.greaterOrEqualTo(BinaryOperable rhs, DType outType) this >= rhs 1 is true 0 is false with the output cast to the given type.default ColumnVectorBinaryOperable.greaterThan(BinaryOperable rhs) this > rhs 1 is true 0 is false.default ColumnVectorBinaryOperable.greaterThan(BinaryOperable rhs, DType outType) this > rhs 1 is true 0 is false with the output cast to the given type.static ColumnVectorDecimalUtils.greaterThan(ColumnView lhs, BigDecimal rhs) Because the native greaterThan operator has issues with comparing decimal values that have different precision and scale accurately.final ColumnVectorColumnView.hour()Get hour from a timestamp with time resolution.final ColumnVectorColumnView.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.final ColumnVectorColumnView.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.final ColumnVectorColumnView.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.final ColumnVectorFor 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.incRefCount()Increment the reference count for this column.Table.interleaveColumns()Interleave all columns into a single column.final ColumnVectorColumnView.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.final ColumnVectorColumnView.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.final ColumnVectorColumnView.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.final ColumnVectorReturns 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.final ColumnVectorColumnView.isLeapYear()Check to see if the year for this timestamp is a leap year or not.final ColumnVectorColumnView.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 valuefinal ColumnVectorColumnView.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 otherwisefinal ColumnVectorColumnView.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)final ColumnVectorColumnView.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)final ColumnVectorColumnView.isTimestamp(String format) Verifies that a string column can be parsed to timestamps using the provided format pattern.final ColumnVectorColumnView.joinStrings(Scalar separator, Scalar narep) Concatenates all strings in the column into one new string delimited by an optional separator string.final ColumnVectorColumnView.lastDayOfMonth()Get the date that is the last day of the month for this timestamp.default ColumnVectorBinaryOperable.lessOrEqualTo(BinaryOperable rhs) this <= rhs 1 is true 0 is false.default ColumnVectorBinaryOperable.lessOrEqualTo(BinaryOperable rhs, DType outType) this <= rhs 1 is true 0 is false with the output cast to the given type.default ColumnVectorBinaryOperable.lessThan(BinaryOperable rhs) this < rhs 1 is true 0 is false.default ColumnVectorBinaryOperable.lessThan(BinaryOperable rhs, DType outType) this < rhs 1 is true 0 is false with the output cast to the given type.static ColumnVectorDecimalUtils.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.static ColumnVectorDecimalUtils.lessThan(ColumnView lhs, BigDecimal rhs) Because the native lessThan operator has issues with comparing decimal values that have different precision and scale accurately.final ColumnVectorReturns a boolean ColumnVector identifying rows which match the given like pattern.static ColumnVectorColumnVector.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 ColumnVectorColumnVector.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.final ColumnVectorColumnView.listContains(Scalar key) Create a column of bool values indicating whether the specified scalar is an element of each row of a list column.final ColumnVectorColumnView.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.final ColumnVectorColumnView.listContainsNulls()Create a column of bool values indicating whether the list rows of the specified column contain null elements.final ColumnVectorColumnView.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.final ColumnVectorColumnView.listIndexOf(Scalar key, ColumnView.FindOptions findOption) Create a column of int32 indices, indicating the position of the scalar search key in each list row.ColumnView.listReduce(SegmentedReductionAggregation aggregation) Do a reduction on the values in a list.ColumnView.listReduce(SegmentedReductionAggregation aggregation, DType outType) Do a reduction on the values in a list.ColumnView.listReduce(SegmentedReductionAggregation aggregation, NullPolicy nullPolicy, DType outType) Do a reduction on the values in a list.static ColumnVectorColumnView.listsDifferenceDistinct(ColumnView lhs, ColumnView rhs) Find the difference of lists of the left column against lists of the right column.static ColumnVectorColumnView.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 ColumnVectorColumnView.listsIntersectDistinct(ColumnView lhs, ColumnView rhs) Find the intersection without duplicate between lists at each row of the given lists columns.final ColumnVectorColumnView.listSortRows(boolean isDescending, boolean isNullSmallest) Segmented sort of the elements within a list in each row of a list column.static ColumnVectorColumnView.listsUnionDistinct(ColumnView lhs, ColumnView rhs) Find the union without duplicate between lists at each row of the given lists columns.default ColumnVectorBinaryOperable.log(BinaryOperable rhs) Calculate the log with the specified base, output is the same as this.default ColumnVectorBinaryOperable.log(BinaryOperable rhs, DType outType) Calculate the log with the specified basefinal ColumnVectorColumnView.log()Calculate the log, output is the same type as input.final ColumnVectorColumnView.log10()Calculate the log with base 10, output is the same type as input.final ColumnVectorColumnView.log2()Calculate the log with base 2, output is the same type as input.final ColumnVectorColumnView.lower()Convert a string to lower case.Table.lowerBound(boolean[] areNullsSmallest, Table valueTable, boolean[] descFlags) Find smallest indices in a sorted table where values should be inserted to maintain order.Table.lowerBound(Table valueTable, OrderByArg... args) Find smallest indices in a sorted table where values should be inserted to maintain order.final ColumnVectorColumnView.lstrip()Removes whitespace from the beginning of a string.final ColumnVectorRemoves the specified characters from the beginning of each string.static ColumnVectorColumnVector.makeList(long rows, DType type, ColumnView... columns) Create a LIST column from the given columns.static ColumnVectorColumnVector.makeList(ColumnView... columns) Create a LIST column from the given columns.ColumnVector.makeListFromOffsets(long rows, ColumnView offsets) Create a LIST column from the current column and a given offsets column.static ColumnVectorColumnVector.makeStruct(long rows, ColumnView... columns) Create a new struct vector made up of existing columns.static ColumnVectorColumnVector.makeStruct(ColumnView... columns) Create a new struct vector made up of existing columns.final ColumnVectorColumnView.matchesRe(RegexProgram regexProg) Returns a boolean ColumnVector identifying rows which match the given regex program pattern but only at the beginning of the string.final ColumnVectorDeprecated.default ColumnVectorBinaryOperable.maxNullAware(BinaryOperable rhs) Returns the max non null value.default ColumnVectorBinaryOperable.maxNullAware(BinaryOperable rhs, DType outType) Returns the max non null value.static ColumnVectorColumnVector.md5Hash(ColumnView... columns) Create a new vector containing the MD5 hash of each row in the table.final ColumnVectorColumnView.mergeAndSetValidity(BinaryOp mergeOp, ColumnView... columns) Create a deep copy of the column while replacing the null mask.default ColumnVectorBinaryOperable.minNullAware(BinaryOperable rhs) Returns the min non null value.default ColumnVectorBinaryOperable.minNullAware(BinaryOperable rhs, DType outType) Returns the min non null value.final ColumnVectorColumnView.minute()Get minute from a timestamp with time resolution.default ColumnVectorBinaryOperable.mod(BinaryOperable rhs) Compute the modulus.default ColumnVectorBinaryOperable.mod(BinaryOperable rhs, DType outType) Compute the modulus with the given output type.final ColumnVectorColumnView.month()Get month from a timestamp.default ColumnVectorBinaryOperable.mul(BinaryOperable rhs) Multiply two vectors together.default ColumnVectorBinaryOperable.mul(BinaryOperable rhs, DType outType) Multiply two vectors together with the given output type.final ColumnVectorColumnView.nansToNulls()Returns a new ColumnVector with NaNs converted to nulls, preserving the existing null values.final ColumnVectorColumnView.normalizeNANsAndZeros()Create a new vector of "normalized" values, where: 1.final ColumnVectorColumnView.not()Returns a vector of the logical `not` of each value in the input column (this)default ColumnVectorBinaryOperable.notEqualTo(BinaryOperable rhs) this != rhs 1 is true 0 is false.default ColumnVectorBinaryOperable.notEqualTo(BinaryOperable rhs, DType outType) this != rhs 1 is true 0 is false with the output cast to the given type.default ColumnVectorBinaryOperable.notEqualToNullAware(BinaryOperable rhs) like notEqualTo but NULL != NULL is TRUE and NULL != not NULL is FALSEdefault ColumnVectorBinaryOperable.notEqualToNullAware(BinaryOperable rhs, DType outType) like notEqualTo but NULL != NULL is TRUE and NULL != not NULL is FALSEdefault ColumnVectorBinaryOperable.or(BinaryOperable rhs) Logical or (||).default ColumnVectorBinaryOperable.or(BinaryOperable rhs, DType outType) Logical or (||) with the given output type.static ColumnVectorDecimalUtils.outOfBounds(ColumnView input, int precision, int scale) With precision and scale, checks each value of input decimal column for out of bound.final ColumnVectorColumnView.pad(int width) Pad the Strings column until it reaches the desired length with spaces " " on the right.final ColumnVectorPad the Strings column until it reaches the desired length with spaces " ".final ColumnVectorPad the Strings column until it reaches the desired length.default ColumnVectorBinaryOperable.pmod(BinaryOperable rhs) Returns the positive value of lhs mod rhs.default ColumnVectorBinaryOperable.pmod(BinaryOperable rhs, DType outputType) Returns the positive value of lhs mod rhs.default ColumnVectorBinaryOperable.pow(BinaryOperable rhs) Compute the power.default ColumnVectorBinaryOperable.pow(BinaryOperable rhs, DType outType) Compute the power with the given output type.final ColumnVectorColumnView.prefixSum()Compute the prefix sum (aka cumulative sum) of the values in this column.ColumnView.purgeNonEmptyNulls()Copies this column into output while purging any non-empty null rows in the column or its descendants.final ColumnVectorColumnView.quantile(QuantileMethod method, double[] quantiles) Calculate various quantiles of this ColumnVector.final ColumnVectorColumnView.quarterOfYear()Get the quarter of the year from a timestamp.final ColumnVectorColumnView.repeatStrings(int repeatTimes) Given a strings column, each string in it is repeated a number of times specified by therepeatTimesparameter.final ColumnVectorColumnView.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 arepeatTimesnumeric column.final ColumnVectorColumnView.replaceMultiRegex(String[] patterns, ColumnView repls) For each string, replaces any character sequence matching any of the regular expression patterns with the corresponding replacement strings.final ColumnVectorColumnView.replaceNulls(ColumnView replacements) Returns a ColumnVector with any null values replaced with the corresponding row in the specified replacement column.final ColumnVectorColumnView.replaceNulls(ReplacePolicy policy) final ColumnVectorColumnView.replaceNulls(Scalar scalar) Returns a ColumnVector with any null values replaced with a scalar.final ColumnVectorColumnView.replaceRegex(RegexProgram regexProg, Scalar repl) For each string, replaces any character sequence matching the given regex program pattern using the replacement string scalar.final ColumnVectorColumnView.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.final ColumnVectorColumnView.replaceRegex(String pattern, Scalar repl) Deprecated.final ColumnVectorColumnView.replaceRegex(String pattern, Scalar repl, int maxRepl) Deprecated.final ColumnVectorColumnView.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.final ColumnVectorColumnView.rint()Rounds a floating-point argument to the closest integer value, but returns it as a float.final ColumnVectorColumnView.rollingWindow(RollingAggregation op, WindowOptions options) This function aggregates values in a window around each element i of the input column.ColumnView.round()Rounds all the values in a column with these default values: decimalPlaces = 0 Rounding method = RoundMode.HALF_UPColumnView.round(int decimalPlaces) Rounds all the values in a column to the specified number of decimal places with HALF_UP (default) as Rounding method.Rounds all the values in a column to the specified number of decimal places.Rounds all the values in a column with decimal places = 0.Table.rowBitCount()Returns an approximate cumulative size in bits of all columns in the `table_view` for each row.final ColumnVectorColumnView.rstrip()Removes whitespace from the end of a string.final ColumnVectorRemoves the specified characters from the end of each string.final ColumnVectorColumnView.scan(ScanAggregation aggregation) Computes an inclusive scan for a column that excludes nulls.final ColumnVectorColumnView.scan(ScanAggregation aggregation, ScanType scanType) Computes a scan for a column that excludes nulls.final ColumnVectorColumnView.scan(ScanAggregation aggregation, ScanType scanType, NullPolicy nullPolicy) Computes a scan for a column.final ColumnVectorColumnView.second()Get second from a timestamp with time resolution.ColumnView.segmentedGather(ColumnView gatherMap) Segmented gather of the elements within a list element in each row of a list column.ColumnView.segmentedGather(ColumnView gatherMap, OutOfBoundsPolicy policy) Segmented gather of the elements within a list element in each row of a list column.ColumnView.segmentedReduce(ColumnView offsets, SegmentedReductionAggregation aggregation) Do a segmented reduce where the offsets column indicates which groups in this to combine.ColumnView.segmentedReduce(ColumnView offsets, SegmentedReductionAggregation aggregation, DType outType) Do a segmented reduce where the offsets column indicates which groups in this to combine.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 ColumnVectorColumnVector.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 ColumnVectorColumnVector.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 ColumnVectorCreate a new vector of length rows, starting at the initialValue and going by 1 each time.static ColumnVectorCreate a new vector of length rows, starting at the initialValue and going by step each time.static ColumnVectorColumnVector.sha1Hash(ColumnView... columns) Create a new column containing the Sha1 hash of each row in the table.default ColumnVectorBinaryOperable.shiftLeft(BinaryOperable shiftBy) Bitwise left shift the values of this vector by the shiftBy.default ColumnVectorBinaryOperable.shiftLeft(BinaryOperable shiftBy, DType outType) Bitwise left shifts the values of this vector by shiftBy.default ColumnVectorBinaryOperable.shiftRight(BinaryOperable shiftBy) Bitwise right shift this vector by the shiftBy.default ColumnVectorBinaryOperable.shiftRight(BinaryOperable shiftBy, DType outType) Bitwise right shift this vector by the shiftBy.default ColumnVectorBinaryOperable.shiftRightUnsigned(BinaryOperable shiftBy) This method bitwise right shifts the values of this vector by the shiftBy.default ColumnVectorBinaryOperable.shiftRightUnsigned(BinaryOperable shiftBy, DType outType) This method bitwise right shifts the values of this vector by the shiftBy.final ColumnVectorColumnView.sin()Calculate the sin, output is the same type as input.final ColumnVectorColumnView.sinh()Calculate the hyperbolic sin, output is the same type as input.final ColumnVector[]ColumnView.slice(int... indices) Slices a column (including null values) into a set of columns according to a set of indices.Table.sortOrder(OrderByArg... args) Get back a gather map that can be used to sort the data.final ColumnVector[]ColumnView.split(int... indices) Splits a column (including null values) into a set of columns according to a set of indices.final ColumnVectorColumnView.sqrt()Calculate the sqrt, output is the same type as input.final ColumnVectorColumnView.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 ColumnVectorColumnVector.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 ColumnVectorColumnVector.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 ColumnVectorColumnVector.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 ColumnVectorColumnVector.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 ColumnVectorColumnVector.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.final ColumnVectorColumnView.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.final ColumnVectorColumnView.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.final ColumnVectorColumnView.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.final ColumnVector[]ColumnView.stringContains(ColumnView targets) final ColumnVectorColumnView.stringContains(Scalar compString) Checks if each string in a column contains a specified comparison string, resulting in a parallel column of the boolean results.final ColumnVectorColumnView.stringLocate(Scalar substring) Locates the starting index of the first instance of the given string in each row of a column.final ColumnVectorColumnView.stringLocate(Scalar substring, int start) Locates the starting index of the first instance of the given string in each row of a column.final ColumnVectorColumnView.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.final ColumnVectorColumnView.stringReplace(ColumnView targets, ColumnView repls) Returns a new strings column where target strings with each string are replaced with corresponding replacement strings.final ColumnVectorColumnView.stringReplace(Scalar target, Scalar replace) Returns a new strings column where target string within each string is replaced with the specified replacement string.final ColumnVectorColumnView.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.final ColumnVectorColumnView.stringReplaceWithBackrefs(String pattern, String replace) Deprecated.final ColumnVectorColumnView.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.final ColumnVectorColumnView.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.final ColumnVectorColumnView.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.final ColumnVectorColumnView.stringSplitRecord(String pattern, boolean splitByRegex) Deprecated.final ColumnVectorColumnView.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.final ColumnVectorColumnView.stringSplitRecord(String pattern, int limit, boolean splitByRegex) Deprecated.final ColumnVectorColumnView.strip()Removes whitespace from the beginning and end of a string.final ColumnVectorRemoves the specified characters from the beginning and end of each string.default ColumnVectorBinaryOperable.sub(BinaryOperable rhs) Subtract one vector from another.default ColumnVectorBinaryOperable.sub(BinaryOperable rhs, DType outType) Subtract one vector from another with the given output type.final ColumnVectorColumnView.substring(int start) Returns a new strings column that contains substrings of the strings in the provided column.final ColumnVectorColumnView.substring(int start, int end) Returns a new strings column that contains substrings of the strings in the provided column.final ColumnVectorColumnView.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 stringfinal ColumnVectorColumnView.subVector(int start) Return a subVector from start inclusive to the end of the vector.final ColumnVectorColumnView.subVector(int start, int end) Return a subVector.final ColumnVectorColumnView.tan()Calculate the tan, output is the same type as input.final ColumnVectorColumnView.tanh()Calculate the hyperbolic tan, output is the same type as input.static ColumnVectorColumnVector.timestampDaysFromBoxedInts(Integer... values) Create a new vector from the given values.static ColumnVectorColumnVector.timestampMicroSecondsFromBoxedLongs(Long... values) Create a new vector from the given values.static ColumnVectorColumnVector.timestampMicroSecondsFromLongs(long... values) Create a new vector from the given values.static ColumnVectorColumnVector.timestampMilliSecondsFromBoxedLongs(Long... values) Create a new vector from the given values.static ColumnVectorColumnVector.timestampMilliSecondsFromLongs(long... values) Create a new vector from the given values.static ColumnVectorColumnVector.timestampNanoSecondsFromBoxedLongs(Long... values) Create a new vector from the given values.static ColumnVectorColumnVector.timestampNanoSecondsFromLongs(long... values) Create a new vector from the given values.static ColumnVectorColumnVector.timestampSecondsFromBoxedLongs(Long... values) Create a new vector from the given values.static ColumnVectorColumnVector.timestampSecondsFromLongs(long... values) Create a new vector from the given values.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.final ColumnVectorColumnView.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.final ColumnVectorTransform a vector using a custom function.default ColumnVectorBinaryOperable.trueDiv(BinaryOperable rhs) Divide one vector by another converting to FLOAT64 in between.default ColumnVectorBinaryOperable.trueDiv(BinaryOperable rhs, DType outType) Divide one vector by another converting to FLOAT64 in between with the given output type.final ColumnVectorMultiple different unary operations.final ColumnVectorColumnView.upper()Convert a string to upper case.Table.upperBound(boolean[] areNullsSmallest, Table valueTable, boolean[] descFlags) Find largest indices in a sorted table where values should be inserted to maintain order.Table.upperBound(Table valueTable, OrderByArg... args) Find largest indices in a sorted table where values should be inserted to maintain order.final ColumnVectorColumnView.urlDecode()Converts all character sequences starting with '%' into character code-points interpreting the 2 following characters as hex values to create the code-point.final ColumnVectorColumnView.urlEncode()Converts mostly non-ascii characters and control characters into UTF-8 hex code-points prefixed with '%'.final ColumnVectorColumnView.weekDay()Get the day of the week from a timestamp.final ColumnVectorColumnView.year()Get year from a timestamp.final ColumnVectorColumnView.zfill(int width) Add '0' as padding to the left of each string.Methods in ai.rapids.cudf with parameters of type ColumnVectorModifier and TypeMethodDescriptionfinal ColumnVectorColumnView.approxPercentile(ColumnVector percentiles) Calculate various percentiles of this ColumnVector, which must contain centroids produced by a t-digest aggregation.static RollingAggregationRollingAggregation.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 RollingAggregationRollingAggregation.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.voidColumnVector.EventHandler.onClosed(ColumnVector cv, int refCount) `onClosed` is invoked with the updated `refCount` during `close`.WindowOptions.Builder.window(ColumnVector precedingCol, ColumnVector followingCol) Set the size of the window, one entry per row.static voidJCudfSerialization.writeToStream(ColumnVector[] columns, OutputStream out, long rowOffset, long numRows) Write all or part of a set of columns out in an internal format.Constructors in ai.rapids.cudf with parameters of type ColumnVectorModifierConstructorDescriptionTable(ColumnVector... columns) Table class makes a copy of the array ofColumnVectors passed to it. -
Uses of ColumnVector in ai.rapids.cudf.ast
Methods in ai.rapids.cudf.ast that return ColumnVectorModifier and TypeMethodDescriptionCompiledExpression.computeColumn(Table table) Compute a new column by applying this AST expression to the specified table.