Package org.apache.beam.sdk.io.neo4j
Class Neo4jIO.WriteUnwind<ParameterT>
- java.lang.Object
-
- org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<ParameterT>,org.apache.beam.sdk.values.PDone>
-
- org.apache.beam.sdk.io.neo4j.Neo4jIO.WriteUnwind<ParameterT>
-
- All Implemented Interfaces:
java.io.Serializable,org.apache.beam.sdk.transforms.display.HasDisplayData
- Enclosing class:
- Neo4jIO
public abstract static class Neo4jIO.WriteUnwind<ParameterT> extends org.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<ParameterT>,org.apache.beam.sdk.values.PDone>This is the class which handles the work behind theNeo4jIO.writeUnwind()method.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WriteUnwind()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.beam.sdk.values.PDoneexpand(org.apache.beam.sdk.values.PCollection<ParameterT> input)voidpopulateDisplayData(org.apache.beam.sdk.transforms.display.DisplayData.Builder builder)Neo4jIO.WriteUnwind<ParameterT>withBatchSize(long batchSize)Neo4jIO.WriteUnwind<ParameterT>withBatchSize(org.apache.beam.sdk.options.ValueProvider<java.lang.Long> batchSize)Neo4jIO.WriteUnwind<ParameterT>withCypher(java.lang.String cypher)Neo4jIO.WriteUnwind<ParameterT>withCypher(org.apache.beam.sdk.options.ValueProvider<java.lang.String> cypher)Neo4jIO.WriteUnwind<ParameterT>withCypherLogging()Neo4jIO.WriteUnwind<ParameterT>withDriverConfiguration(Neo4jIO.DriverConfiguration config)Neo4jIO.WriteUnwind<ParameterT>withParametersFunction(org.apache.beam.sdk.transforms.SerializableFunction<ParameterT,java.util.Map<java.lang.String,java.lang.Object>> parametersFunction)Neo4jIO.WriteUnwind<ParameterT>withSessionConfig(org.apache.beam.sdk.options.ValueProvider<org.neo4j.driver.SessionConfig> sessionConfig)Neo4jIO.WriteUnwind<ParameterT>withSessionConfig(org.neo4j.driver.SessionConfig sessionConfig)Neo4jIO.WriteUnwind<ParameterT>withTransactionConfig(org.apache.beam.sdk.options.ValueProvider<org.neo4j.driver.TransactionConfig> transactionConfig)Neo4jIO.WriteUnwind<ParameterT>withTransactionConfig(org.neo4j.driver.TransactionConfig transactionConfig)Neo4jIO.WriteUnwind<ParameterT>withUnwindMapName(java.lang.String mapName)Neo4jIO.WriteUnwind<ParameterT>withUnwindMapName(org.apache.beam.sdk.options.ValueProvider<java.lang.String> mapName)
-
-
-
Method Detail
-
withDriverConfiguration
public Neo4jIO.WriteUnwind<ParameterT> withDriverConfiguration(Neo4jIO.DriverConfiguration config)
-
withCypher
public Neo4jIO.WriteUnwind<ParameterT> withCypher(java.lang.String cypher)
-
withCypher
public Neo4jIO.WriteUnwind<ParameterT> withCypher(org.apache.beam.sdk.options.ValueProvider<java.lang.String> cypher)
-
withUnwindMapName
public Neo4jIO.WriteUnwind<ParameterT> withUnwindMapName(java.lang.String mapName)
-
withUnwindMapName
public Neo4jIO.WriteUnwind<ParameterT> withUnwindMapName(org.apache.beam.sdk.options.ValueProvider<java.lang.String> mapName)
-
withTransactionConfig
public Neo4jIO.WriteUnwind<ParameterT> withTransactionConfig(org.neo4j.driver.TransactionConfig transactionConfig)
-
withTransactionConfig
public Neo4jIO.WriteUnwind<ParameterT> withTransactionConfig(org.apache.beam.sdk.options.ValueProvider<org.neo4j.driver.TransactionConfig> transactionConfig)
-
withSessionConfig
public Neo4jIO.WriteUnwind<ParameterT> withSessionConfig(org.neo4j.driver.SessionConfig sessionConfig)
-
withSessionConfig
public Neo4jIO.WriteUnwind<ParameterT> withSessionConfig(org.apache.beam.sdk.options.ValueProvider<org.neo4j.driver.SessionConfig> sessionConfig)
-
withBatchSize
public Neo4jIO.WriteUnwind<ParameterT> withBatchSize(long batchSize)
-
withBatchSize
public Neo4jIO.WriteUnwind<ParameterT> withBatchSize(org.apache.beam.sdk.options.ValueProvider<java.lang.Long> batchSize)
-
withParametersFunction
public Neo4jIO.WriteUnwind<ParameterT> withParametersFunction(org.apache.beam.sdk.transforms.SerializableFunction<ParameterT,java.util.Map<java.lang.String,java.lang.Object>> parametersFunction)
-
withCypherLogging
public Neo4jIO.WriteUnwind<ParameterT> withCypherLogging()
-
expand
public org.apache.beam.sdk.values.PDone expand(org.apache.beam.sdk.values.PCollection<ParameterT> input)
- Specified by:
expandin classorg.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<ParameterT>,org.apache.beam.sdk.values.PDone>
-
populateDisplayData
public void populateDisplayData(org.apache.beam.sdk.transforms.display.DisplayData.Builder builder)
- Specified by:
populateDisplayDatain interfaceorg.apache.beam.sdk.transforms.display.HasDisplayData- Overrides:
populateDisplayDatain classorg.apache.beam.sdk.transforms.PTransform<org.apache.beam.sdk.values.PCollection<ParameterT>,org.apache.beam.sdk.values.PDone>
-
-