[teiid-issues] [JBoss JIRA] (TEIID-5916) Add indexes in generated protobuf

Ramesh Reddy (Jira) issues at jboss.org
Thu Apr 30 20:43:33 EDT 2020


    [ https://issues.redhat.com/browse/TEIID-5916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14069291#comment-14069291 ] 

Ramesh Reddy commented on TEIID-5916:
-------------------------------------

Are you suggesting we do like this example https://github.com/infinispan-demos/infinispan-pokemon/blob/master/pokemon.proto ?

> Add indexes in generated protobuf
> ---------------------------------
>
>                 Key: TEIID-5916
>                 URL: https://issues.redhat.com/browse/TEIID-5916
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: Infinispan
>            Reporter: Steven Hawkins
>            Assignee: Ramesh Reddy
>            Priority: Major
>             Fix For: 14.0
>
>
> The protobuf logic will mark an entire table as indexed, but that may not line up to what we need.
> The usage of the Indexed annotation on the message indicates that custom IndexedField annotations will be used to selective enable indexes.
> This is true whether the cache is marked as indexed (which would be specified in the cache template) or not. 
> If we auto-create an indexed cache, then all fields are automatically indexed and there's no need for the indexed annotation.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the teiid-issues mailing list