向Pentaho Kettle添加新数据类型 [英] Add a new data type to Pentaho Kettle

查看:281
本文介绍了向Pentaho Kettle添加新数据类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试向Kettle添加新的数据类型(Geometry)。我在org.pentaho.di.compatibility中添加了一个新的Value类型。我添加了一个ValueGeometry类,并对ValueInterface和Value进行了必要的修改。代码编译但新数据类型不会出现在像Select这样的插件中。我在这里想念的是什么?如果你能指出这些插件的源代码,我也很感激。

I am trying to add a new data type (Geometry) to Kettle. I have added a new Value type to org.pentaho.di.compatibility. I have added a ValueGeometry class and made the necessary modifications to ValueInterface and Value. The code compiles but the new data type does not show up in plugins like Select. What am I missing here? Also I'd appreciate if you could point me towards the source code for these plugins.

谢谢。

推荐答案

从Kettle 5.0开始,可以创建一个插件来提供新的Value类型:
http://jira.pentaho.com/browse/PDI-191

As of Kettle 5.0, it is possible to create a plugin to provide new Value types: http://jira.pentaho.com/browse/PDI-191

我有一个插件可以添加一个键/值类型(如java.util.Map):
https:// github。 com / mattyb149 / pdi-valuemeta-map

I have a plugin to add a key/value type (like java.util.Map): https://github.com/mattyb149/pdi-valuemeta-map

和另一个代表图表(使用属性图模型):
https://github.com/mattyb149/pdi-graph-computing/tree / master / pdi-valuemeta-graphSON

and another to represent a Graph (using a property graph model): https://github.com/mattyb149/pdi-graph-computing/tree/master/pdi-valuemeta-graphSON

如果你想试用它们,这两个都在PDI市场中:)

Both of these are in the PDI Marketplace if you'd like to try them out :)

这篇关于向Pentaho Kettle添加新数据类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆