Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-15187: [Java] Made reader initialization lazy and added new getTransferPair() function that takes in a Field type #34424

Merged
merged 13 commits into from
Jun 18, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix javadoc to add @param annotation for BufferAllocator
rtadepalli committed Mar 3, 2023
commit ca118870cf4edb94344ec00f5908469565c32818
Original file line number Diff line number Diff line change
@@ -582,7 +582,8 @@ public TransferPair getTransferPair(BufferAllocator allocator) {

/**
* Construct a transfer pair of this vector and another vector of same type.
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return TransferPair
*/
public abstract TransferPair getTransferPair(Field field, BufferAllocator allocator);
Original file line number Diff line number Diff line change
@@ -308,7 +308,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -564,7 +564,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -312,7 +312,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -314,7 +314,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -553,7 +553,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -552,7 +552,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -370,7 +370,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -351,7 +351,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -326,7 +326,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -327,7 +327,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -312,7 +312,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -397,7 +397,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -406,7 +406,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -346,7 +346,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -339,7 +339,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -312,7 +312,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -315,7 +315,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -312,7 +312,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -313,7 +313,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -249,7 +249,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -236,7 +236,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -248,7 +248,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -236,7 +236,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -251,7 +251,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -236,7 +236,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -248,7 +248,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -237,7 +237,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -340,7 +340,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -324,7 +324,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -301,7 +301,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -296,7 +296,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override
Original file line number Diff line number Diff line change
@@ -291,7 +291,8 @@ public TransferPair getTransferPair(String ref, BufferAllocator allocator) {
* Construct a TransferPair comprising of this and a target vector of
* the same type.
*
* @param field Field object used by the vector
* @param field Field object used by the target vector
* @param allocator allocator for the target vector
* @return {@link TransferPair}
*/
@Override