|
| 1 | += Type support |
| 2 | + |
| 3 | +The Sink connector supports the following built-in Kafka Connect types. |
| 4 | + |
| 5 | +[cols="1,2",options="header"] |
| 6 | +|=== |
| 7 | +| Kafka Connect type | Conversion rule |
| 8 | + |
| 9 | +| Boolean |
| 10 | +| Converted into link:{page-canonical-root}/cypher-manual/current/values-and-types/property-structural-constructed/#property-types[BOOLEAN] type. |
| 11 | + |
| 12 | +| Bytes |
| 13 | +| Converted into link:{page-canonical-root}/cypher-manual/current/values-and-types/property-structural-constructed/#property-types[BYTE ARRAY] type. |
| 14 | + |
| 15 | +| Float32 |
| 16 | +| Converted into link:{page-canonical-root}/cypher-manual/current/values-and-types/property-structural-constructed/#property-types[FLOAT] type. |
| 17 | + |
| 18 | +| Float64 |
| 19 | +| Converted into link:{page-canonical-root}/cypher-manual/current/values-and-types/property-structural-constructed/#property-types[FLOAT] type. |
| 20 | + |
| 21 | +| Int8 |
| 22 | +| Converted into link:{page-canonical-root}/cypher-manual/current/values-and-types/property-structural-constructed/#property-types[INTEGER] type. |
| 23 | + |
| 24 | +| Int16 |
| 25 | +| Converted into link:{page-canonical-root}/cypher-manual/current/values-and-types/property-structural-constructed/#property-types[INTEGER] type. |
| 26 | + |
| 27 | +| Int32 |
| 28 | +| Converted into link:{page-canonical-root}/cypher-manual/current/values-and-types/property-structural-constructed/#property-types[INTEGER] type. |
| 29 | + |
| 30 | +| Int64 |
| 31 | +| Converted into link:{page-canonical-root}/cypher-manual/current/values-and-types/property-structural-constructed/#property-types[INTEGER] type. |
| 32 | + |
| 33 | +| String |
| 34 | +| Converted into link:{page-canonical-root}/cypher-manual/current/values-and-types/property-structural-constructed/#property-types[STRING] type. |
| 35 | + |
| 36 | +| Decimal |
| 37 | +| Converted into link:{page-canonical-root}/cypher-manual/current/values-and-types/property-structural-constructed/#property-types[STRING] type. |
| 38 | +This is to avoid data loss, since Neo4j does not have native support for decimal values. |
| 39 | + |
| 40 | +| Date |
| 41 | +| Converted into link:{page-canonical-root}/cypher-manual/current/values-and-types/temporal/#_temporal_value_types[DATE] type. |
| 42 | + |
| 43 | +| Time |
| 44 | +| Converted into link:{page-canonical-root}/cypher-manual/current/values-and-types/temporal/#_temporal_value_types[LOCAL TIME] type. |
| 45 | + |
| 46 | +| Timestamp |
| 47 | +| Converted into link:{page-canonical-root}/cypher-manual/current/values-and-types/temporal/#_temporal_value_types[LOCAL DATETIME] type. |
| 48 | + |
| 49 | +| Array |
| 50 | +| Converted into link:{page-canonical-root}/cypher-manual/current/values-and-types/property-structural-constructed/#constructed-types[LIST] of converted elements. |
| 51 | + |
| 52 | +| Map |
| 53 | +a| Converted into link:{page-canonical-root}/cypher-manual/current/values-and-types/property-structural-constructed/#constructed-types[MAP] of keys to respective converted values. |
| 54 | + |
| 55 | +[WARNING] |
| 56 | +==== |
| 57 | +Incoming map values must have string-typed keys. |
| 58 | +==== |
| 59 | + |
| 60 | +| Struct |
| 61 | +| Converted into link:{page-canonical-root}/cypher-manual/current/values-and-types/property-structural-constructed/#constructed-types[MAP] of field name to respective converted values. |
| 62 | + |
| 63 | +|=== |
0 commit comments