Skip to content

Commit

Permalink
apacheGH-37246: [Java] expose VectorAppender class to offer support t…
Browse files Browse the repository at this point in the history
…o append vector values (apache#37247)

### Rationale for this change

- To close apache#37246 

### What changes are included in this PR?

- Expose VectorAppender class to offer support to append vector values

### Are these changes tested?

- By TestVectorAppender

### Are there any user-facing changes?

- No
* Closes: apache#37246

Authored-by: david dali susanibar arce <davi.sarces@gmail.com>
Signed-off-by: David Li <li.davidm96@gmail.com>
  • Loading branch information
davisusanibar authored and loicalleyne committed Nov 13, 2023
1 parent 12372b4 commit 3edaab6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
/**
* Utility to append two vectors together.
*/
class VectorAppender implements VectorVisitor<ValueVector, Void> {
public class VectorAppender implements VectorVisitor<ValueVector, Void> {

/**
* The targetVector to be appended.
Expand All @@ -56,7 +56,7 @@ class VectorAppender implements VectorVisitor<ValueVector, Void> {
* Constructs a new targetVector appender, with the given targetVector.
* @param targetVector the targetVector to be appended.
*/
VectorAppender(ValueVector targetVector) {
public VectorAppender(ValueVector targetVector) {
this.targetVector = targetVector;
typeVisitor = new TypeEqualsVisitor(targetVector, false, true);
}
Expand Down

0 comments on commit 3edaab6

Please sign in to comment.