From c17b00a5565a5954508b30c32d02ffcbd32e8fd5 Mon Sep 17 00:00:00 2001 From: liurenjie1024 Date: Thu, 7 Nov 2024 17:25:59 +0800 Subject: [PATCH] Make constructor of DeviceMemoryBufferView and ContiguousTable public --- java/src/main/java/ai/rapids/cudf/ContiguousTable.java | 2 +- java/src/main/java/ai/rapids/cudf/DeviceMemoryBufferView.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/java/src/main/java/ai/rapids/cudf/ContiguousTable.java b/java/src/main/java/ai/rapids/cudf/ContiguousTable.java index 8193e4f943b..b6ff04eddbb 100644 --- a/java/src/main/java/ai/rapids/cudf/ContiguousTable.java +++ b/java/src/main/java/ai/rapids/cudf/ContiguousTable.java @@ -42,7 +42,7 @@ static ContiguousTable fromPackedTable(long metadataHandle, } /** Construct a contiguous table instance given a table and the device buffer backing it. */ - ContiguousTable(Table table, DeviceMemoryBuffer buffer) { + public ContiguousTable(Table table, DeviceMemoryBuffer buffer) { this.meta = new PackedColumnMetadata(createPackedMetadata(table.getNativeView(), buffer.getAddress(), buffer.getLength())); this.table = table; diff --git a/java/src/main/java/ai/rapids/cudf/DeviceMemoryBufferView.java b/java/src/main/java/ai/rapids/cudf/DeviceMemoryBufferView.java index e48b1cf59e4..13e8a70c20b 100644 --- a/java/src/main/java/ai/rapids/cudf/DeviceMemoryBufferView.java +++ b/java/src/main/java/ai/rapids/cudf/DeviceMemoryBufferView.java @@ -24,7 +24,7 @@ * that is backing it. */ public class DeviceMemoryBufferView extends BaseDeviceMemoryBuffer { - DeviceMemoryBufferView(long address, long lengthInBytes) { + public DeviceMemoryBufferView(long address, long lengthInBytes) { // Set the cleaner to null so we don't end up releasing anything super(address, lengthInBytes, (MemoryBufferCleaner) null); }