public class NebulaBatchOutputFormat<T> extends org.apache.flink.api.common.io.RichOutputFormat<T> implements Flushable
| 构造器和说明 |
|---|
NebulaBatchOutputFormat(NebulaGraphConnectionProvider graphProvider,
NebulaMetaConnectionProvider metaProvider) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close()
commit the batch write operator before release connection
|
void |
configure(org.apache.flink.configuration.Configuration configuration) |
void |
flush()
commit the batch write operator
|
void |
open(int i,
int i1)
prepare all resources
|
NebulaBatchOutputFormat<T> |
setExecutionOptions(ExecutionOptions executionOptions) |
void |
writeRecord(T row)
write one record to buffer
|
public NebulaBatchOutputFormat(NebulaGraphConnectionProvider graphProvider, NebulaMetaConnectionProvider metaProvider)
public void configure(org.apache.flink.configuration.Configuration configuration)
configure 在接口中 org.apache.flink.api.common.io.OutputFormat<T>public void open(int i,
int i1)
throws IOException
open 在接口中 org.apache.flink.api.common.io.OutputFormat<T>IOExceptionpublic final void writeRecord(T row) throws IOException
writeRecord 在接口中 org.apache.flink.api.common.io.OutputFormat<T>IOExceptionpublic final void close()
throws IOException
close 在接口中 org.apache.flink.api.common.io.OutputFormat<T>IOExceptionpublic void flush()
throws IOException
flush 在接口中 FlushableIOExceptionpublic NebulaBatchOutputFormat<T> setExecutionOptions(ExecutionOptions executionOptions)
Copyright © 2021. All rights reserved.