You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "rtadepalli (via GitHub)" <gi...@apache.org> on 2023/06/19 21:08:15 UTC

[GitHub] [arrow] rtadepalli commented on issue #31337: [Java] Add VarCharWriter#write(String)

rtadepalli commented on issue #31337:
URL: https://github.com/apache/arrow/issues/31337#issuecomment-1597767815

   I don't think this is possible because the `AbstractFieldWriter` is extended by all writer interfaces. `AbstractFieldWriter` extends `FieldWriter`, which extends `ScalarWriter`, which extends `VarCharWriter`. This makes it such that the helper new method must be implemented by all concrete writer implementations. We could make `VarCharWriterImpl` have this method, but it looks like the current code is set to program against the `VarCharWriter` interface, so I am not sure how it would end up working for one special case.
   
   Please let me know if I am missing something.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org