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(String dataFrame)
DataFrame to compute against.default SparkEndpointBuilderFactory.SparkEndpointBuilder
dataFrame(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> dataFrame)
DataFrame to compute against.default SparkEndpointBuilderFactory.SparkEndpointBuilder
dataFrameCallback(String dataFrameCallback)
Function performing action against an DataFrame.default SparkEndpointBuilderFactory.SparkEndpointBuilder
dataFrameCallback(org.apache.camel.component.spark.DataFrameCallback dataFrameCallback)
Function performing action against an DataFrame.default SparkEndpointBuilderFactory.SparkEndpointBuilder
rdd(String rdd)
RDD to compute against.default SparkEndpointBuilderFactory.SparkEndpointBuilder
rdd(org.apache.spark.api.java.JavaRDDLike rdd)
RDD to compute against.default SparkEndpointBuilderFactory.SparkEndpointBuilder
rddCallback(String rddCallback)
Function performing action against an RDD.default SparkEndpointBuilderFactory.SparkEndpointBuilder
rddCallback(org.apache.camel.component.spark.RddCallback 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: <code>boolean</code> type. Default: true Group: producer- Parameters:
collect
- the value to set- Returns:
- the dsl builder
-
collect
default SparkEndpointBuilderFactory.SparkEndpointBuilder collect(String collect)
Indicates if results should be collected or counted. The option will be converted to a <code>boolean</code> type. Default: true Group: producer- Parameters:
collect
- the value to set- Returns:
- the dsl builder
-
dataFrame
default SparkEndpointBuilderFactory.SparkEndpointBuilder dataFrame(org.apache.spark.sql.Dataset<org.apache.spark.sql.Row> dataFrame)
DataFrame to compute against. The option is a: <code>org.apache.spark.sql.Dataset<org.apache.spark.sql.Row></code> type. Group: producer- Parameters:
dataFrame
- the value to set- Returns:
- the dsl builder
-
dataFrame
default SparkEndpointBuilderFactory.SparkEndpointBuilder dataFrame(String dataFrame)
DataFrame to compute against. The option will be converted to a <code>org.apache.spark.sql.Dataset<org.apache.spark.sql.Row></code> type. Group: producer- Parameters:
dataFrame
- the value to set- Returns:
- the dsl builder
-
dataFrameCallback
default SparkEndpointBuilderFactory.SparkEndpointBuilder dataFrameCallback(org.apache.camel.component.spark.DataFrameCallback dataFrameCallback)
Function performing action against an DataFrame. The option is a: <code>org.apache.camel.component.spark.DataFrameCallback</code> type. Group: producer- Parameters:
dataFrameCallback
- the value to set- Returns:
- the dsl builder
-
dataFrameCallback
default SparkEndpointBuilderFactory.SparkEndpointBuilder dataFrameCallback(String dataFrameCallback)
Function performing action against an DataFrame. The option will be converted to a <code>org.apache.camel.component.spark.DataFrameCallback</code> type. Group: producer- Parameters:
dataFrameCallback
- the value to set- Returns:
- the dsl builder
-
rdd
default SparkEndpointBuilderFactory.SparkEndpointBuilder rdd(org.apache.spark.api.java.JavaRDDLike rdd)
RDD to compute against. The option is a: <code>org.apache.spark.api.java.JavaRDDLike</code> type. Group: producer- Parameters:
rdd
- the value to set- Returns:
- the dsl builder
-
rdd
default SparkEndpointBuilderFactory.SparkEndpointBuilder rdd(String rdd)
RDD to compute against. The option will be converted to a <code>org.apache.spark.api.java.JavaRDDLike</code> type. Group: producer- Parameters:
rdd
- the value to set- Returns:
- the dsl builder
-
rddCallback
default SparkEndpointBuilderFactory.SparkEndpointBuilder rddCallback(org.apache.camel.component.spark.RddCallback rddCallback)
Function performing action against an RDD. The option is a: <code>org.apache.camel.component.spark.RddCallback</code> type. Group: producer- Parameters:
rddCallback
- the value to set- Returns:
- the dsl builder
-
rddCallback
default SparkEndpointBuilderFactory.SparkEndpointBuilder rddCallback(String rddCallback)
Function performing action against an RDD. The option will be converted to a <code>org.apache.camel.component.spark.RddCallback</code> type. Group: producer- Parameters:
rddCallback
- the value to set- Returns:
- the dsl builder
-
-