FuYouJ commented on code in PR #4841:
URL: https://github.com/apache/seatunnel/pull/4841#discussion_r1225323312
##########
seatunnel-connectors-v2/connector-neo4j/src/main/java/org/apache/seatunnel/connectors/seatunnel/neo4j/config/Neo4jSinkConfig.java:
##########
@@ -29,4 +29,17 @@ public class Neo4jSinkConfig extends Neo4jCommonConfig {
.noDefaultValue()
.withDescription(
"position mapping information for query
parameters. key name is parameter placeholder name. associated value is
position of field in input data row.");
+
+ public static final Option<Integer> MAX_BATCH_SIZE =
+ Options.key("maxBatchSize")
+ .intType()
+ .noDefaultValue()
+ .withDescription("neo4j write max batchSize");
+
+ public static final Option<String> BATCH_VARIABLE =
+ Options.key("batchVariable")
+ .stringType()
Review Comment:
batch_data_variable represents how to represent a batch of data in a cypher
statement, usually using $batch, but here I still leave it open to the user to
select the configuration
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]