# Injector

## ![](/files/rbpUpm4lAgpqNtvCnnxm) Injector

### Description <a href="#description" id="description"></a>

The Injector transform is used for special purpose pipelines where you want to 'inject' rows into the pipeline using the Hop API and Java, or from streaming input transforms like the [Kafka Consumer](/data-shaper-1.21/knowing-the-data-shaper-designer/pipelines/transforms/kafkaconsumer.md) transform.

Among other things you can build 'headless' pipelines with it: pipelines that have no input at design time: do not read from file or database.

| Hop Engine | <sup>✓</sup> |
| ---------- | ------------ |
| Spark      | ?            |
| Flink      | ?            |
| Dataflow   | ?            |

### Options

| Option         | Description                                                                                                                                        |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| Transform name | Name of the transform.                                                                                                                             |
| Fieldname      | Specify the field name of the rows to inject.                                                                                                      |
| Type           | Specify the type of data.                                                                                                                          |
| Length         | For Number: Total number of significant figures in a number; For String: total length of string; For Date: length of printed output of the string. |
| Precision      | For Number: Number of floating point digits; For String, Date, Boolean: unused.                                                                    |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/pipelines/transforms/injector.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
