[teiid-issues] [JBoss JIRA] (TEIID-2914) Infinispan Connector didn't have the advanced searching option exposed

Van Halbert (JIRA) issues at jboss.org
Thu Apr 3 08:31:12 EDT 2014


    [ https://issues.jboss.org/browse/TEIID-2914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12958888#comment-12958888 ] 

Van Halbert commented on TEIID-2914:
------------------------------------

Related to using protobuf's, its recommended by infinispan to use the following logic to obtain the metadata:

import org.infinispan.client.hotrod.marshall.ProtoStreamMarshaller;
import org.infinispan.client.hotrod.RemoteCacheManager;
import org.infinispan.protostream.SerializationContext;  
...
com.google.protobuf.Descriptors.Descriptor descriptor =  ProtoStreamMarshaller.getSerializationContext(remoteCacheManager).getMessageDescriptor("{protobuf.objectName}");

The descriptor has a getJavaType() method that will be used, instead of doing reflections, as is done in the object translator.

Now, if this logic is pushed into the translator, it brings a lot of dependencies.  And on the other had, if put into the connector, I was thinking the cacheContainerWrapper as the means to obtain this info, as the connection has access to this object.


                
> Infinispan Connector didn't have the advanced searching option exposed
> ----------------------------------------------------------------------
>
>                 Key: TEIID-2914
>                 URL: https://issues.jboss.org/browse/TEIID-2914
>             Project: Teiid
>          Issue Type: Bug
>          Components: Misc. Connectors
>    Affects Versions: 8.7, 8.7.1
>            Reporter: Van Halbert
>            Assignee: Steven Hawkins
>
> The advanced searching option (i.e, lucene searching) that is defined in the .rar was not being picked up in the connector.
> Also, it was incorrectly defined on the translator, because the translator cannot override how the cache is configured.

--
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


More information about the teiid-issues mailing list