public class NebulaVertexBatchExecutor extends Object implements NebulaBatchExecutor<org.apache.flink.types.Row>
| Constructor and Description |
|---|
NebulaVertexBatchExecutor(VertexExecutionOptions executionOptions,
VidTypeEnum vidType,
Map<String,Integer> schema) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToBatch(org.apache.flink.types.Row record)
put record into buffer
|
String |
executeBatch(com.vesoft.nebula.client.graph.net.Session session)
execute the statement
|
public NebulaVertexBatchExecutor(VertexExecutionOptions executionOptions, VidTypeEnum vidType, Map<String,Integer> schema)
public void addToBatch(org.apache.flink.types.Row record)
addToBatch in interface NebulaBatchExecutor<org.apache.flink.types.Row>record - represent vertex or edgepublic String executeBatch(com.vesoft.nebula.client.graph.net.Session session)
NebulaBatchExecutorexecuteBatch in interface NebulaBatchExecutor<org.apache.flink.types.Row>session - graph sessionCopyright © 2023. All rights reserved.