Interface SparkEndpointBuilderFactory.SparkEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- SparkEndpointBuilderFactory
public static interface SparkEndpointBuilderFactory.SparkEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the Spark component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default SparkEndpointBuilderFactory.AdvancedSparkEndpointBuilder
advanced()
default SparkEndpointBuilderFactory.SparkEndpointBuilder
collect(boolean collect)
Indicates if results should be collected or counted.default SparkEndpointBuilderFactory.SparkEndpointBuilder
collect(String collect)
Indicates if results should be collected or counted.default SparkEndpointBuilderFactory.SparkEndpointBuilder
dataFrame(Object dataFrame)
DataFrame to compute against.default SparkEndpointBuilderFactory.SparkEndpointBuilder
dataFrame(String dataFrame)
DataFrame to compute against.default SparkEndpointBuilderFactory.SparkEndpointBuilder
dataFrameCallback(Object dataFrameCallback)
Function performing action against an DataFrame.default SparkEndpointBuilderFactory.SparkEndpointBuilder
dataFrameCallback(String dataFrameCallback)
Function performing action against an DataFrame.default SparkEndpointBuilderFactory.SparkEndpointBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default SparkEndpointBuilderFactory.SparkEndpointBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default SparkEndpointBuilderFactory.SparkEndpointBuilder
rdd(Object rdd)
RDD to compute against.default SparkEndpointBuilderFactory.SparkEndpointBuilder
rdd(String rdd)
RDD to compute against.default SparkEndpointBuilderFactory.SparkEndpointBuilder
rddCallback(Object rddCallback)
Function performing action against an RDD.default SparkEndpointBuilderFactory.SparkEndpointBuilder
rddCallback(String rddCallback)
Function performing action against an RDD.
-
-
-
Method Detail
-
advanced
default SparkEndpointBuilderFactory.AdvancedSparkEndpointBuilder advanced()
-
collect
default SparkEndpointBuilderFactory.SparkEndpointBuilder collect(boolean collect)
Indicates if results should be collected or counted. The option is a:boolean
type. Default: true Group: producer
-
collect
default SparkEndpointBuilderFactory.SparkEndpointBuilder collect(String collect)
Indicates if results should be collected or counted. The option will be converted to aboolean
type. Default: true Group: producer
-
dataFrame
default SparkEndpointBuilderFactory.SparkEndpointBuilder dataFrame(Object dataFrame)
DataFrame to compute against. The option is a:org.apache.spark.sql.Dataset<org.apache.spark.sql.Row>
type. Group: producer
-
dataFrame
default SparkEndpointBuilderFactory.SparkEndpointBuilder dataFrame(String dataFrame)
DataFrame to compute against. The option will be converted to aorg.apache.spark.sql.Dataset<org.apache.spark.sql.Row>
type. Group: producer
-
dataFrameCallback
default SparkEndpointBuilderFactory.SparkEndpointBuilder dataFrameCallback(Object dataFrameCallback)
Function performing action against an DataFrame. The option is a:org.apache.camel.component.spark.DataFrameCallback
type. Group: producer
-
dataFrameCallback
default SparkEndpointBuilderFactory.SparkEndpointBuilder dataFrameCallback(String dataFrameCallback)
Function performing action against an DataFrame. The option will be converted to aorg.apache.camel.component.spark.DataFrameCallback
type. Group: producer
-
lazyStartProducer
default SparkEndpointBuilderFactory.SparkEndpointBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a:boolean
type. Default: false Group: producer
-
lazyStartProducer
default SparkEndpointBuilderFactory.SparkEndpointBuilder lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to aboolean
type. Default: false Group: producer
-
rdd
default SparkEndpointBuilderFactory.SparkEndpointBuilder rdd(Object rdd)
RDD to compute against. The option is a:org.apache.spark.api.java.JavaRDDLike
type. Group: producer
-
rdd
default SparkEndpointBuilderFactory.SparkEndpointBuilder rdd(String rdd)
RDD to compute against. The option will be converted to aorg.apache.spark.api.java.JavaRDDLike
type. Group: producer
-
rddCallback
default SparkEndpointBuilderFactory.SparkEndpointBuilder rddCallback(Object rddCallback)
Function performing action against an RDD. The option is a:org.apache.camel.component.spark.RddCallback
type. Group: producer
-
rddCallback
default SparkEndpointBuilderFactory.SparkEndpointBuilder rddCallback(String rddCallback)
Function performing action against an RDD. The option will be converted to aorg.apache.camel.component.spark.RddCallback
type. Group: producer
-
-