Skip to content

Commit

Permalink
GH-37246: [Java] expose VectorAppender class to offer support to appe…
Browse files Browse the repository at this point in the history
…nd vector values (#37247)

### Rationale for this change

- To close #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: #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 Aug 18, 2023
1 parent 4fa6719 commit 61bff28
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 61bff28

Please sign in to comment.