@UriEndpoint(firstVersion="2.18.0",
scheme="flink",
title="Apache Flink",
syntax="flink:endpointType",
producerOnly=true,
label="hadoop")
public class FlinkEndpoint
extends org.apache.camel.impl.DefaultEndpoint
Constructor and Description |
---|
FlinkEndpoint(String endpointUri,
FlinkComponent component,
EndpointType endpointType) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
protected void |
doStart() |
FlinkComponent |
getComponent() |
org.apache.flink.api.java.DataSet |
getDataSet() |
DataSetCallback |
getDataSetCallback() |
org.apache.flink.streaming.api.datastream.DataStream |
getDataStream() |
DataStreamCallback |
getDataStreamCallback() |
boolean |
isCollect() |
boolean |
isSingleton() |
void |
setCollect(boolean collect)
Indicates if results should be collected or counted.
|
void |
setDataSet(org.apache.flink.api.java.DataSet ds)
DataSet to compute against.
|
void |
setDataSetCallback(DataSetCallback dataSetCallback)
Function performing action against a DataSet.
|
void |
setDataStream(org.apache.flink.streaming.api.datastream.DataStream ds)
DataStream to compute against.
|
void |
setDataStreamCallback(DataStreamCallback dataStreamCallback)
Function performing action against a DataStream.
|
void |
setEndpointType(EndpointType endpointType)
Type of the endpoint (dataset, datastream).
|
configureConsumer, configurePollingConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStop, equals, getCamelContext, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public FlinkEndpoint(String endpointUri, FlinkComponent component, EndpointType endpointType)
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.DefaultEndpoint
Exception
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public boolean isSingleton()
public FlinkComponent getComponent()
getComponent
in class org.apache.camel.impl.DefaultEndpoint
public void setEndpointType(EndpointType endpointType)
public org.apache.flink.api.java.DataSet getDataSet()
public org.apache.flink.streaming.api.datastream.DataStream getDataStream()
public void setDataSet(org.apache.flink.api.java.DataSet ds)
public void setDataStream(org.apache.flink.streaming.api.datastream.DataStream ds)
public DataSetCallback getDataSetCallback()
public DataStreamCallback getDataStreamCallback()
public void setDataSetCallback(DataSetCallback dataSetCallback)
public void setDataStreamCallback(DataStreamCallback dataStreamCallback)
public boolean isCollect()
public void setCollect(boolean collect)
Apache Camel