Skip to content
Open
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 @@ -44,6 +44,11 @@
*/
String discoverSchema() default "";

/**
* @return true if current one support studio metadata dataset retrieve schema in UI
*/
boolean supportMetadata() default false;

/**
* @return type of connection the field modelises.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ void selector() {
put("tcomp::ui::structure::value", "__default__");
put("tcomp::ui::structure::type", "IN");
put("tcomp::ui::structure::discoverSchema", "guess");
put("tcomp::ui::structure::supportMetadata", "false");
}
}, enricher.onParameterAnnotation("testParam", String.class, new Structure() {

Expand All @@ -207,6 +208,11 @@ public String discoverSchema() {
return "guess";
}

@Override
public boolean supportMetadata() {
return false;
}

@Override
public Type type() {
return Type.IN;
Expand Down
Loading