Github user vidma commented on the pull request:
https://github.com/apache/spark/pull/5754#issuecomment-98208090
P.S. I'd say `getAs` should (kinda) work in Java too:
```java
String s = row.getAs(1);
```
Anyway, one advantage of having dozen of methods for primitive types is to
avoid boxing. In scala, `@specialize` annotation might do, but clearly in Java
one needs something like in this PR.
so looks :ok: to me.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]