[
https://issues.jboss.org/browse/TEIID-2914?page=com.atlassian.jira.plugin...
]
Van Halbert edited comment on TEIID-2914 at 4/3/14 8:29 AM:
------------------------------------------------------------
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 expose this info, as the connection has access to this object.
was (Author: van.halbert):
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