[
https://issues.apache.org/jira/browse/HBASE-3811?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031206#comment-13031206
]
Alex Baranau commented on HBASE-3811:
-------------------------------------
Hm. I thought about scan attributes as usual attributes/settings map, which is
comparable to e.g. org.apache.hadoop.conf.Configuration or similar.
Does anyone see we are going to use byte[] values? Are we going to put in
values e.g. serialized objects, or smth related?
> Allow adding attributes to Scan
> -------------------------------
>
> Key: HBASE-3811
> URL: https://issues.apache.org/jira/browse/HBASE-3811
> Project: HBase
> Issue Type: Improvement
> Components: client
> Reporter: Alex Baranau
> Priority: Minor
> Attachments: HBASE-3811.patch
>
>
> There's sometimes a need to add custom attribute to Scan object so that it
> can be accessed on server side.
> Example of the case where it is needed discussed here:
> http://search-hadoop.com/m/v3Jtb2GkiO. There might be other cases where it is
> useful, which are mostly about logging/gathering stats on server side.
> Alternative to allowing adding any custom attributes to scan could be adding
> some fixed field, like "type" to the class.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira