Skip to content

Commit

Permalink
Make the JNI API to get list offsets as a view public. (#10807)
Browse files Browse the repository at this point in the history
This is an API I would like to use to help a customer with a UDF so I would like to make it public.

Authors:
  - Robert (Bobby) Evans (https://github.com/revans2)

Approvers:
  - Jason Lowe (https://github.com/jlowe)

URL: #10807
  • Loading branch information
revans2 authored May 6, 2022
1 parent de0f7e0 commit a8f0976
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion java/src/main/java/ai/rapids/cudf/ColumnView.java
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,10 @@ public final ColumnView getChildColumnView(int childIndex) {

/**
* Get a ColumnView that is the offsets for this list.
* Please note that it is the responsibility of the caller to close this view, and the parent
* column must out live this view.
*/
ColumnView getListOffsetsView() {
public ColumnView getListOffsetsView() {
assert(getType().equals(DType.LIST));
return new ColumnView(getListOffsetCvPointer(viewHandle));
}
Expand Down

0 comments on commit a8f0976

Please sign in to comment.