SelectByPath@1
Der Node SelectByPath ermöglicht es, Felder auszuwählen, für jede erfolgreiche Auswahl eine Sub-Transformations-Pipeline auszuführen und das Ergebnis in einem zusammengeführten Ausgabeobjekt zu speichern.
Nach der Ausführung führt der Node die Ausgaben jedes Strangs anhand des Zielpfads im Ausgabeobjekt zusammen.
Adapter-Voraussetzungen
- Allgemeine Verfügbarkeit: Alle Adapter unterstützen diesen Node-Typ.
Node-Konfiguration
Zu den Feldern path, targetPath, targetValueWriteMode und targetValueKind siehe Überblick.
transformations:
- type: SelectByPath@1
description: Transform object node
selectPath:
- path: "$.Sinus" # Path to be selected, the path will be the root object for the sub pipeline
targetPath: Sinus5 # Path that the output of the sub pipeline will be stored in the merged output object
transformations: # Sub pipeline that will be executed for each selected path
- type: LinearScaler@1
scaleInputMin: 0
scaleInputMax: 1
scaleOutputMin: 0
scaleOutputMax: 1000
- path: "$.Constant_6"
targetPath: Constant
transformations:
- type: LinearScaler@1
scaleInputMin: 0
scaleInputMax: 10
scaleOutputMin: 0
scaleOutputMax: 1000