Clear the registry
Clear the registry
Get a Connector.
Get a Connector. If the given config path hasn't been registered, then the connector will firstly be registered and then be returned.
type of the connector
id of connector (could be the config path)
the registered connector
Find a pipeline by its UUID
Find a pipeline by its UUID
UUID of the target pipeline
For a given UUID, return the corresponding registered item
Return the registry
Return the registry
Return the number of items in the current registry
Return the number of items in the current registry
Get a SparkRepository[DT].
Get a SparkRepository[DT]. If the given config path hasn't been registered, then the repository will firstly be registered and then be returned.
type of spark repository
path to spark repository configuration
the added repository
Check if the UUID exists in the registry
Check if the UUID exists in the registry
an UUID
true if it already exists in the registry, false otherwise
Check if the Identifiable exists in the registry
Check if the Identifiable exists in the registry
an object that inherit com.jcdecaux.setl.internal.Identifiable
true if it already exists in the registry, false otherwise
Return true if the registry is empty, false otherwise
Return true if the registry is empty, false otherwise
Return the last registered item
Return the last registered item
if the registry is empty, None will be returned
Create a new pipeline.
Create a new pipeline. All the registered repositories and connectors will be passed into the delivery pool of the pipeline.
a newly instantiated pipeline object
Register a new com.jcdecaux.setl.internal.Identifiable in registry
Register a new com.jcdecaux.setl.internal.Identifiable in registry
an object that inherit com.jcdecaux.setl.internal.Identifiable
true if the given item is registered, false otherwise
Register multiple items
Register multiple items
an com.jcdecaux.setl.internal.Identifiable object
Register a connector.
Register a connector.
If there this config path has been registered, it will be updated.
type of spark connector
a connector
delivery ID
the current SETL context with the added repository
Register a connector.
Register a connector.
If there this config path has been registered, it will be updated.
type of spark connector
path to connector configuration
delivery ID
class of the Connector
the current SETL context with the added repository
Force register a spark repository for the given config path.
Force register a spark repository for the given config path. If there this config path has been registered, it will be updated
type of spark repository
path to spark repository configuration
Seq of consumer
id of this delivery that will be used during the delivery matching
the current SETL context with the added repository
Force register a spark repository with an object of SparkRepository and its id.
Force register a spark repository with an object of SparkRepository and its id. If a repository having the same ID was already registered, it will be overwritten by this one.
data type of the repository
an object of SparkRepository[T]
consumer of this spark repository
id of this delivery
id to be used for the repository registration
the current SETL context with the added repository
Register a connector.
Register a connector.
If there this config path has been registered, it will NOT be updated.
type of spark connector
a connector
delivery ID
id of the Connector
the current SETL context with the added repository
Register a connector.
Register a connector.
If there this config path has been registered, it will NOT be updated.
type of spark connector
path to connector configuration
delivery ID
class of the Connector
the current SETL context with the added repository
Register a connector.
Register a connector. As each connector must have an delivery ID, by default the config path will be used.
If there this config path has been registered, it will NOT be updated.
type of connector
path to connector configuration
the current SETL context with the added repository
Register a connector.
Register a connector.
If there this config path has been registered, it will NOT be updated.
path to connector configuration
delivery ID
the current SETL context with the added connector
Register a connector.
Register a connector. As each connector must have an delivery ID, by default the config path will be used.
If there this config path has been registered, it will NOT be updated.
path to connector configuration
Register a spark repository with an object of SparkRepository and its id.
Register a spark repository with an object of SparkRepository and its id. If a repository having the same ID was already registered, it will NOT be overwritten by this one.
data type of the repository
an object of SparkRepository[T]
consumer of this spark repository
id of this delivery
id to be used for the repository registration
the current SETL context with the added repository
Register a spark repository for the given config path.
Register a spark repository for the given config path. If there this config path has been registered, it will NOT be updated
type of spark repository
path to spark repository configuration
Seq of consumer
id of this delivery that will be used during the delivery matching
the current SETL context with the added repository
Return the current spark session
Stop the spark session