# cMapを使ってデータをマッピングする

このシナリオは、Talend Data Management Platform、Talend Big Data Platform、Talend Real-Time Big Data Platform、Talend Data Services Platform、Talend Data Fabricにのみ適用されます。

次のシナリオでは、コンポーネント3つのルートを作成します。このルートでは、cFileコンポーネントがローカルファイルディレクトリーにアクセスしてコンテンツをコピーし、cMapコンポーネントを使って変換を実行した後、入力ディレクトリー内のファイルを出力cFileコンポーネントに送信して、そのコンポーネントが別のディレクトリーにファイルを書き込みます。

![](https://help.qlik.com/talend/ja-JP/mediation-components/8.0/Resources/images/use_case-cmap.png)

### このセクション内

* [例ファイルの編集可能バージョンをコピー](https://help.qlik.com/talend/ja-JP/mediation-components/8.0/mediation-map/cmap-cfile-copying-editable-version-of-example-files)
* [コンポーネントを追加してリンク](https://help.qlik.com/talend/ja-JP/mediation-components/8.0/mediation-map/cmap-cfile-adding-and-linking-components)
* [cFile_1のプロパティを定義](https://help.qlik.com/talend/ja-JP/mediation-components/8.0/mediation-map/cmap-cfile-defining-properties-of-cfile-1)
* [cMapのプロパティを定義](https://help.qlik.com/talend/ja-JP/mediation-components/8.0/mediation-map/cmap-cfile-defining-properties-of-cmap)
* [cFile_2のプロパティを定義](https://help.qlik.com/talend/ja-JP/mediation-components/8.0/mediation-map/cmap-cfile-defining-properties-of-cfile-2)
* [ルートを保存して実行](https://help.qlik.com/talend/ja-JP/mediation-components/8.0/mediation-map/cmap-cfile-saving-and-executing-route)

**関連資料**

* [cMap](https://help.qlik.com/talend/ja-JP/mediation-components/8.0/mediation-map/cmap "Mapping パースペクティブにある Talend Data Mapper の機能を利用して、異なる入力と出力の間で変換(マップと呼ばれる)を行います。")

**関連情報**

* [cFile](https://help.qlik.com/talend/r/ja-JP/8.0/mediation-components/mediation-file/cfile)