[ 
https://issues.apache.org/jira/browse/ARROW-7533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17014044#comment-17014044
 ] 

Liya Fan edited comment on ARROW-7533 at 1/13/20 6:25 AM:
----------------------------------------------------------

[~jnadeau] Thanks for opening this issue.
I am afraid we cannot move it to the algorithm package, as it is referenced in 
the vector package. In particular, we have the following method in vector API:

{{ArrowBufPointer getDataPointer(int index);}}

If we move it to the algorithm package, there will be the problem of cyclic 
dependency. 
Can we move it to the vector package instead?


was (Author: fan_li_ya):
[~jnadeau] I am afraid we cannot move it to the algorithm package, as it is 
referenced in the vector package. In particular, we have the following method 
in vector API:

{{ArrowBufPointer getDataPointer(int index);}}

Can we move it to the vector package?

> [Java] Move ArrowBufPointer out of the java the memory package
> --------------------------------------------------------------
>
>                 Key: ARROW-7533
>                 URL: https://issues.apache.org/jira/browse/ARROW-7533
>             Project: Apache Arrow
>          Issue Type: Task
>          Components: Java
>            Reporter: Jacques Nadeau
>            Assignee: Liya Fan
>            Priority: Major
>
> The memory package is focused on memory access and management. 
> ArrowBufPointer should be moved to algorithm package as it isn't core to the 
> Arrow memory management primitives. I would further suggest that is an 
> anti-pattern.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to