Skip to content

Commit

Permalink
apacheGH-38511: [JAVA] added impl of getTransferPair(Field, BufferAll…
Browse files Browse the repository at this point in the history
…ocator, CallBack) for StructVector (#59)
  • Loading branch information
xxlaykxx committed Oct 30, 2023
1 parent 786674f commit 3467bb7
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,15 @@ public TransferPair getTransferPair(Field field, BufferAllocator allocator) {
allowConflictPolicyChanges), false);
}

@Override
public TransferPair getTransferPair(Field field, BufferAllocator allocator, CallBack callBack) {
return new NullableStructTransferPair(this, new StructVector(field,
allocator,
callBack,
getConflictPolicy(),
allowConflictPolicyChanges), false);
}

/**
* {@link TransferPair} for this (nullable) {@link StructVector}.
*/
Expand Down

0 comments on commit 3467bb7

Please sign in to comment.