Skip to content

Commit

Permalink
API check for all standard libraries (#12285)
Browse files Browse the repository at this point in the history
* Generate API for Standard.Table

* Regenerate Table API

* Generate AWS API

* Generate Database API

* Generate Google_Api API

* Generate Image API

* Generate Microsoft API

* Generate Snowflake API

* Generate Tableau API

* Generate Test API

* Generate Visualization API
  • Loading branch information
Akirathan authored Feb 24, 2025
1 parent 76f5f70 commit e002d94
Show file tree
Hide file tree
Showing 227 changed files with 3,560 additions and 0 deletions.
9 changes: 9 additions & 0 deletions distribution/lib/Standard/AWS/0.0.0-dev/docs/api/AWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Enso Signatures 1.0
## module Standard.AWS.AWS
- type AWS
- hash_bytes bytes:Standard.Base.Data.Vector.Vector -> Standard.Base.Any.Any
- resolve_region_and_service uri:Standard.Base.Network.URI.URI= -> Standard.Base.Any.Any
- signed_fetch uri:Standard.Base.Network.URI.URI= method:Standard.Base.Network.HTTP.HTTP_Method.HTTP_Method= headers:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any)= format:Standard.Base.Any.Any= credentials:Standard.AWS.AWS_Credential.AWS_Credential= region_service:Standard.AWS.AWS.AWS_Region_Service= -> Standard.Base.Any.Any
- signed_post uri:Standard.Base.Network.URI.URI= body:Standard.Base.Network.HTTP.Request_Body.Request_Body= method:Standard.Base.Network.HTTP.HTTP_Method.HTTP_Method= headers:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any)= response_format:Standard.Base.Any.Any= credentials:Standard.AWS.AWS_Credential.AWS_Credential= region_service:Standard.AWS.AWS.AWS_Region_Service= -> Standard.Base.Any.Any
- type AWS_Region_Service
- Region_Service region:Standard.Base.Data.Text.Text service:Standard.Base.Data.Text.Text
16 changes: 16 additions & 0 deletions distribution/lib/Standard/AWS/0.0.0-dev/docs/api/AWS_Credential.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Enso Signatures 1.0
## module Standard.AWS.AWS_Credential
- type AWS_Credential
- Default
- Key access_key_id:(Standard.Base.Data.Text.Text|Standard.Base.Enso_Cloud.Enso_Secret.Enso_Secret)= secret_access_key:(Standard.Base.Data.Text.Text|Standard.Base.Enso_Cloud.Enso_Secret.Enso_Secret)=
- Profile profile:Standard.Base.Data.Text.Text=
- With_Configuration base_credential:Standard.AWS.AWS_Credential.AWS_Credential default_region:Standard.AWS.AWS_Region.AWS_Region
- as_java self -> Standard.Base.Any.Any
- default_widget add_user_password:Standard.Base.Data.Boolean.Boolean= display:Standard.Base.Metadata.Display= -> Standard.Base.Metadata.Widget
- get_default_region self -> Standard.AWS.AWS_Region.AWS_Region
- is_default_credential_available -> Standard.Base.Data.Boolean.Boolean
- profile_names -> Standard.Base.Any.Any
- to_display_text self -> Standard.Base.Data.Text.Text
- to_text self -> Standard.Base.Data.Text.Text
- with_default_override override:Standard.AWS.AWS_Credential.AWS_Credential ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any
- with_default_region self region:Standard.AWS.AWS_Region.AWS_Region= -> Standard.AWS.AWS_Credential.AWS_Credential
11 changes: 11 additions & 0 deletions distribution/lib/Standard/AWS/0.0.0-dev/docs/api/AWS_Region.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Enso Signatures 1.0
## module Standard.AWS.AWS_Region
- type AWS_Region
- Default
- Default_With_Profile profile_name:Standard.Base.Data.Text.Text
- Region id:Standard.Base.Data.Text.Text
- all_region_ids -> (Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text)
- as_java self -> Standard.AWS.AWS_Region.Java_Region
- default_widget display:Standard.Base.Metadata.Display= -> Standard.Base.Metadata.Widget
- resolve_id self -> Standard.Base.Data.Text.Text
- fallback_region -> Standard.Base.Any.Any
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
## Enso Signatures 1.0
## module Standard.AWS.Database.Redshift.Internal.Redshift_Dialect
- type Redshift_Dialect
- Value dialect_operations:Standard.Base.Any.Any
- adapt_unified_column self column:Standard.Base.Any.Any approximate_result_type:Standard.Base.Any.Any infer_result_type_from_database_callback:Standard.Base.Any.Any -> Standard.Base.Any.Any
- cast_aggregate_columns self op_kind:Standard.Base.Data.Text.Text columns:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.Internal_Column.Internal_Column) -> Standard.Base.Any.Any
- cast_op_type self op_kind:Standard.Base.Data.Text.Text args:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.Internal_Column.Internal_Column) expression:Standard.Database.Internal.IR.SQL_Expression.SQL_Expression -> Standard.Base.Any.Any
- check_aggregate_support self aggregate:Standard.Base.Any.Any -> Standard.Base.Any.Any
- default_table_types self -> Standard.Base.Any.Any
- ensure_query_has_no_holes self jdbc:Standard.Database.Internal.JDBC_Connection.JDBC_Connection raw_sql:Standard.Base.Data.Text.Text -> Standard.Base.Any.Any
- fetch_primary_key self connection:Standard.Base.Any.Any table_name:Standard.Base.Any.Any -> Standard.Base.Any.Any
- flagged self flag:Standard.Database.Dialect_Flag.Dialect_Flag -> Standard.Base.Data.Boolean.Boolean
- generate_collate self collation_name:Standard.Base.Data.Text.Text -> Standard.Base.Data.Text.Text
- generate_expression self base_gen:Standard.Base.Any.Any expr:(Standard.Database.Internal.IR.SQL_Expression.SQL_Expression|Standard.Database.Internal.IR.Order_Descriptor.Order_Descriptor|Standard.Database.Internal.IR.Query.Query) for_select:Standard.Base.Data.Boolean.Boolean -> Standard.Database.SQL.SQL_Builder
- generate_sql self query:Standard.Base.Any.Any -> Standard.Base.Any.Any
- generate_truncate_table_sql self table_name:Standard.Base.Any.Any -> Standard.Base.Any.Any
- get_error_mapper self -> Standard.Base.Any.Any
- get_limit_sql_modifier self limit:Standard.Base.Any.Any -> Standard.Base.Any.Any
- get_part_order self part:Standard.Database.Internal.SQL_Part.SQL_Part -> Standard.Base.Data.Numbers.Integer
- get_statement_setter self -> Standard.Base.Any.Any
- get_type_mapping self -> Standard.Base.Any.Any
- is_feature_supported self feature:Standard.Database.Feature.Feature -> Standard.Base.Data.Boolean.Boolean
- is_operation_supported self operation:Standard.Base.Data.Text.Text -> Standard.Base.Data.Boolean.Boolean
- make_cast self column:Standard.Base.Any.Any target_type:Standard.Base.Any.Any infer_result_type_from_database_callback:Standard.Base.Any.Any -> Standard.Base.Any.Any
- make_table_literal self vecs:Standard.Base.Any.Any column_names:Standard.Base.Any.Any as_name:Standard.Base.Any.Any -> Standard.Base.Any.Any
- name self -> Standard.Base.Any.Any
- needs_execute_query_for_type_inference self statement:Standard.Base.Any.Any -> Standard.Base.Any.Any
- needs_literal_table_cast self value_type:Standard.Base.Any.Any -> Standard.Base.Any.Any
- prepare_fetch_types_query self expression:Standard.Base.Any.Any context:Standard.Base.Any.Any -> Standard.Base.Any.Any
- prepare_order_descriptor self internal_column:Standard.Base.Any.Any sort_direction:Standard.Base.Any.Any text_ordering:Standard.Base.Any.Any -> Standard.Base.Any.Any
- temp_table_style self -> Standard.Base.Any.Any
- to_text self -> Standard.Base.Any.Any
- value_type_for_upload_of_existing_column self column:Standard.Base.Any.Any -> Standard.Base.Any.Any
- wrap_identifier self identifier:Standard.Base.Any.Any -> Standard.Base.Any.Any
- redshift -> Standard.Base.Any.Any
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Enso Signatures 1.0
## module Standard.AWS.Database.Redshift.Internal.Redshift_Error_Mapper
- type Redshift_Error_Mapper
- is_duplicate_primary_key_violation error:Standard.Base.Any.Any -> Standard.Base.Any.Any
- is_null_primary_key_violation error:Standard.Base.Any.Any -> Standard.Base.Any.Any
- transform_custom_errors error:Standard.Base.Any.Any -> Standard.Base.Any.Any
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## Enso Signatures 1.0
## module Standard.AWS.Database.Redshift.Redshift_Details
- type Redshift_Details
- Redshift host:Standard.Base.Data.Text.Text= port:Standard.Base.Data.Numbers.Integer= schema:Standard.Base.Data.Text.Text= db_user:Standard.Base.Data.Text.Text= credentials:(Standard.Database.Connection.Credentials.Credentials|Standard.AWS.AWS_Credential.AWS_Credential)= use_ssl:Standard.Database.Connection.SSL_Mode.SSL_Mode= client_cert:(Standard.Database.Connection.Client_Certificate.Client_Certificate|Standard.Base.Nothing.Nothing)=
- connect self options:Standard.Base.Any.Any -> Standard.Base.Any.Any
- jdbc_properties self -> Standard.Base.Any.Any
- jdbc_url self -> Standard.Base.Any.Any
- resolve constructor:Standard.Base.Any.Any -> Standard.Base.Any.Any
24 changes: 24 additions & 0 deletions distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Errors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Enso Signatures 1.0
## module Standard.AWS.Errors
- type AWS_SDK_Error
- Error message:Standard.Base.Data.Text.Text
- handle_java_errors ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any
- to_display_text self -> Standard.Base.Any.Any
- type Invalid_AWS_URI
- Error uri:Standard.Base.Data.Text.Text
- to_display_text self -> Standard.Base.Any.Any
- type More_Records_Available
- Warning message:Standard.Base.Data.Text.Text
- to_display_text self -> Standard.Base.Any.Any
- type S3_Bucket_Not_Found
- Error bucket:Standard.Base.Data.Text.Text
- to_display_text self -> Standard.Base.Any.Any
- type S3_Error
- Error message:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing) code:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)
- to_display_text self -> Standard.Base.Any.Any
- type S3_Key_Not_Found
- Error bucket:Standard.Base.Data.Text.Text key:Standard.Base.Data.Text.Text
- to_display_text self -> Standard.Base.Any.Any
- type S3_Warning
- to_display_text self -> Standard.Base.Any.Any
- to_text self -> Standard.Base.Any.Any
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## Enso Signatures 1.0
## module Standard.AWS.Internal.S3_Path
- type S3_Path
- Value bucket:Standard.Base.Data.Text.Text key:Standard.Base.Data.Text.Text
- bucket_root self -> Standard.AWS.Internal.S3_Path.S3_Path
- delimiter -> Standard.Base.Data.Text.Text
- file_name self -> Standard.Base.Data.Text.Text
- is_descendant_of self other:Standard.AWS.Internal.S3_Path.S3_Path -> Standard.Base.Data.Boolean.Boolean
- is_directory self -> Standard.Base.Data.Boolean.Boolean
- is_root self -> Standard.Base.Data.Boolean.Boolean
- join self subpaths:Standard.Base.Data.Vector.Vector -> Standard.AWS.Internal.S3_Path.S3_Path
- parent self -> (Standard.AWS.Internal.S3_Path.S3_Path|Standard.Base.Nothing.Nothing)
- parse uri:Standard.Base.Data.Text.Text -> Standard.Base.Any.Any
- resolve self subpath:Standard.Base.Data.Text.Text -> Standard.AWS.Internal.S3_Path.S3_Path
- to_display_text self -> Standard.Base.Data.Text.Text
- to_text self -> Standard.Base.Data.Text.Text
- without_trailing_slash self -> Standard.AWS.Internal.S3_Path.S3_Path
2 changes: 2 additions & 0 deletions distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Main.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## Enso Signatures 1.0
## module Standard.AWS.Main
18 changes: 18 additions & 0 deletions distribution/lib/Standard/AWS/0.0.0-dev/docs/api/S3/S3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
## Enso Signatures 1.0
## module Standard.AWS.S3.S3
- copy_object source_bucket:Standard.Base.Data.Text.Text source_key:Standard.Base.Data.Text.Text target_bucket:Standard.Base.Data.Text.Text target_key:Standard.Base.Data.Text.Text credentials:Standard.AWS.AWS_Credential.AWS_Credential= -> Standard.Base.Any.Any
- delete_object bucket:Standard.Base.Data.Text.Text key:Standard.Base.Data.Text.Text credentials:Standard.AWS.AWS_Credential.AWS_Credential= -> Standard.Base.Any.Any
- get_object bucket:Standard.Base.Any.Any key:Standard.Base.Any.Any credentials:Standard.AWS.AWS_Credential.AWS_Credential= delimiter:Standard.Base.Any.Any= -> Standard.Base.Any.Any
- handle_io_errors uri:Standard.Base.Network.URI.URI ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any
- handle_s3_errors ~action:Standard.Base.Any.Any bucket:Standard.Base.Any.Any= key:Standard.Base.Any.Any= -> Standard.Base.Any.Any
- head bucket:Standard.Base.Data.Text.Text= key:Standard.Base.Data.Text.Text= credentials:Standard.AWS.AWS_Credential.AWS_Credential= -> Standard.Base.Any.Any
- list_buckets credentials:Standard.AWS.AWS_Credential.AWS_Credential= -> Standard.Base.Any.Any
- list_objects bucket:Standard.Base.Data.Text.Text= prefix:Standard.Base.Data.Text.Text= credentials:Standard.AWS.AWS_Credential.AWS_Credential= max_count:Standard.Base.Data.Numbers.Integer= -> Standard.Base.Any.Any
- make_client credentials:Standard.AWS.AWS_Credential.AWS_Credential -> Standard.Base.Any.Any
- make_client_for_bucket bucket_name:Standard.Base.Data.Text.Text credentials:Standard.AWS.AWS_Credential.AWS_Credential -> Standard.Base.Any.Any
- put_object bucket:Standard.Base.Data.Text.Text key:Standard.Base.Data.Text.Text credentials:Standard.AWS.AWS_Credential.AWS_Credential= request_body:Standard.Base.Any.Any -> Standard.Base.Any.Any
- raw_head bucket:Standard.Base.Any.Any key:Standard.Base.Any.Any credentials:Standard.Base.Any.Any -> Standard.Base.Any.Any
- read_bucket bucket:Standard.Base.Any.Any prefix:Standard.Base.Any.Any= credentials:Standard.AWS.AWS_Credential.AWS_Credential= delimiter:Standard.Base.Any.Any= max_count:Standard.Base.Any.Any= -> Standard.Base.Any.Any
- scheme -> Standard.Base.Any.Any
- upload_file local_file:Standard.Base.System.File.File bucket:Standard.Base.Data.Text.Text key:Standard.Base.Data.Text.Text credentials:Standard.AWS.AWS_Credential.AWS_Credential= -> Standard.Base.Any.Any
- uri_prefix -> Standard.Base.Any.Any
37 changes: 37 additions & 0 deletions distribution/lib/Standard/AWS/0.0.0-dev/docs/api/S3/S3_File.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
## Enso Signatures 1.0
## module Standard.AWS.S3.S3_File
- type S3_File
- / self subpath:Standard.Base.Any.Any -> Standard.Base.Any.Any
- copy_to self destination:Standard.Base.System.File.Generic.File_Like.File_Like replace_existing:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any
- create_directory self -> Standard.Base.Any.Any
- creation_time self -> Standard.Base.Any.Any
- delete self recursive:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any
- delete_if_exists self recursive:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any
- exists self -> Standard.Base.Any.Any
- extension self -> Standard.Base.Any.Any
- is_data_link self -> Standard.Base.Data.Boolean.Boolean
- is_descendant_of self other:Standard.Base.Any.Any -> Standard.Base.Any.Any
- is_directory self -> Standard.Base.Any.Any
- is_regular_file self -> Standard.Base.Any.Any
- join self subpaths:(Standard.Base.Data.Vector.Vector|Standard.Base.Data.Text.Text) -> Standard.Base.Any.Any
- last_modified_time self -> Standard.Base.Any.Any
- list self name_filter:Standard.Base.Data.Text.Text= recursive:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any
- move_to self destination:Standard.Base.System.File.Generic.File_Like.File_Like replace_existing:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any
- name self -> Standard.Base.Any.Any
- new uri:Standard.Base.Data.Text.Text= credentials:Standard.AWS.AWS_Credential.AWS_Credential= -> Standard.Base.Any.Any
- parent self -> Standard.Base.Any.Any
- path self -> Standard.Base.Any.Any
- read self format:Standard.Base.Any.Any= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any
- read_bytes self -> Standard.Base.Any.Any
- read_text self encoding:Standard.Base.Data.Text.Encoding.Encoding= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any
- resolve_single_part self part:Standard.Base.Data.Text.Text -> Standard.Base.Any.Any
- size self -> Standard.Base.Any.Any
- to_display_text self -> Standard.Base.Any.Any
- to_text self -> Standard.Base.Any.Any
- uri self -> Standard.Base.Data.Text.Text
- with_input_stream self open_options:Standard.Base.Data.Vector.Vector action:Standard.Base.Any.Any -> Standard.Base.Any.Any
- with_output_stream self open_options:Standard.Base.Data.Vector.Vector action:Standard.Base.Any.Any -> Standard.Base.Any.Any
- Standard.Base.System.File_Format_Metadata.File_Format_Metadata.from that:Standard.AWS.S3.S3_File.S3_File -> Standard.Base.System.File_Format_Metadata.File_Format_Metadata
- Standard.Base.System.File.Generic.File_Like.File_Like.from that:Standard.AWS.S3.S3_File.S3_File -> Standard.Base.System.File.Generic.File_Like.File_Like
- Standard.Base.System.File.Generic.Writable_File.Writable_File.from that:Standard.AWS.S3.S3_File.S3_File -> Standard.Base.System.File.Generic.Writable_File.Writable_File
- Standard.Base.Enso_Cloud.Data_Link.Data_Link_From_File.from that:Standard.AWS.S3.S3_File.S3_File -> Standard.Base.Enso_Cloud.Data_Link.Data_Link_From_File
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Enso Signatures 1.0
## module Standard.Database.Column_Constraint
- type Column_Constraint
- Default_Expression sql_expression:Standard.Base.Data.Text.Text
- Not_Null
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Enso Signatures 1.0
## module Standard.Database.Column_Description
- type Column_Description
- Value name:Standard.Base.Data.Text.Text value_type:Standard.Table.Value_Type.Value_Type constraints:(Standard.Base.Data.Vector.Vector Standard.Database.Column_Constraint.Column_Constraint)=
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Enso Signatures 1.0
## module Standard.Database.Connection.Client_Certificate
- type Client_Certificate
- Value cert_file:Standard.Base.System.File.File key_file:Standard.Base.System.File.File key_password:Standard.Base.Data.Text.Text=
- properties self -> Standard.Base.Any.Any
Loading

0 comments on commit e002d94

Please sign in to comment.