Apache Ignite:SQL不使用Protobuf对象
以下是我的钥匙和值对象。 索引密钥和亲和力密钥在关键对象中注释。
附着的网格增益控制中心UI。模式名称为knowledgetime
vdtproto.knowledgetime.class
这是ProtoBuf对象。
Key.class, VdtProto.KnowledgeTime.class
插入了一些记录以缓存,并尝试使用以下SQL查询,但未返回任何记录。为什么?我尝试使用普通的Java Pojo对象,它在起作用。
SELECT * FROM "test-client_null_cacheName10"."KNOWLEDGETIME"
Below are my key and value object in ignite.
Index key and affinity key is annotated in Key object.
Attached grid gain control center UI. Schema name is KNOWLEDGETIME
VdtProto.KnowledgeTime.class
this is Protobuf object.
Key.class, VdtProto.KnowledgeTime.class
Inserted few records to cache and trying to query using below sql but not returning any records. Why? I tried with plain java pojo object, it's working.
SELECT * FROM "test-client_null_cacheName10"."KNOWLEDGETIME"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论