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 (dremio#59)
  • Loading branch information
xxlaykxx authored and lriggs committed Nov 14, 2023
1 parent 054ef11 commit 2d9cdbf
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 2d9cdbf

Please sign in to comment.