# ColumnTypeConverters

Artifact: [androidx.room3:room3-common](https://developer.android.com/jetpack/androidx/releases/room3) [View Source](https://cs.android.com/search?q=file:androidx/room3/ColumnTypeConverters.kt+class:androidx.room3.ColumnTypeConverters) Added in [3.0.0](https://developer.android.com/jetpack/androidx/releases/room3#3.0.0)

*** ** * ** ***


```
@Target(allowedTargets = [AnnotationTarget.FUNCTION, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY, AnnotationTarget.FIELD, AnnotationTarget.CLASS])
@Retention(value = AnnotationRetention.BINARY)
public annotation ColumnTypeConverters
```

<br />

*** ** * ** ***

Registers additional `https://developer.android.com/reference/androidx/room3/ColumnTypeConverter` functions for Room.

Adds converter functions to the scope of the annotated element:

- `https://developer.android.com/reference/androidx/room3/Database`: available to all DAOs and entities in the database.

- `https://developer.android.com/reference/androidx/room3/Dao`: available to all functions in the DAO.

- `https://developer.android.com/reference/androidx/room3/Entity`: available to all properties of the entity.

- Data class: available to all properties of the data class.

- `https://developer.android.com/reference/androidx/room3/Entity` property: available only to that property.

- `https://developer.android.com/reference/androidx/room3/Dao` function: available to all parameters of the function.

- `https://developer.android.com/reference/androidx/room3/Dao` function parameter: available only to that parameter.

Note: `@ColumnTypeConverters` only converts column and parameter values. To convert a DAO function return value (e.g., query result transformation), use `https://developer.android.com/reference/androidx/room3/DaoReturnTypeConverters`.

| See also |
|---|---|
| `https://developer.android.com/reference/androidx/room3/ColumnTypeConverter` |   |
| `https://developer.android.com/reference/androidx/room3/ProvidedColumnTypeConverter` |   |

## Summary

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/room3/BuiltInColumnTypeConverters` | `https://developer.android.com/reference/androidx/room3/ColumnTypeConverters#getBuiltInColumnTypeConverters()()` Configuration for built-in type converters. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull KClass[]` | `https://developer.android.com/reference/androidx/room3/ColumnTypeConverters#getValue()()` Classes containing type converter functions. |

## Public methods

### getBuiltInColumnTypeConverters

```
public final @NonNull BuiltInColumnTypeConverters getBuiltInColumnTypeConverters()
```

Configuration for built-in type converters.

### getValue

```
public final @NonNull KClass[] getValue()
```

Classes containing type converter functions.

If a converter class is not an `object`, Room creates an instance of the class.