protected static final class ColumnVector.OffHeapState extends MemoryCleaner.Cleaner
Modifier and Type | Field and Description |
---|---|
static long |
UNKNOWN_NULL_COUNT |
id
Constructor and Description |
---|
OffHeapState(DeviceMemoryBuffer data,
DeviceMemoryBuffer valid,
DeviceMemoryBuffer offsets,
List<DeviceMemoryBuffer> buffers,
long viewHandle)
Create from existing cudf::column_view and buffers.
|
OffHeapState(long columnHandle)
Make a column form an existing cudf::column *.
|
OffHeapState(long viewHandle,
DeviceMemoryBuffer contiguousBuffer)
Create from existing cudf::column_view and contiguous buffer.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
cleanImpl(boolean logErrorIfNotClean)
Clean up any resources not previously released.
|
BaseDeviceMemoryBuffer |
getData() |
long |
getNativeNullCount() |
BaseDeviceMemoryBuffer |
getOffsets() |
BaseDeviceMemoryBuffer |
getValid() |
long |
getViewHandle() |
boolean |
isClean()
Check if the underlying memory has been cleaned up or not.
|
void |
noWarnLeakExpected() |
String |
toString() |
addRef, clean, delRef, isLeakExpected, logRefCountDebug
public static final long UNKNOWN_NULL_COUNT
public OffHeapState(long columnHandle)
public OffHeapState(DeviceMemoryBuffer data, DeviceMemoryBuffer valid, DeviceMemoryBuffer offsets, List<DeviceMemoryBuffer> buffers, long viewHandle)
public OffHeapState(long viewHandle, DeviceMemoryBuffer contiguousBuffer)
public long getViewHandle()
public long getNativeNullCount()
public BaseDeviceMemoryBuffer getData()
public BaseDeviceMemoryBuffer getValid()
public BaseDeviceMemoryBuffer getOffsets()
public void noWarnLeakExpected()
noWarnLeakExpected
in class MemoryCleaner.Cleaner
protected boolean cleanImpl(boolean logErrorIfNotClean)
MemoryCleaner.Cleaner
cleanImpl
in class MemoryCleaner.Cleaner
logErrorIfNotClean
- if true and there are resources to clean up a leak has happened
so log it.public boolean isClean()
MemoryCleaner.Cleaner
isClean
in class MemoryCleaner.Cleaner
Copyright © 2024. All rights reserved.