public class GatherMap extends Object implements AutoCloseable
| Constructor and Description |
|---|
GatherMap(DeviceMemoryBuffer buffer)
Construct a gather map instance from a device buffer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the device buffer backing the gather map data.
|
long |
getRowCount()
Return the number of rows in the gather map
|
DeviceMemoryBuffer |
releaseBuffer()
Release the underlying device buffer instance.
|
ColumnView |
toColumnView(long startRow,
int numRows)
Create a column view that can be used to perform a gather operation.
|
public GatherMap(DeviceMemoryBuffer buffer)
DType.INT32 size, as each row of the gather map is an INT32.buffer - device buffer backing the gather map datapublic long getRowCount()
public ColumnView toColumnView(long startRow, int numRows)
startRow - row offset where the resulting gather map will startnumRows - number of rows in the resulting gather mappublic DeviceMemoryBuffer releaseBuffer()
public void close()
close in interface AutoCloseableCopyright © 2023. All rights reserved.