[jira] [Commented] (KUDU-1561) KuduScanBatch::const_iterator does not implement operator->()

2016-09-20 Thread Todd Lipcon (JIRA)

[ 
https://issues.apache.org/jira/browse/KUDU-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15507916#comment-15507916
 ] 

Todd Lipcon commented on KUDU-1561:
---

Yes, I think that's right. And the magic of the operator->() overload makes it 
actually dereference the RowPtr object itself, too.

> KuduScanBatch::const_iterator does not implement operator->()
> -
>
> Key: KUDU-1561
> URL: https://issues.apache.org/jira/browse/KUDU-1561
> Project: Kudu
>  Issue Type: Bug
>  Components: client
>Reporter: Mike Percy
>  Labels: newbie
>
> KuduScanBatch::const_iterator does not implement operator->()
> This makes it a little annoying to work with since you must dereference via * 
> like {{(*iter).GetInt32(0, &val)}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (KUDU-1561) KuduScanBatch::const_iterator does not implement operator->()

2016-09-18 Thread Brock Noland (JIRA)

[ 
https://issues.apache.org/jira/browse/KUDU-1561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15501930#comment-15501930
 ] 

Brock Noland commented on KUDU-1561:


This would mean that {{KuduScanBatch::const_iterator::operator->()}} would 
return {{KuduScanBatch::RowPt}}? Is that what we want? Feels odd to my newb 
eyes.

> KuduScanBatch::const_iterator does not implement operator->()
> -
>
> Key: KUDU-1561
> URL: https://issues.apache.org/jira/browse/KUDU-1561
> Project: Kudu
>  Issue Type: Bug
>  Components: client
>Reporter: Mike Percy
>  Labels: newbie
>
> KuduScanBatch::const_iterator does not implement operator->()
> This makes it a little annoying to work with since you must dereference via * 
> like {{(*iter).GetInt32(0, &val)}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)