Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
@Target(METHOD)
@Retention(RUNTIME)
@Documentation("Mark an action works for creating runtime connection, returning a runtime connection object like jdbc connection if database family. "
+ "Its parameter MUST be a datastore. Datastore is configuration type annotated with @DataStore. "
+ "Its parameter MUST be a datastore (configuration type annotated with @DataStore) annotated with `@Option`. "
+ "The `value` parameter of `@Option` must match the runtime class constructor parameter name of the component configuration class. "
+ "The functionality is for the Studio only, studio will use the runtime connection object when use existed connection, and no effect for cloud platform.")
Comment thread
Copilot marked this conversation as resolved.
public @interface CreateConnection {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ public class SomeInputMapper implements Serializable {
}
----

NOTE: The `@Option` value String parameter in the `@CreateConnection` method should match the name of runtime class constructor parameter for the Configuration class

== How does the component server interact with datasets and datastores

The component server scans all configuration types and returns a configuration type index. This index can be used for the integration into the targeted platforms (Studio, web applications, and so on).
Expand Down
Loading