<commit_before># ETL - Extractors

**Extractor** components are the first part of the ETL process responsible of extracting data.

## Available Extractors

|  |  |  |  |
|-----|-----|-----|-----|
|[row](Extractor.md#row)|[jdbc](Extractor.md#jdbc)|[json](Extractor.md#json) | [csv](Extractor.md#csv)|

### row
Extracts content row by row.

- Component name: **row**
- Output class: [**String**]

#### Syntax
| Parameter | Description | Type | Mandatory | Default value |
|-----------|-------------|------|-----------|-----------|
|multiLine|Supports multi line. This is useful with CSV supporting linefeed inside strings. Since 2.0.9|boolean|false|true|
|lineFeed|Linefeed to use in case of multiline (see above). Since 2.0.9|string|false|`\r\n`|

#### Example with default configuration

```json
{ "row": {} }
```

-----

### csv (since 2.1.4)
Extract content from csv files. [Apache Commons-csv](https://commons.apache.org/proper/commons-csv/) is used to parse csv files. 
This component is avaliable since version **2.1.4**

- Component name. **csv**
- Output class: [**ODocument**]

#### Syntax<commit_msg>Update Extractor.md<commit_after># ETL - Extractors

**Extractor** components are the first part of the ETL process responsible of extracting data.

## Available Extractors

|  |  |  |  |
|-----|-----|-----|-----|
|[row](Extractor.md#row)|[jdbc](Extractor.md#jdbc)|[json](Extractor.md#json) | [csv](Extractor.md#csv)|

### row
Extracts content row by row.

- Component name: **row**
- Output class: [**String**]

#### Syntax
| Parameter | Description | Type | Mandatory | Default value |
|-----------|-------------|------|-----------|-----------|
|multiLine|Supports multi line. This is useful with CSV supporting linefeed inside strings. Since 2.0.9|boolean|false|true|
|lineFeed|Linefeed to use in case of multiline (see above). Since 2.0.9|string|false|`\r\n`|

#### Example with default configuration

```json
{ "row": {} }
```

-----

### csv
(Since v2.1.4)

Extract content from csv files. [Apache Commons-csv](https://commons.apache.org/proper/commons-csv/) is used to parse csv files. 
This component is avaliable since version **2.1.4**

- Component name. **csv**
- Output class: [**ODocument**]

#### Syntax
{'fraction_non_alphanumeric': 0.22596585804132974, 'fraction_numerical': 0.01078167115902965, 'mean_word_length': 3.25, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7107599', 'n_tokens_mistral': 738, 'n_tokens_neox': 695, 'n_words': 202}