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

Ted Yu commented on HBASE-6785:
-------------------------------

Thanks Devaraj for being considerate.
w.r.t. the placeholder 'bytes' for the ColumnInterpreter serialization, let's 
consider the following interpreter from HBASE-6669:
{code}
+public class BigDecimalColumnInterpreter implements
+    ColumnInterpreter<BigDecimal, BigDecimal> {
+
+  private BigDecimal minValue;
+  private BigDecimal maxValue;
{code}
Looks like the user may need to serialize more than one field.
How about changing the field to this:
{code}
    optional repeated bytes interpreterSpecificBytes = 2;
{code}
                
> Convert AggregateProtocol to protobuf defined coprocessor service
> -----------------------------------------------------------------
>
>                 Key: HBASE-6785
>                 URL: https://issues.apache.org/jira/browse/HBASE-6785
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Coprocessors
>            Reporter: Gary Helmling
>            Assignee: Devaraj Das
>             Fix For: 0.96.0
>
>         Attachments: Aggregate.proto
>
>
> With coprocessor endpoints now exposed as protobuf defined services, we 
> should convert over all of our built-in endpoints to PB services.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to