You are here: 数据库 SQL执行器

SQL执行器

对数据库执行SQL查询。

对进入转换器的每个特性向数据库发出一个查询。查询结果然后通过结果港口。

输入端口

Output Ports

Parameters

使用说明

在SQL查询完成之前,不会输出进入此转换器的功能。此行为确保附加的SQLExecutor转换器(如果存在)在上一个查询完成之前不会执行其查询。

关系特征合并

The FeatureMerger joins two datasets and uses a simple, single attribute key to match features. The FeatureMerger is also able to perform certain geometric operations on incoming features using itsMerge Type参数。

关系内联查询器

InlineQuerier可以被认为是SQLCreator/SQLExecutor转换器的狡猾表亲,因为它允许将SQL的能力应用于源于不支持SQL的数据源或不支持SQL的数据源的数据集。

If all the data to be queried already exists in a SQL-capable data source, it is always more efficient to use the SQLCreator or SQLExecutor, because this allows the queries and filtering of the data to be executed directly by the database before it enters the FME environment.

关系细木工

当流经FME的数据与数据库中保存的数据之间存在一对一或一对多的关系时,Joiner是非常有用和有效的。如果可以使用,那么Joiner可以比使用InlineQuerier或SQLCreator/SQLExecutor更有效,前提是Joiner键字段在源数据库中有索引。Joiner使用简单,不需要任何SQL知识。

Example

编辑变压器参数

使用一组菜单选项,可以通过引用工作空间中的其他元素来指定转换器参数。更高级的功能,如高级编辑器和算术编辑器,也可以在一些变压器。要访问这些选项的菜单,请单击在适用参数旁边。有关详细信息,请参阅变压器参数菜单选项.

变压器类别

数据库

搜索FME知识中心

在上搜索有关此变压器的示例和信息FME Knowledge Center.