Uses of Class
ai.rapids.cudf.DType
Packages that use DType
-
Uses of DType in ai.rapids.cudf
Fields in ai.rapids.cudf declared as DTypeModifier and TypeFieldDescriptionstatic final DType
DType.BOOL8
final DType
JCudfSerialization.SerializedColumnHeader.dtype
static final DType
DType.DURATION_DAYS
static final DType
DType.DURATION_MICROSECONDS
static final DType
DType.DURATION_MILLISECONDS
static final DType
DType.DURATION_NANOSECONDS
static final DType
DType.DURATION_SECONDS
static final DType
DType.EMPTY
static final DType
DType.FLOAT32
static final DType
DType.FLOAT64
static final DType
DType.INT16
static final DType
DType.INT32
static final DType
DType.INT64
static final DType
DType.INT8
static final DType
DType.LIST
static final DType
DType.STRING
static final DType
DType.STRUCT
static final DType
DType.TIMESTAMP_DAYS
static final DType
DType.TIMESTAMP_MICROSECONDS
static final DType
DType.TIMESTAMP_MILLISECONDS
static final DType
DType.TIMESTAMP_NANOSECONDS
static final DType
DType.TIMESTAMP_SECONDS
protected final DType
ColumnView.type
protected final DType
HostColumnVectorCore.type
static final DType
DType.UINT16
static final DType
DType.UINT32
static final DType
DType.UINT64
static final DType
DType.UINT8
Methods in ai.rapids.cudf that return DTypeModifier and TypeMethodDescriptionstatic DType
DType.create
(DType.DTypeEnum dt) Factory method for non-decimal DType instances.static DType
DType.create
(DType.DTypeEnum dt, int scale) Factory method specialized for decimal DType instances.static DType
DecimalUtils.createDecimalType
(int precision, int scale) Creates a cuDF decimal type with precision and scalestatic DType
DType.fromJavaBigDecimal
(BigDecimal dec) Create decimal-like DType using precision and scale of Java BigDecimal.static DType
DType.fromNative
(int nativeId, int scale) Factory method for DType instancesDType[]
Schema.getChildTypes()
Get types of the top level child columns in schema.DType[]
Schema.getFlattenedTypes()
Get the types of the columns in schema flattened from all levels by depth-first traversal.BinaryOperable.getType()
Get the type of this data.final DType
ColumnView.getType()
HostColumnVector.BasicType.getType()
abstract DType
HostColumnVector.DataType.getType()
HostColumnVector.ListType.getType()
HostColumnVector.StructType.getType()
HostColumnVectorCore.getType()
Returns the type of this vector.JCudfSerialization.SerializedColumnHeader.getType()
Get the data type of the columnScalar.getType()
Schema.getType()
static DType
BinaryOperable.implicitConversion
(BinaryOp op, BinaryOperable lhs, BinaryOperable rhs) Finds the proper DType for an implicit output.Methods in ai.rapids.cudf with parameters of type DTypeModifier and TypeMethodDescriptiondefault ColumnVector
BinaryOperable.add
(BinaryOperable rhs, DType outType) Add one vector to another with the given output type.Add a new columnDeprecated.the only output type supported is BOOL8.default ColumnVector
BinaryOperable.and
(BinaryOperable rhs, DType outType) Logical and (&&) with the given output type.Returns a scalar is true or 1, depending on the specified type, if any of the elements in the column are true or non-zero otherwise false or 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).final ColumnVector
ColumnView.asTimestamp
(DType timestampType, String format) Parse a string to a timestamp.BinaryOperable.binaryOp
(BinaryOp op, BinaryOperable rhs, DType outType) Multiple different binary operations.final ColumnVector
ColumnView.binaryOp
(BinaryOp op, BinaryOperable rhs, DType outType) Multiple different binary operations.Scalar.binaryOp
(BinaryOp op, BinaryOperable rhs, DType outType) default ColumnVector
BinaryOperable.bitAnd
(BinaryOperable rhs, DType outType) Bit wise and (&) with the given output type.Zero-copy cast between types with the same underlying length.default ColumnVector
BinaryOperable.bitOr
(BinaryOperable rhs, DType outType) Bit wise or (|) with the given output type.default ColumnVector
BinaryOperable.bitXor
(BinaryOperable rhs, DType outType) Bit wise xor (^) with the given output type.static ColumnVector
ColumnVector.build
(DType type, int rows, Consumer<HostColumnVector.Builder> init) Create a new vector.static HostColumnVector
HostColumnVector.build
(DType type, int rows, Consumer<HostColumnVector.Builder> init) Create a new vector.static HostColumnVector.Builder
Create a new Builder to hold the specified number of rows.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.Adds a single column to the current schema.static Table
Aggregation128Utils.combineInt64SumChunks
(Table chunks, DType type) Reassemble a column of 128-bit values from a table of four 64-bit integer columns and check for overflow.static ColumnVector
ColumnVector.decimalFromDoubles
(DType type, RoundingMode mode, double... values) Create a new decimal vector from double floats with specific DecimalType and RoundingMode.static HostColumnVector
HostColumnVector.decimalFromDoubles
(DType type, RoundingMode mode, double... values) Create a new decimal vector from double floats with specific DecimalType and RoundingMode.default ColumnVector
BinaryOperable.div
(BinaryOperable rhs, DType outType) Divide one vector by another with the given output type.static Scalar
Scalar.durationFromLong
(DType type, long value) Returns a duration scalar based on the type parameter.static Scalar
Scalar.durationFromLong
(DType type, Long value) Returns a duration scalar based on the type parameter.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, DType outType) like equalTo but NULL == NULL is TRUE and NULL == not NULL is FALSEstatic ColumnVector
Aggregation128Utils.extractInt32Chunk
(ColumnView col, DType outType, int chunkIdx) Extract a 32-bit chunk from a 128-bit value.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 Scalar
Scalar.fromDecimal
(BigInteger unscaledValue, DType dt) static ColumnView
ColumnView.fromDeviceBuffer
(BaseDeviceMemoryBuffer buffer, long startOffset, DType type, int rows) Create a new column view from a raw device buffer.static Scalar
default ColumnVector
BinaryOperable.greaterOrEqualTo
(BinaryOperable rhs, DType outType) this >= rhs 1 is true 0 is false with the output cast to the given type.default ColumnVector
BinaryOperable.greaterThan
(BinaryOperable rhs, DType outType) this > rhs 1 is true 0 is false with the output cast to the given type.final 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.final ColumnVector
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.default ColumnVector
BinaryOperable.lessOrEqualTo
(BinaryOperable rhs, DType outType) this <= rhs 1 is true 0 is false with the output cast to the given type.default ColumnVector
BinaryOperable.lessThan
(BinaryOperable rhs, DType outType) this < rhs 1 is true 0 is false with the output cast to the given type.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.default ColumnVector
BinaryOperable.log
(BinaryOperable rhs, DType outType) Calculate the log with the specified baseColumnView.logicalCastTo
(DType type) Deprecated.this has changed to bit_cast in C++ so use that name insteadstatic ColumnVector
ColumnVector.makeList
(long rows, DType type, ColumnView... columns) Create a LIST column from the given columns.Deprecated.the max reduction no longer internally allows for setting the output type, as a work around this API will cast the input type to the output type for you, but this may not work in all cases.default ColumnVector
BinaryOperable.maxNullAware
(BinaryOperable rhs, DType outType) Returns the max non null value.Returns the arithmetic mean of all values in the column, returning a scalar of the specified type.Deprecated.the min reduction no longer internally allows for setting the output type, as a work around this API will cast the input type to the output type for you, but this may not work in all cases.default ColumnVector
BinaryOperable.minNullAware
(BinaryOperable rhs, DType outType) Returns the min non null value.default ColumnVector
BinaryOperable.mod
(BinaryOperable rhs, DType outType) Compute the modulus with the given output type.default ColumnVector
BinaryOperable.mul
(BinaryOperable rhs, DType outType) Multiply two vectors together with the given output type.default ColumnVector
BinaryOperable.notEqualTo
(BinaryOperable rhs, DType outType) this != rhs 1 is true 0 is false with the output cast to the given type.default ColumnVector
BinaryOperable.notEqualToNullAware
(BinaryOperable rhs, DType outType) like notEqualTo but NULL != NULL is TRUE and NULL != not NULL is FALSEdefault ColumnVector
BinaryOperable.or
(BinaryOperable rhs, DType outType) Logical or (||) with the given output type.default ColumnVector
BinaryOperable.pmod
(BinaryOperable rhs, DType outputType) Returns the positive value of lhs mod rhs.default ColumnVector
BinaryOperable.pow
(BinaryOperable rhs, DType outType) Compute the power with the given output type.Returns the product of all values in the column, returning a scalar of the specified type.ColumnView.reduce
(ReductionAggregation aggregation, DType outType) Computes the reduction of the values in all rows of a column.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.default ColumnVector
BinaryOperable.shiftLeft
(BinaryOperable shiftBy, DType outType) Bitwise left shifts the values of this vector by shiftBy.default ColumnVector
BinaryOperable.shiftRight
(BinaryOperable shiftBy, DType outType) Bitwise right shift 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.ColumnView.standardDeviation
(DType outType) Returns the sample standard deviation of all values in the column, returning a scalar of the specified type.default ColumnVector
BinaryOperable.sub
(BinaryOperable rhs, DType outType) Subtract one vector from another with the given output type.Computes the sum of all values in the column, returning a scalar of the specified type.ColumnView.sumOfSquares
(DType outType) Returns the sum of squares of all values in the column, returning a scalar of the specified type.static Scalar
Scalar.timestampFromLong
(DType type, long value) static Scalar
Scalar.timestampFromLong
(DType type, Long value) default ColumnVector
BinaryOperable.trueDiv
(BinaryOperable rhs, DType outType) Divide one vector by another converting to FLOAT64 in between with the given output type.Returns the variance of all values in the column, returning a scalar of the specified type.ORCOptions.Builder.withTimeUnit
(DType unit) Specify the time unit to use when returning timestamps.ParquetOptions.Builder.withTimeUnit
(DType unit) Specify the time unit to use when returning timestamps.Constructors in ai.rapids.cudf with parameters of type DTypeModifierConstructorDescriptionColumnVector
(DType type, long rows, Optional<Long> nullCount, DeviceMemoryBuffer dataBuffer, DeviceMemoryBuffer validityBuffer, DeviceMemoryBuffer offsetBuffer) Create a new column vector based off of data already on the device.ColumnVector
(DType type, long rows, Optional<Long> nullCount, DeviceMemoryBuffer dataBuffer, DeviceMemoryBuffer validityBuffer, DeviceMemoryBuffer offsetBuffer, List<DeviceMemoryBuffer> toClose, long[] childHandles) Create a new column vector based off of data already on the device with child columns.ColumnView
(DType type, long rows, Optional<Long> nullCount, BaseDeviceMemoryBuffer dataBuffer, BaseDeviceMemoryBuffer validityBuffer) Create a new column view based off of data already on the device.ColumnView
(DType type, long rows, Optional<Long> nullCount, BaseDeviceMemoryBuffer dataBuffer, BaseDeviceMemoryBuffer validityBuffer, BaseDeviceMemoryBuffer offsetBuffer) Create a new column view based off of data already on the device.ColumnView
(DType type, long rows, Optional<Long> nullCount, BaseDeviceMemoryBuffer validityBuffer, BaseDeviceMemoryBuffer offsetBuffer, ColumnView[] children) Create a new column view based off of data already on the device.HostColumnVector
(DType type, long rows, Optional<Long> nullCount, HostMemoryBuffer hostDataBuffer, HostMemoryBuffer hostValidityBuffer, HostMemoryBuffer offsetBuffer, List<HostColumnVectorCore> nestedHcv) Create a new column vector with data populated on the host.HostColumnVectorCore
(DType type, long rows, Optional<Long> nullCount, HostMemoryBuffer data, HostMemoryBuffer validity, HostMemoryBuffer offsets, List<HostColumnVectorCore> nestedChildren) Constructor to create a scalar from a native handle and a type. -
Uses of DType in ai.rapids.cudf.ast
Methods in ai.rapids.cudf.ast with parameters of type DTypeModifier and TypeMethodDescriptionstatic Literal
Literal.ofDurationFromLong
(DType type, long value) Construct a long-based duration literal with the specified value.static Literal
Literal.ofDurationFromLong
(DType type, Long value) Construct a long-based duration literal with the specified value or null.static Literal
Construct a null literal of the specified type.static Literal
Literal.ofTimestampFromLong
(DType type, long value) Construct a long-based timestamp literal with the specified value.static Literal
Literal.ofTimestampFromLong
(DType type, Long value) Construct a long-based timestamp literal with the specified value or null.