File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
main/java/io/substrait/extension
test/resources/extensions Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -535,12 +535,19 @@ public abstract static class Type {
535535
536536 public abstract String name ();
537537
538+ public abstract Optional <String > description ();
539+
538540 @ JacksonInject (SimpleExtension .URN_LOCATOR_KEY )
539541 public abstract String urn ();
540542
541543 // TODO: Handle conversion of structure object to Named Struct representation
542544 protected abstract Optional <Object > structure ();
543545
546+ // TODO: Properly handle parameters
547+ protected abstract Optional <List <Object >> parameters ();
548+
549+ protected abstract Optional <Boolean > variadic ();
550+
544551 public TypeAnchor getAnchor () {
545552 return anchorSupplier .get ();
546553 }
Original file line number Diff line number Diff line change 33urn : extension:test:custom_extensions
44types :
55 - name : " customType1"
6+ description : >-
7+ some description
8+ variadic : true
9+ parameters : []
610 - name : " customType2"
711 structure :
812 field1 : i32
You can’t perform that action at this time.
0 commit comments