Package | Description |
---|---|
ai.rapids.cudf |
Modifier and Type | Method and Description |
---|---|
static HostColumnVector |
HostColumnVector.boolFromBytes(byte... values)
Create a new vector from the given values.
|
HostColumnVector |
HostColumnVector.ColumnBuilder.build() |
HostColumnVector |
HostColumnVector.Builder.build()
Finish and create the immutable CudfColumn.
|
static HostColumnVector |
HostColumnVector.build(DType type,
int rows,
java.util.function.Consumer<HostColumnVector.Builder> init)
Create a new vector.
|
static HostColumnVector |
HostColumnVector.build(int rows,
long stringBufferSize,
java.util.function.Consumer<HostColumnVector.Builder> init) |
HostColumnVector |
ColumnView.copyToHost()
Copy the data to host memory synchronously
|
HostColumnVector |
ColumnView.copyToHost(HostMemoryAllocator hostMemoryAllocator)
Copy the data to the host synchronously.
|
HostColumnVector |
ColumnView.copyToHostAsync(Cuda.Stream stream)
Copy the data to the host asynchronously.
|
HostColumnVector |
ColumnView.copyToHostAsync(Cuda.Stream stream,
HostMemoryAllocator hostMemoryAllocator)
Copy the data to the host asynchronously.
|
static HostColumnVector |
HostColumnVector.daysFromInts(int... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.decimalFromBigIntegers(int scale,
BigInteger... values)
Create a new decimal vector from unscaled values (BigInteger array) and scale.
|
static HostColumnVector |
HostColumnVector.decimalFromBoxedInts(int scale,
Integer... values)
Create a new decimal vector from boxed unscaled values (Integer array) and scale.
|
static HostColumnVector |
HostColumnVector.decimalFromBoxedLongs(int scale,
Long... values)
Create a new decimal vector from boxed unscaled values (Long array) and scale.
|
static HostColumnVector |
HostColumnVector.decimalFromDoubles(DType type,
RoundingMode mode,
double... values)
Create a new decimal vector from double floats with specific DecimalType and RoundingMode.
|
static HostColumnVector |
HostColumnVector.decimalFromInts(int scale,
int... values)
Create a new decimal vector from unscaled values (int array) and scale.
|
static HostColumnVector |
HostColumnVector.decimalFromLongs(int scale,
long... values)
Create a new decimal vector from unscaled values (long array) and scale.
|
static HostColumnVector |
HostColumnVector.durationDaysFromBoxedInts(Integer... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.durationDaysFromInts(int... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.durationMicrosecondsFromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.durationMicrosecondsFromLongs(long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.durationMillisecondsFromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.durationMillisecondsFromLongs(long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.durationNanosecondsFromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.durationNanosecondsFromLongs(long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.durationSecondsFromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.durationSecondsFromLongs(long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.emptyStructs(HostColumnVector.DataType dataType,
long rows) |
static HostColumnVector |
HostColumnVector.fromBoxedBooleans(Boolean... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromBoxedBytes(Byte... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromBoxedDoubles(Double... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromBoxedFloats(Float... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromBoxedInts(Integer... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromBoxedShorts(Short... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromBoxedUnsignedBytes(Byte... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromBoxedUnsignedInts(Integer... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromBoxedUnsignedLongs(Long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromBoxedUnsignedShorts(Short... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromBytes(byte... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromDecimals(BigDecimal... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromDoubles(double... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromFloats(float... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromInts(int... values)
Create a new vector from the given values.
|
static <T> HostColumnVector |
HostColumnVector.fromLists(HostColumnVector.DataType dataType,
List<T>... values) |
static HostColumnVector |
HostColumnVector.fromLongs(long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromShorts(short... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromStrings(String... values)
Create a new string vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromStructs(HostColumnVector.DataType dataType,
HostColumnVector.StructData... values) |
static HostColumnVector |
HostColumnVector.fromStructs(HostColumnVector.DataType dataType,
List<HostColumnVector.StructData> values) |
static HostColumnVector |
HostColumnVector.fromUnsignedBytes(byte... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromUnsignedInts(int... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromUnsignedLongs(long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromUnsignedShorts(short... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.fromUTF8Strings(byte[]... values)
Create a new string vector from the given values.
|
HostColumnVector |
HostColumnVector.incRefCount()
Increment the reference count for this column.
|
static HostColumnVector |
HostColumnVector.timestampDaysFromBoxedInts(Integer... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.timestampMicroSecondsFromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.timestampMicroSecondsFromLongs(long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.timestampMilliSecondsFromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.timestampMilliSecondsFromLongs(long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.timestampNanoSecondsFromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.timestampNanoSecondsFromLongs(long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.timestampSecondsFromBoxedLongs(Long... values)
Create a new vector from the given values.
|
static HostColumnVector |
HostColumnVector.timestampSecondsFromLongs(long... values)
Create a new vector from the given values.
|
static HostColumnVector[] |
JCudfSerialization.unpackHostColumnVectors(JCudfSerialization.SerializedTableHeader header,
HostMemoryBuffer hostBuffer)
Deserialize a serialized contiguous table into an array of host columns.
|
Modifier and Type | Method and Description |
---|---|
HostColumnVector.Builder |
HostColumnVector.Builder.append(HostColumnVector columnVector)
Append this vector to the end of this vector
|
static long |
JCudfSerialization.getSerializedSizeInBytes(HostColumnVector[] columns,
long rowOffset,
long numRows)
Get the size in bytes needed to serialize the given data.
|
void |
HostColumnVector.EventHandler.onClosed(HostColumnVector cv,
int refCount)
`onClosed` is invoked with the updated `refCount` during `close`.
|
static void |
JCudfSerialization.writeToStream(HostColumnVector[] columns,
OutputStream out,
long rowOffset,
long numRows)
Write all or part of a set of columns out in an internal format.
|
Copyright © 2024. All rights reserved.