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 DTypeDType.BOOL8final DTypeJCudfSerialization.SerializedColumnHeader.dtypestatic final DTypeDType.DURATION_DAYSstatic final DTypeDType.DURATION_MICROSECONDSstatic final DTypeDType.DURATION_MILLISECONDSstatic final DTypeDType.DURATION_NANOSECONDSstatic final DTypeDType.DURATION_SECONDSstatic final DTypeDType.EMPTYstatic final DTypeDType.FLOAT32static final DTypeDType.FLOAT64static final DTypeDType.INT16static final DTypeDType.INT32static final DTypeDType.INT64static final DTypeDType.INT8static final DTypeDType.LISTstatic final DTypeDType.STRINGstatic final DTypeDType.STRUCTstatic final DTypeDType.TIMESTAMP_DAYSstatic final DTypeDType.TIMESTAMP_MICROSECONDSstatic final DTypeDType.TIMESTAMP_MILLISECONDSstatic final DTypeDType.TIMESTAMP_NANOSECONDSstatic final DTypeDType.TIMESTAMP_SECONDSprotected final DTypeColumnView.typeprotected final DTypeHostColumnVectorCore.typestatic final DTypeDType.UINT16static final DTypeDType.UINT32static final DTypeDType.UINT64static final DTypeDType.UINT8Methods in ai.rapids.cudf that return DTypeModifier and TypeMethodDescriptionstatic DTypeDType.create(DType.DTypeEnum dt) Factory method for non-decimal DType instances.static DTypeDType.create(DType.DTypeEnum dt, int scale) Factory method specialized for decimal DType instances.static DTypeDecimalUtils.createDecimalType(int precision, int scale) Creates a cuDF decimal type with precision and scalestatic DTypeDType.fromJavaBigDecimal(BigDecimal dec) Create decimal-like DType using precision and scale of Java BigDecimal.static DTypeDType.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 DTypeColumnView.getType()HostColumnVector.BasicType.getType()abstract DTypeHostColumnVector.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 DTypeBinaryOperable.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 ColumnVectorBinaryOperable.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 ColumnVectorBinaryOperable.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 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.asTimestamp(DType timestampType, String format) Parse a string to a timestamp.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, DType outType) Bit wise and (&) with the given output type.Zero-copy cast between types with the same underlying length.default ColumnVectorBinaryOperable.bitOr(BinaryOperable rhs, DType outType) Bit wise or (|) with the given output type.default ColumnVectorBinaryOperable.bitXor(BinaryOperable rhs, DType outType) Bit wise xor (^) with the given output type.static ColumnVectorColumnVector.build(DType type, int rows, Consumer<HostColumnVector.Builder> init) Create a new vector.static HostColumnVectorHostColumnVector.build(DType type, int rows, Consumer<HostColumnVector.Builder> init) Create a new vector.static HostColumnVector.BuilderCreate 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 TableAggregation128Utils.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 ColumnVectorColumnVector.decimalFromDoubles(DType type, RoundingMode mode, double... values) Create a new decimal vector from double floats with specific DecimalType and RoundingMode.static HostColumnVectorHostColumnVector.decimalFromDoubles(DType type, RoundingMode mode, double... values) Create a new decimal vector from double floats with specific DecimalType and RoundingMode.default ColumnVectorBinaryOperable.div(BinaryOperable rhs, DType outType) Divide one vector by another with the given output type.static ScalarScalar.durationFromLong(DType type, long value) Returns a duration scalar based on the type parameter.static ScalarScalar.durationFromLong(DType type, Long value) Returns a duration scalar based on the type parameter.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, DType outType) like equalTo but NULL == NULL is TRUE and NULL == not NULL is FALSEstatic ColumnVectorAggregation128Utils.extractInt32Chunk(ColumnView col, DType outType, int chunkIdx) Extract a 32-bit chunk from a 128-bit value.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 ScalarScalar.fromDecimal(BigInteger unscaledValue, DType dt) static ColumnViewColumnView.fromDeviceBuffer(BaseDeviceMemoryBuffer buffer, long startOffset, DType type, int rows) Create a new column view from a raw device buffer.static Scalardefault 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, DType outType) this > rhs 1 is true 0 is false with the output cast to the given type.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 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.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, 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 ColumnVectorBinaryOperable.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 ColumnVectorColumnVector.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 ColumnVectorBinaryOperable.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 ColumnVectorBinaryOperable.minNullAware(BinaryOperable rhs, DType outType) Returns the min non null value.default ColumnVectorBinaryOperable.mod(BinaryOperable rhs, DType outType) Compute the modulus with the given output type.default ColumnVectorBinaryOperable.mul(BinaryOperable rhs, DType outType) Multiply two vectors together with the given output type.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, DType outType) like notEqualTo but NULL != NULL is TRUE and NULL != not NULL is FALSEdefault ColumnVectorBinaryOperable.or(BinaryOperable rhs, DType outType) Logical or (||) with the given output type.default ColumnVectorBinaryOperable.pmod(BinaryOperable rhs, DType outputType) Returns the positive value of lhs mod rhs.default ColumnVectorBinaryOperable.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 ColumnVectorBinaryOperable.shiftLeft(BinaryOperable shiftBy, DType outType) Bitwise left shifts the values of this vector by shiftBy.default ColumnVectorBinaryOperable.shiftRight(BinaryOperable shiftBy, DType outType) Bitwise right shift 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.ColumnView.standardDeviation(DType outType) Returns the sample standard deviation of all values in the column, returning a scalar of the specified type.default ColumnVectorBinaryOperable.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 ScalarScalar.timestampFromLong(DType type, long value) static ScalarScalar.timestampFromLong(DType type, Long value) default ColumnVectorBinaryOperable.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 LiteralLiteral.ofDurationFromLong(DType type, long value) Construct a long-based duration literal with the specified value.static LiteralLiteral.ofDurationFromLong(DType type, Long value) Construct a long-based duration literal with the specified value or null.static LiteralConstruct a null literal of the specified type.static LiteralLiteral.ofTimestampFromLong(DType type, long value) Construct a long-based timestamp literal with the specified value.static LiteralLiteral.ofTimestampFromLong(DType type, Long value) Construct a long-based timestamp literal with the specified value or null.