|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/dataweave-overview/
课程评论:没有评论
课程名称:Mulesoft DataWeave语言概述与深入知识 概述:DataWeave语言是一种简单而强大的工具,用于在Mule中查询和转换数据。用户可以通过图形化方式将字段映射,从一个属性拖动到另一个属性,或者利用其强大的面向对象语言,使编写转换变得迅速而又易于维护。DataWeave支持多种转换,包括简单的一对一、一对多或多对一映射,能够完成更复杂的映射,如规范化、分组、连接、分区、透视和过滤等。通过DataWeave和Mule表达语言(MEL),可以显著提升应用程序的数据转换能力。 在其他组件中也可以调用DataWeave语言的强大功能。DataWeave与Mule和Anypoint Studio紧密集成,用户可以使用Transform Message组件,通过DataWeave查询和转换数据。通过图形界面执行的任何映射将在实时中用DataWeave代码表示。DataWeave是一种为数据转换设计的函数式编程语言,是MuleSoft进行数据转换的主要语言,同时也是用于配置组件和连接器的表达语言。此外,DataWeave在其他环境中也可用,如命令行工具。 本课程将主要作为独立语言呈现DataWeave,Mule相关信息将特别标注。DataWeave使用户能够轻松执行集成开发者的常见用例:从一种格式读取和解析数据,进行转换,并将其写出为另一种格式。例如,DataWeave脚本可以接收一个简单的CSV文件并将其转换为复杂JSON对象的数组。它也可以接收XML并将数据写出为扁平文件格式。DataWeave允许开发人员专注于转换逻辑,而不必担心性能高效地读取、解析和写入特定数据格式的细节。
The DataWeave Language is a simple, powerful tool used to query and transform data inside of Mule. It can be implemented to:graphically map fields by dragging one attribute to another, just like you were able to with the now deprecated DataMapper, orleverage its powerful object-oriented language that's specially designed to make writing transformations quick, without compromising maintainability.DataWeave supports a variety of transformations: simple one-to-one, one-to-many or many-to-one mappings from an assortment of data structures, and can complete more elaborate mappings including normalization, grouping, joins, partitioning, pivoting and filtering. With DataWeave and Mule Expression Language (MEL), you can take your application's data transformation ability to the next level.You can also call upon the power of DataWeave language within other components by using Mule Expression Language DataWeave Functions.The language is tightly integrated with Mule and Anypoint Studio. Use the Transform Message component, which allows you to use the language to query and transform data through DataWeave. Any mappings you perform through the graphical interface will be expressed in DataWeave code in real-time.DataWeave is a functional programming language designed for transforming data. It is MuleSoft's primary language for data transformation, as well as the expression language used to configure components and connectors. However, DataWeave is also available in other contexts, like as a command-line tool. These tutorials will largely treat DataWeave as a standalone language, with Mule-specific info designated with (M).DataWeave allows users to easily perform a common use case for integration developers: read and parse data from one format, transform it, and write it out as a different format. For example, a DataWeave script could take in a simple CSV file and transform it into an array of complex JSON objects. It could take in XML and write the data out to a flat file format. DataWeave allows the developer to focus on the transformation logic instead of worrying about the specifics of reading, parsing, and writing specific data formats in a performant way.