添加配置模版

This commit is contained in:
FuYouJ 2023-06-23 13:34:38 +08:00
parent d0679abf45
commit 52db2645e1

View File

@ -0,0 +1,45 @@
{
"uri": "neo4j://localhost:7687",
"username": "neo4j",
"password": "Test@12343",
"database": "neo4j",
"cypher": "unwind $batch as row create(p:Person) set p.pbool = row.pbool,p.pstring = row.pstring,p.plong = row.plong,p.pshort = row.pshort,p.pdouble=row.pdouble,p.pstringarr=row.pstringarr,p.plocaldate=row.plocaldate",
"batch_data_variable_name": "batch",
"batch_size": "33",
"fields": [
{
"fieldName": "pbool",
"fieldType": "BOOLEAN"
},
{
"fieldName": "pstring",
"fieldType": "STRING"
},
{
"fieldName": "plong",
"fieldType": "LONG"
},
{
"fieldName": "pshort",
"fieldType": "SHORT"
},
{
"fieldName": "pdouble",
"fieldType": "DOUBLE"
},
{
"fieldName": "pstringarr",
"fieldType": "STRING_ARRAY",
"split": ",",
"arrayTrimChars": [
"[",
"]"
]
},
{
"fieldName": "plocaldate",
"fieldType": "LOCAL_DATE",
"dateFormat": "yyyy-MM-dd"
}
]
}