From 6709d47293c33908efc71d57a06c42398054ad41 Mon Sep 17 00:00:00 2001 From: Jaroslav Tulach Date: Sat, 22 Feb 2025 06:16:46 +0100 Subject: [PATCH 1/4] Encapsulating State access by moving nodes to runtime.state package (#12314) Refactoring to fix #12294. --- .../Base/0.0.0-dev/docs/api/Runtime.md | 4 - .../src/Internal/Context_Helpers.enso | 21 +++++ .../src/Internal/Runtime_Helpers.enso | 14 +++ .../Standard/Base/0.0.0-dev/src/Runtime.enso | 60 +++--------- .../interpreter/instrument/RuntimeCache.java | 17 ++-- .../interpreter/service/ExecutionService.java | 37 ++++---- .../test/instrument/RuntimeServerTesting.java | 93 +++++++++++++++++++ .../test/interop/MetaObjectTest.java | 1 + .../test/instrument/RuntimeServerTest.scala | 4 + .../IndirectInvokeConversionNode.java | 7 +- .../dispatch/IndirectInvokeFunctionNode.java | 2 +- .../builtin/meta/InstrumentorBuiltin.java | 37 +++++--- .../builtin/runtime/ContextIsEnabledNode.java | 6 +- .../enso/interpreter/runtime/EnsoContext.java | 67 +++++++++++-- .../org/enso/interpreter/runtime/Module.java | 2 +- .../interpreter/runtime/builtin/Builtins.java | 9 ++ .../callable/UnresolvedConversion.java | 2 +- .../runtime/callable/UnresolvedSymbol.java | 2 +- .../runtime/callable/function/Function.java | 22 ++++- .../state/GetStateNode.java | 27 +++++- .../state/PutStateNode.java | 22 ++++- .../state/RunStateNode.java | 31 +++++-- .../enso/interpreter/runtime/state/State.java | 39 ++++++-- .../builtins/MethodNodeClassGenerator.java | 2 +- .../Standard/Base/0.0.0-dev/src/Runtime.enso | 11 ++- 25 files changed, 406 insertions(+), 133 deletions(-) create mode 100644 distribution/lib/Standard/Base/0.0.0-dev/src/Internal/Context_Helpers.enso create mode 100644 distribution/lib/Standard/Base/0.0.0-dev/src/Internal/Runtime_Helpers.enso create mode 100644 engine/runtime-integration-tests/src/test/java/org/enso/interpreter/test/instrument/RuntimeServerTesting.java rename engine/runtime/src/main/java/org/enso/interpreter/{node/expression/builtin => runtime}/state/GetStateNode.java (65%) rename engine/runtime/src/main/java/org/enso/interpreter/{node/expression/builtin => runtime}/state/PutStateNode.java (65%) rename engine/runtime/src/main/java/org/enso/interpreter/{node/expression/builtin => runtime}/state/RunStateNode.java (69%) diff --git a/distribution/lib/Standard/Base/0.0.0-dev/docs/api/Runtime.md b/distribution/lib/Standard/Base/0.0.0-dev/docs/api/Runtime.md index 38a1dcbcf63d..be3fb1001ab8 100644 --- a/distribution/lib/Standard/Base/0.0.0-dev/docs/api/Runtime.md +++ b/distribution/lib/Standard/Base/0.0.0-dev/docs/api/Runtime.md @@ -6,7 +6,6 @@ - Output - if_enabled self ~action:Standard.Base.Any.Any environment:Standard.Base.Data.Text.Text= disabled_message:Standard.Base.Data.Text.Text= panic:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any - is_enabled self environment:Standard.Base.Any.Any= -> Standard.Base.Any.Any - - is_enabled_builtin self environment:Standard.Base.Any.Any -> Standard.Base.Any.Any - name self -> Standard.Base.Any.Any - with_disabled self ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any - with_enabled self ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any @@ -20,10 +19,7 @@ - get_stack_trace -> Standard.Base.Any.Any - no_inline ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any - no_inline_with_arg function:Standard.Base.Any.Any arg:Standard.Base.Any.Any -> Standard.Base.Any.Any -- primitive_get_stack_trace -> Standard.Base.Any.Any - value_for_uuid id:Standard.Base.Data.Text.Text -> Standard.Base.Any.Any - with_disabled_context context:Standard.Base.Any.Any environment:Standard.Base.Any.Any= ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any -- with_disabled_context_builtin context:Standard.Base.Any.Any environment:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any - with_enabled_context context:Standard.Base.Any.Any environment:Standard.Base.Any.Any= ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any -- with_enabled_context_builtin context:Standard.Base.Any.Any environment:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any - wrap_primitive_stack_trace_element el:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Base/0.0.0-dev/src/Internal/Context_Helpers.enso b/distribution/lib/Standard/Base/0.0.0-dev/src/Internal/Context_Helpers.enso new file mode 100644 index 000000000000..cddd97c9c791 --- /dev/null +++ b/distribution/lib/Standard/Base/0.0.0-dev/src/Internal/Context_Helpers.enso @@ -0,0 +1,21 @@ +private + +import project.Error.Error +import project.Runtime.Context +import project.Data.Numbers.Integer +import project.Data.Text.Text +from project.Data.Boolean import Boolean, False, True + + +Integer.from (that:Context) = case that of + Context.Input -> 1 + Context.Output -> 2 + Context.Dataflow_Stack_Trace -> 4 + _ -> Error.throw "Unknown context "+that.to_text + + +type Context_Helpers + is_enabled c env = @Builtin_Method "Context.is_enabled_builtin" + with_enabled_context_builtin context environment ~action = @Builtin_Method "Runtime.with_enabled_context_builtin" + with_disabled_context_builtin context environment ~action = @Builtin_Method "Runtime.with_disabled_context_builtin" + current_execution_environment = @Builtin_Method "Runtime.current_execution_environment" diff --git a/distribution/lib/Standard/Base/0.0.0-dev/src/Internal/Runtime_Helpers.enso b/distribution/lib/Standard/Base/0.0.0-dev/src/Internal/Runtime_Helpers.enso new file mode 100644 index 000000000000..260c06644cbc --- /dev/null +++ b/distribution/lib/Standard/Base/0.0.0-dev/src/Internal/Runtime_Helpers.enso @@ -0,0 +1,14 @@ +private + +## PRIVATE + + Returns a raw representation of the current execution stack trace. + You probably want `Runtime.get_stack_trace` instead. +primitive_get_stack_trace = @Builtin_Method "Runtime.primitive_get_stack_trace" + +gc = @Builtin_Method "Runtime.gc" +assertions_enabled = @Builtin_Method "Runtime.assertions_enabled" +no_inline ~action = @Builtin_Method "Runtime.no_inline" +no_inline_with_arg function arg = @Builtin_Method "Runtime.no_inline_with_arg" + + diff --git a/distribution/lib/Standard/Base/0.0.0-dev/src/Runtime.enso b/distribution/lib/Standard/Base/0.0.0-dev/src/Runtime.enso index 5515d2be8311..db558e2cea8d 100644 --- a/distribution/lib/Standard/Base/0.0.0-dev/src/Runtime.enso +++ b/distribution/lib/Standard/Base/0.0.0-dev/src/Runtime.enso @@ -15,19 +15,12 @@ import project.Panic.Panic import project.Polyglot.Polyglot import project.Runtime.Source_Location.Source_Location import project.System +import project.Internal.Runtime_Helpers +import project.Internal.Context_Helpers.Context_Helpers from project.Data.Boolean import Boolean, False, True from project.Data.Text.Extensions import all from project.Runtime.Context import Dataflow_Stack_Trace, Input, Output -## Utilities for interacting with the runtime. - -## PRIVATE - - Returns a raw representation of the current execution stack trace. - You probably want `Runtime.get_stack_trace` instead. -primitive_get_stack_trace : Array -primitive_get_stack_trace = @Builtin_Method "Runtime.primitive_get_stack_trace" - ## PRIVATE ADVANCED @@ -35,7 +28,7 @@ primitive_get_stack_trace = @Builtin_Method "Runtime.primitive_get_stack_trace" resulting vector is such that the top stack frame is the first element. get_stack_trace : Vector Stack_Trace_Element get_stack_trace = - prim_stack = primitive_get_stack_trace + prim_stack = Runtime_Helpers.primitive_get_stack_trace stack_with_own_frame = Vector.from_polyglot_array prim_stack stack = stack_with_own_frame.drop (..First 1) stack.map wrap_primitive_stack_trace_element @@ -53,7 +46,7 @@ get_stack_trace = Runtime.gc gc : Nothing -gc = @Builtin_Method "Runtime.gc" +gc = Runtime_Helpers.gc ## PRIVATE ADVANCED @@ -72,7 +65,7 @@ assert (~action : Boolean) (message : Text = "") = ## PRIVATE Returns True if assertions are enabled. -assertions_enabled = @Builtin_Method "Runtime.assertions_enabled" +assertions_enabled = Runtime_Helpers.assertions_enabled ## PRIVATE ADVANCED @@ -91,7 +84,7 @@ assertions_enabled = @Builtin_Method "Runtime.assertions_enabled" Runtime.no_inline <| IO.println "Hi!" no_inline : Any -> Any -no_inline ~action = @Builtin_Method "Runtime.no_inline" +no_inline ~action = Runtime_Helpers.no_inline action ## PRIVATE ADVANCED @@ -110,7 +103,7 @@ no_inline ~action = @Builtin_Method "Runtime.no_inline" Runtime.no_inline_with_arg IO.println "Hi!" no_inline_with_arg : (Any -> Any) -> Any -> Any -no_inline_with_arg function arg = @Builtin_Method "Runtime.no_inline_with_arg" +no_inline_with_arg function arg = Runtime_Helpers.no_inline_with_arg function arg ## PRIVATE @@ -208,11 +201,7 @@ type Context - context: The context to enable. is_enabled : Text -> Boolean is_enabled self environment=Runtime.current_execution_environment = - self.is_enabled_builtin (environment.to_case Case.Lower) - - ## PRIVATE - is_enabled_builtin : Text -> Boolean - is_enabled_builtin self environment = @Builtin_Method "Context.is_enabled_builtin" + Context_Helpers.is_enabled self environment ## PRIVATE Run an action with the Context enabled. @@ -231,7 +220,7 @@ type Context Returns the name of the current execution environment. current_execution_environment : Text -current_execution_environment = @Builtin_Method "Runtime.current_execution_environment" +current_execution_environment = Context_Helpers.current_execution_environment ## PRIVATE ADVANCED @@ -244,21 +233,8 @@ current_execution_environment = @Builtin_Method "Runtime.current_execution_envir - action: Action to be performed with the context enabled. with_enabled_context : Context -> Text -> Function -> Any with_enabled_context context environment=Runtime.current_execution_environment ~action = - with_enabled_context_builtin context (environment.to_case Case.Lower) action - -## PRIVATE - ADVANCED - - Enables a specific context in the provided runtime environment for the duration of the execution of the action. + Context_Helpers.with_enabled_context_builtin context (environment.to_case Case.Lower) action - This method is internal, using `with_enabled_context` is preferred as it provides correct defaults. - - Arguments: - - environment: Name of the execution environment. - - context: The context to enable. - - action: Action to be performed with the context enabled. -with_enabled_context_builtin : Context -> Text -> Function -> Any -with_enabled_context_builtin context environment ~action = @Builtin_Method "Runtime.with_enabled_context_builtin" ## PRIVATE ADVANCED @@ -271,18 +247,4 @@ with_enabled_context_builtin context environment ~action = @Builtin_Method "Runt - action: Action to be performed with the context disabled. with_disabled_context : Context -> Text -> Function -> Any with_disabled_context context environment=Runtime.current_execution_environment ~action = - with_disabled_context_builtin context (environment.to_case Case.Lower) action - -## PRIVATE - ADVANCED - - Disables a specific context in the provided runtime environment for the duration of the execution of the action. - - This method is internal, using `with_disabled_context` is preferred as it provides correct defaults. - - Arguments: - - environment: Name of the execution environment. - - context: The context to disable. - - action: Action to be performed with the context disabled. -with_disabled_context_builtin : Context -> Text -> Function -> Any -with_disabled_context_builtin context environment ~action = @Builtin_Method "Runtime.with_disabled_context_builtin" + Context_Helpers.with_disabled_context_builtin context (environment.to_case Case.Lower) action diff --git a/engine/runtime-instrument-common/src/main/java/org/enso/interpreter/instrument/RuntimeCache.java b/engine/runtime-instrument-common/src/main/java/org/enso/interpreter/instrument/RuntimeCache.java index 95e6539748f9..e98ee56ecd61 100644 --- a/engine/runtime-instrument-common/src/main/java/org/enso/interpreter/instrument/RuntimeCache.java +++ b/engine/runtime-instrument-common/src/main/java/org/enso/interpreter/instrument/RuntimeCache.java @@ -59,12 +59,17 @@ public Object getAnyValue(UUID key) { @Override public Object apply(String uuid) { - var key = UUID.fromString(uuid); - var ref = expressions.get(key); - var res = ref != null ? ref.get() : null; - var callback = observer; - if (callback != null) { - callback.accept(key); + Object res; + try { + var key = UUID.fromString(uuid); + var ref = expressions.get(key); + res = ref != null ? ref.get() : null; + var callback = observer; + if (callback != null) { + callback.accept(key); + } + } catch (IllegalArgumentException ex) { + res = null; } return res; } diff --git a/engine/runtime-instrument-common/src/main/java/org/enso/interpreter/service/ExecutionService.java b/engine/runtime-instrument-common/src/main/java/org/enso/interpreter/service/ExecutionService.java index 3dc436734518..e0d23504c709 100644 --- a/engine/runtime-instrument-common/src/main/java/org/enso/interpreter/service/ExecutionService.java +++ b/engine/runtime-instrument-common/src/main/java/org/enso/interpreter/service/ExecutionService.java @@ -15,7 +15,6 @@ import com.oracle.truffle.api.interop.UnsupportedTypeException; import com.oracle.truffle.api.nodes.Node; import com.oracle.truffle.api.nodes.RootNode; -import com.oracle.truffle.api.object.DynamicObjectLibrary; import com.oracle.truffle.api.source.SourceSection; import java.io.File; import java.io.IOException; @@ -50,6 +49,7 @@ import org.enso.interpreter.runtime.instrument.NotificationHandler; import org.enso.interpreter.runtime.instrument.Timer; import org.enso.interpreter.runtime.scope.ModuleScope; +import org.enso.interpreter.runtime.state.RunStateNode; import org.enso.interpreter.runtime.state.State; import org.enso.interpreter.service.error.FailedToApplyEditsException; import org.enso.interpreter.service.error.MethodNotFoundException; @@ -203,12 +203,10 @@ public void execute( service -> service.bind(module, call.getFunction().getCallTarget(), callbacks, this.timer)); - DynamicObjectLibrary.getUncached() - .put(call.getState().getContainer(), IdExecutionService.class, cache); - Object p = context.getThreadManager().enter(); try { - execute.getCallTarget().call(substituteMissingArguments(call)); + var callFn = Function.fullyApplied(execute.getCallTarget(), substituteMissingArguments(call)); + RunStateNode.getUncached().execute(null, cacheKey(), cache, callFn); } finally { context.getThreadManager().leave(p); eventNodeFactory.ifPresent(EventBinding::dispose); @@ -335,7 +333,9 @@ public String toDisplayString(Object receiver) { public Object callFunction(Object fn, Object argument) { Object p = context.getThreadManager().enter(); try { - return call.getCallTarget().call(fn, new Object[] {argument}); + var callArgs = + Function.ArgumentsHelper.buildArguments(null, new Object[] {fn, new Object[] {argument}}); + return call.getCallTarget().call(callArgs); } finally { context.getThreadManager().leave(p); } @@ -398,12 +398,9 @@ public Object callFunctionWithInstrument( state = State.create(context); function = new FunctionCallInstrumentationNode.FunctionCall(fn, state, new Object[0]); } - if (executionCache != null) { - DynamicObjectLibrary.getUncached() - .put(state.getContainer(), IdExecutionService.class, executionCache); - } - - ret[0] = call.getCallTarget().call(function, arguments); + var callArgs = new Object[] {function, arguments}; + var callFn = Function.fullyApplied(call.getCallTarget(), callArgs); + ret[0] = RunStateNode.getUncached().execute(null, cacheKey(), executionCache, callFn); } finally { context.getThreadManager().leave(p); eventNodeFactory.ifPresent(EventBinding::dispose); @@ -411,6 +408,10 @@ public Object callFunctionWithInstrument( return ret[0]; } + private Type cacheKey() { + return context.getBuiltins().instrumentor(); + } + /** * Sets a module at a given path to use a literal source. * @@ -576,10 +577,11 @@ private static final class ExecuteRootNode extends RootNode { @Override public Object execute(VirtualFrame frame) { try { - if (frame.getArguments()[0] instanceof FunctionCallInstrumentationNode.FunctionCall call) { + var args = Function.ArgumentsHelper.getPositionalArguments(frame.getArguments()); + if (args[0] instanceof FunctionCallInstrumentationNode.FunctionCall call) { return iop.execute(call); } - throw ArityException.create(1, 1, frame.getArguments().length); + throw ArityException.create(1, 1, args.length); } catch (UnsupportedTypeException | ArityException | UnsupportedMessageException ex) { throw raise(RuntimeException.class, ex); } @@ -596,9 +598,10 @@ private static final class CallRootNode extends RootNode { @Override public Object execute(VirtualFrame frame) { try { - var self = frame.getArguments()[0]; - var args = (Object[]) frame.getArguments()[1]; - return iop.execute(self, args); + var callArgs = Function.ArgumentsHelper.getPositionalArguments(frame.getArguments()); + var fn = callArgs[0]; + var args = (Object[]) callArgs[1]; + return iop.execute(fn, args); } catch (UnsupportedTypeException | ArityException | UnsupportedMessageException ex) { throw raise(RuntimeException.class, ex); } diff --git a/engine/runtime-integration-tests/src/test/java/org/enso/interpreter/test/instrument/RuntimeServerTesting.java b/engine/runtime-integration-tests/src/test/java/org/enso/interpreter/test/instrument/RuntimeServerTesting.java new file mode 100644 index 000000000000..d2e46d4b75fe --- /dev/null +++ b/engine/runtime-integration-tests/src/test/java/org/enso/interpreter/test/instrument/RuntimeServerTesting.java @@ -0,0 +1,93 @@ +package org.enso.interpreter.test.instrument; + +import static org.junit.Assert.assertEquals; + +import java.util.List; +import java.util.UUID; +import org.enso.interpreter.test.Metadata; +import org.enso.interpreter.test.instrument.RuntimeServerTest.TestContext; +import org.enso.polyglot.runtime.Runtime$Api$CreateContextRequest; +import org.enso.polyglot.runtime.Runtime$Api$CreateContextResponse; +import org.enso.polyglot.runtime.Runtime$Api$MethodPointer; +import org.enso.polyglot.runtime.Runtime$Api$OpenFileRequest; +import org.enso.polyglot.runtime.Runtime$Api$OpenFileResponse$; +import org.enso.polyglot.runtime.Runtime$Api$PushContextRequest; +import org.enso.polyglot.runtime.Runtime$Api$Request; +import org.enso.polyglot.runtime.Runtime$Api$Response; +import org.enso.polyglot.runtime.Runtime$Api$StackItem$ExplicitCall; +import org.enso.scala.wrapper.ScalaConversions; +import scala.Option; + +/** + * Invoked from {@link RuntimeServerTest}. Reuses the same infrastructure while it allows writing + * new Java instead of in Scala. + */ +final class RuntimeServerTesting { + static void accessRuntimeCache(TestContext context) { + + var contextId = UUID.randomUUID(); + var requestId = UUID.randomUUID(); + var reqOptId = Option.apply(requestId); + var moduleName = "Enso_Test.Test.Main"; + + var metadata = new Metadata(""); + var id_x_0 = metadata.addItem(166, 1, "aa"); + var id_x_1 = metadata.addItem(178, 1, "ab"); + + var code = + """ + from Standard.Base.Runtime import value_for_uuid + from Standard.Base.Data.Numbers import all + import Standard.Base.IO + + private v n = value_for_uuid n + + main = + x_0 = 6 + x_1 = 7 + x_2 = (v "${aa}")*(v "${bb}") + IO.println x_2 + IO.println x_0*x_1 + IO.println x_2==x_0*x_1 + """ + .replace("${aa}", id_x_0.toString()) + .replace("${bb}", id_x_1.toString()); + var contents = metadata.appendToCode(code); + var mainFile = context.writeMain(contents); + + metadata.assertInCode(id_x_0, code, "6"); + metadata.assertInCode(id_x_1, code, "7"); + + // create context + context.send( + new Runtime$Api$Request(reqOptId, new Runtime$Api$CreateContextRequest(contextId))); + assertEquals( + context.receive(), + Option.apply( + new Runtime$Api$Response(reqOptId, new Runtime$Api$CreateContextResponse(contextId)))); + + // open file + context.send( + new Runtime$Api$Request(reqOptId, new Runtime$Api$OpenFileRequest(mainFile, contents))); + assertEquals( + context.receive(), + Option.apply(new Runtime$Api$Response(reqOptId, Runtime$Api$OpenFileResponse$.MODULE$))); + + // push main + context.send( + new Runtime$Api$Request( + reqOptId, + new Runtime$Api$PushContextRequest( + contextId, + new Runtime$Api$StackItem$ExplicitCall( + new Runtime$Api$MethodPointer(moduleName, moduleName, "main"), + Option.empty(), + ScalaConversions.nil().toVector())))); + var reply = context.receiveN(5, 60); + assertEquals("Five messages", 5, reply.size()); + assertEquals( + "Output should be correct for " + reply + " messages", + List.of("42", "42", "True"), + ScalaConversions.asJava(context.consumeOut())); + } +} diff --git a/engine/runtime-integration-tests/src/test/java/org/enso/interpreter/test/interop/MetaObjectTest.java b/engine/runtime-integration-tests/src/test/java/org/enso/interpreter/test/interop/MetaObjectTest.java index bd14d2b7dbb3..a0800f386c6c 100644 --- a/engine/runtime-integration-tests/src/test/java/org/enso/interpreter/test/interop/MetaObjectTest.java +++ b/engine/runtime-integration-tests/src/test/java/org/enso/interpreter/test/interop/MetaObjectTest.java @@ -126,6 +126,7 @@ public void checkAllConstantGenValuesArePresent() throws Exception { } } expecting.remove(ConstantsGen.ARRAY_LIKE_HELPERS); + expecting.remove(ConstantsGen.INSTRUMENTOR); var w = new StringBuilder(); var f = new StringWriter(); var err = new PrintWriter(f); diff --git a/engine/runtime-integration-tests/src/test/scala/org/enso/interpreter/test/instrument/RuntimeServerTest.scala b/engine/runtime-integration-tests/src/test/scala/org/enso/interpreter/test/instrument/RuntimeServerTest.scala index fbd9fd998d01..aa68c1779708 100644 --- a/engine/runtime-integration-tests/src/test/scala/org/enso/interpreter/test/instrument/RuntimeServerTest.scala +++ b/engine/runtime-integration-tests/src/test/scala/org/enso/interpreter/test/instrument/RuntimeServerTest.scala @@ -1256,6 +1256,10 @@ class RuntimeServerTest ) } + it should "accessRuntimeCache" in { + RuntimeServerTesting.accessRuntimeCache(context) + } + it should "send error updates for partially applied autoscope constructors" in { val contextId = UUID.randomUUID() val requestId = UUID.randomUUID() diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/callable/IndirectInvokeConversionNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/callable/IndirectInvokeConversionNode.java index 048057fee5b9..82441dc490ef 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/callable/IndirectInvokeConversionNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/callable/IndirectInvokeConversionNode.java @@ -26,6 +26,7 @@ import org.enso.interpreter.runtime.error.PanicException; import org.enso.interpreter.runtime.error.PanicSentinel; import org.enso.interpreter.runtime.library.dispatch.TypeOfNode; +import org.enso.interpreter.runtime.state.State; import org.enso.interpreter.runtime.warning.AppendWarningNode; import org.enso.interpreter.runtime.warning.WarningsLibrary; import org.enso.interpreter.runtime.warning.WithWarnings; @@ -62,7 +63,7 @@ static boolean hasType(TypeOfNode typeOfNode, Object value) { @Specialization(guards = {"hasType(typeOfNode, that)"}) Object doConvertFrom( MaterializedFrame frame, - Object state, + State state, UnresolvedConversion conversion, Object self, Object that, @@ -96,7 +97,7 @@ Object doConvertFrom( @Specialization Object doDataflowError( MaterializedFrame frame, - Object state, + State state, UnresolvedConversion conversion, Object self, DataflowError that, @@ -187,7 +188,7 @@ Object doWarning( @Specialization(guards = "interop.isString(that)") Object doConvertText( MaterializedFrame frame, - Object state, + State state, UnresolvedConversion conversion, Object self, Object that, diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/callable/dispatch/IndirectInvokeFunctionNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/callable/dispatch/IndirectInvokeFunctionNode.java index c72642a09657..710336549639 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/callable/dispatch/IndirectInvokeFunctionNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/callable/dispatch/IndirectInvokeFunctionNode.java @@ -41,7 +41,7 @@ public abstract class IndirectInvokeFunctionNode extends Node { public abstract Object execute( Function callable, MaterializedFrame callerFrame, - Object state, + State state, Object[] arguments, CallArgumentInfo[] schema, InvokeCallableNode.DefaultsExecutionMode defaultsExecutionMode, diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/meta/InstrumentorBuiltin.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/meta/InstrumentorBuiltin.java index 3799580476bc..9fd511e4b2c8 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/meta/InstrumentorBuiltin.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/meta/InstrumentorBuiltin.java @@ -3,17 +3,17 @@ import com.oracle.truffle.api.CompilerDirectives; import com.oracle.truffle.api.interop.InvalidArrayIndexException; import com.oracle.truffle.api.nodes.Node; -import com.oracle.truffle.api.object.DynamicObjectLibrary; +import org.enso.interpreter.dsl.Builtin; import org.enso.interpreter.dsl.BuiltinMethod; import org.enso.interpreter.runtime.EnsoContext; +import org.enso.interpreter.runtime.builtin.BuiltinObject; import org.enso.interpreter.runtime.callable.UnresolvedSymbol; import org.enso.interpreter.runtime.callable.function.Function; import org.enso.interpreter.runtime.data.text.Text; import org.enso.interpreter.runtime.data.vector.ArrayLikeAtNode; import org.enso.interpreter.runtime.data.vector.ArrayLikeLengthNode; import org.enso.interpreter.runtime.error.PanicException; -import org.enso.interpreter.runtime.state.State; -import org.enso.polyglot.debugger.IdExecutionService; +import org.enso.interpreter.runtime.state.GetStateNode; @BuiltinMethod( type = "Meta", @@ -25,23 +25,25 @@ public class InstrumentorBuiltin extends Node { @SuppressWarnings("unchecked") @CompilerDirectives.TruffleBoundary - private static Object findUuid(State state, Object uuid) { - var obj = - DynamicObjectLibrary.getUncached() - .getOrDefault(state.getContainer(), IdExecutionService.class, null); - if (obj instanceof java.util.function.Function cache) { - return cache.apply(uuid.toString()); + private static Object findUuid(Object uuid, EnsoContext ctx) { + var key = ctx.getBuiltins().instrumentor(); + try { + var obj = GetStateNode.getUncached().executeGet(key); + if (obj instanceof java.util.function.Function cache) { + return cache.apply(uuid.toString()); + } + } catch (PanicException ex) { + // ignore and return null } return null; } Object execute(Text operation, Object args) { var ctx = EnsoContext.get(this); - State state = ctx.currentState(); var op = operation.toString(); try { if ("uuid".equals(op)) { - var res = findUuid(state, args); + var res = findUuid(args, ctx); if (res == null) { return ctx.getBuiltins().nothing(); } else { @@ -125,4 +127,17 @@ private Object activate(Instrumentor b, Object arg) { return null; } } + + @Builtin(stdlibName = "Standard.Base.Internal.Instrumentor", name = "Instrumentor") + public static final class Registration extends BuiltinObject { + @Override + protected String builtinName() { + return "Instrumentor"; + } + + @Override + public Object toDisplayString(boolean allowSideEffects) { + return builtinName(); + } + } } diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/runtime/ContextIsEnabledNode.java b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/runtime/ContextIsEnabledNode.java index 330cb3c9c6e0..c34354bd7a6c 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/runtime/ContextIsEnabledNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/runtime/ContextIsEnabledNode.java @@ -17,8 +17,8 @@ public class ContextIsEnabledNode extends Node { private @Child ExpectStringNode expectStringNode = ExpectStringNode.build(); private @Child HasContextEnabledNode hasContextEnabledNode = HasContextEnabledNode.create(); - Object execute(Atom self, Object environmentName) { - String envName = expectStringNode.execute(environmentName); + Object execute(Object self, Atom context, Object env) { + String envName = expectStringNode.execute(env); ExecutionEnvironment currentEnv = EnsoContext.get(this).getExecutionEnvironment(); if (!currentEnv.getName().equals(envName)) { Atom error = @@ -28,6 +28,6 @@ Object execute(Atom self, Object environmentName) { .makeUnimplemented("execution environment mismatch"); throw new PanicException(error, this); } - return hasContextEnabledNode.executeHasContextEnabled(currentEnv, self.getConstructor()); + return hasContextEnabledNode.executeHasContextEnabled(currentEnv, context.getConstructor()); } } diff --git a/engine/runtime/src/main/java/org/enso/interpreter/runtime/EnsoContext.java b/engine/runtime/src/main/java/org/enso/interpreter/runtime/EnsoContext.java index fdc9c104be80..5ecc5db507ad 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/runtime/EnsoContext.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/runtime/EnsoContext.java @@ -18,7 +18,6 @@ import com.oracle.truffle.api.interop.UnsupportedMessageException; import com.oracle.truffle.api.io.TruffleProcessBuilder; import com.oracle.truffle.api.nodes.Node; -import com.oracle.truffle.api.object.Shape; import com.oracle.truffle.api.profiles.ValueProfile; import com.oracle.truffle.api.source.Source; import java.io.BufferedReader; @@ -37,8 +36,10 @@ import java.util.UUID; import java.util.concurrent.ExecutorService; import java.util.concurrent.Future; +import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicLong; import java.util.function.Consumer; +import java.util.function.Supplier; import java.util.logging.Level; import org.enso.common.LanguageInfo; import org.enso.common.RuntimeOptions; @@ -108,7 +109,9 @@ public final class EnsoContext { private final LockManager lockManager; private final AtomicLong clock = new AtomicLong(); - private final Shape rootStateShape = Shape.newBuilder().layout(State.Container.class).build(); + @CompilationFinal(dimensions = 1) + private Object[] extraValues = new Object[0]; + private ExecutionEnvironment globalExecutionEnvironment; private final int warningsLimit; @@ -925,14 +928,6 @@ public int getWarningsLimit() { return this.warningsLimit; } - public Shape getRootStateShape() { - return rootStateShape; - } - - public State emptyState() { - return State.create(this); - } - /** * @return the notification handler. */ @@ -1041,4 +1036,56 @@ private T getOption(OptionKey key) { public State currentState() { return singleStateProfile.profile(language.currentState()); } + + private Object extraValues(int index, Supplier init) { + if (index >= extraValues.length || extraValues[index] == null) { + CompilerDirectives.transferToInterpreterAndInvalidate(); + extraValues = Arrays.copyOf(extraValues, Extra.COUNTER.get()); + extraValues[index] = init.get(); + assert extraValues[index] != null; + } + return extraValues[index]; + } + + /** + * Key to associate additional value with {@link EnsoContext}. Create a {@code private static + * final} instance in any class and then use it "as a key" to access value of the + * specified type associated with the context. + * + * @param the type of the value to access + */ + public static final class Extra { + private static final AtomicInteger COUNTER = new AtomicInteger(); + private final int index; + private final Class type; + private final Supplier init; + + /** + * Defines new value associated with the context.Use as: + * + *
+     * private static final ValueKey<Integer> MY_COUNTER = new Value<>(Integer.class);
+     * 
+ * + * @param type the type of the value to {@link #set} and {@link #get}. + * @param initialValue function to use to compute initial value + */ + public Extra(Class type, Supplier initialValue) { + this.type = type; + this.index = COUNTER.getAndIncrement(); + this.init = initialValue; + } + + /** + * Obtains (readily for fast path) value associated with this key stored in this + * context. Creates initial value, if it hasn't yet been created. + * + * @param ctx the context + * @return the value associated with this key in the given context + */ + public T get(EnsoContext ctx) { + var value = ctx.extraValues(index, init); + return type.cast(value); + } + } } diff --git a/engine/runtime/src/main/java/org/enso/interpreter/runtime/Module.java b/engine/runtime/src/main/java/org/enso/interpreter/runtime/Module.java index 1fb62a430711..4a086dce0a89 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/runtime/Module.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/runtime/Module.java @@ -689,7 +689,7 @@ private static Object evalExpression( null, eval.getFunction(), callerInfo, - context.emptyState(), + context.currentState(), new Object[] {builtins.debug(), Text.create(expr)}, null); } diff --git a/engine/runtime/src/main/java/org/enso/interpreter/runtime/builtin/Builtins.java b/engine/runtime/src/main/java/org/enso/interpreter/runtime/builtin/Builtins.java index 523dc0459d35..e8b84b1915c3 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/runtime/builtin/Builtins.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/runtime/builtin/Builtins.java @@ -123,6 +123,7 @@ public static class Debug { private final NoWrap noWrap; private final ProblemBehavior problemBehavior; private final AdditionalWarnings additionalWarnings; + private final Builtin instrumentor; /** * Creates an instance with builtin methods installed. @@ -178,6 +179,7 @@ public Builtins(EnsoContext context) { noWrap = getBuiltinType(NoWrap.class); problemBehavior = getBuiltinType(ProblemBehavior.class); additionalWarnings = getBuiltinType(AdditionalWarnings.class); + instrumentor = builtins.get(org.enso.interpreter.node.expression.builtin.Instrumentor.class); error = new Error(this, context); system = new System(this); @@ -778,6 +780,13 @@ public Type dataflowError() { return dataflowError.getType(); } + /** + * @return represents the Instrumentor type + */ + public Type instrumentor() { + return instrumentor.getType(); + } + /** * Returns the builtin module scope. * diff --git a/engine/runtime/src/main/java/org/enso/interpreter/runtime/callable/UnresolvedConversion.java b/engine/runtime/src/main/java/org/enso/interpreter/runtime/callable/UnresolvedConversion.java index 96d833f64fb5..bf0c20007c35 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/runtime/callable/UnresolvedConversion.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/runtime/callable/UnresolvedConversion.java @@ -108,7 +108,7 @@ static Object doDispatch( @CachedLibrary("conversion") InteropLibrary thisLib) throws ArityException { return interopConversionCallNode.execute( - conversion, EnsoContext.get(thisLib).emptyState(), arguments); + conversion, EnsoContext.get(thisLib).currentState(), arguments); } } diff --git a/engine/runtime/src/main/java/org/enso/interpreter/runtime/callable/UnresolvedSymbol.java b/engine/runtime/src/main/java/org/enso/interpreter/runtime/callable/UnresolvedSymbol.java index 783d48bfcd5a..290024eff4ff 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/runtime/callable/UnresolvedSymbol.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/runtime/callable/UnresolvedSymbol.java @@ -124,7 +124,7 @@ static Object doDispatch( @CachedLibrary("symbol") InteropLibrary thisLib) throws ArityException { return interopMethodCallNode.execute( - symbol, EnsoContext.get(thisLib).emptyState(), arguments); + symbol, EnsoContext.get(thisLib).currentState(), arguments); } } diff --git a/engine/runtime/src/main/java/org/enso/interpreter/runtime/callable/function/Function.java b/engine/runtime/src/main/java/org/enso/interpreter/runtime/callable/function/Function.java index 4480aba4a4a2..eabdb4d6e4b8 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/runtime/callable/function/Function.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/runtime/callable/function/Function.java @@ -23,6 +23,7 @@ import org.enso.common.MethodNames; import org.enso.interpreter.node.callable.InteropApplicationNode; import org.enso.interpreter.node.callable.dispatch.InvokeFunctionNode; +import org.enso.interpreter.node.callable.thunk.ThunkExecutorNode; import org.enso.interpreter.node.expression.builtin.BuiltinRootNode; import org.enso.interpreter.runtime.EnsoContext; import org.enso.interpreter.runtime.callable.CallerInfo; @@ -87,6 +88,25 @@ public static Function thunk(RootCallTarget callTarget, MaterializedFrame scope) return new Function(callTarget, scope, FunctionSchema.THUNK); } + /** + * Helper method to construct a function with pre-applied arguments from any call target. + * + * @param callTarget the call target to invoke + * @param args the arguments to pass to the call target + * @return fully saturated function ready to be processed by {@link ThunkExecutorNode} + */ + public static Function fullyApplied(RootCallTarget callTarget, Object... args) { + var defs = new ArgumentDefinition[args.length]; + var appl = new boolean[args.length]; + for (var i = 0; i < args.length; i++) { + defs[i] = + new ArgumentDefinition(i, null, null, null, ArgumentDefinition.ExecutionMode.EXECUTE); + appl[i] = true; + } + var schema = FunctionSchema.newBuilder().argumentDefinitions(defs).hasPreapplied(appl).build(); + return new Function(callTarget, null, schema, args, new Object[0]); + } + /** * Creates a Function object from a {@link BuiltinRootNode} and argument definitions. * @@ -226,7 +246,7 @@ static Object doCall( @Cached InlinedBranchProfile panicProfile) { try { return interopApplicationNode.execute( - function, EnsoContext.get(thisLib).emptyState(), arguments); + function, EnsoContext.get(thisLib).currentState(), arguments); } catch (StackOverflowError err) { CompilerDirectives.transferToInterpreter(); var asserts = false; diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/state/GetStateNode.java b/engine/runtime/src/main/java/org/enso/interpreter/runtime/state/GetStateNode.java similarity index 65% rename from engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/state/GetStateNode.java rename to engine/runtime/src/main/java/org/enso/interpreter/runtime/state/GetStateNode.java index 5109cb453955..39bc67de633b 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/state/GetStateNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/runtime/state/GetStateNode.java @@ -1,7 +1,8 @@ -package org.enso.interpreter.node.expression.builtin.state; +package org.enso.interpreter.runtime.state; import com.oracle.truffle.api.dsl.Bind; import com.oracle.truffle.api.dsl.Fallback; +import com.oracle.truffle.api.dsl.GenerateUncached; import com.oracle.truffle.api.dsl.ReportPolymorphism; import com.oracle.truffle.api.dsl.Specialization; import com.oracle.truffle.api.library.CachedLibrary; @@ -10,20 +11,38 @@ import org.enso.interpreter.dsl.BuiltinMethod; import org.enso.interpreter.runtime.EnsoContext; import org.enso.interpreter.runtime.error.PanicException; -import org.enso.interpreter.runtime.state.State; +/** Use this node to manipulate {@link State}. */ @BuiltinMethod( type = "State", name = "get", description = "Returns the current value of monadic state.", autoRegister = false) @ReportPolymorphism +@GenerateUncached public abstract class GetStateNode extends Node { - static GetStateNode build() { + public static GetStateNode build() { return GetStateNodeGen.create(); } - abstract Object execute(Object key); + public static GetStateNode getUncached() { + return GetStateNodeGen.getUncached(); + } + + GetStateNode() {} + + final Object execute(Object key) { + return executeGet(key); + } + + /** + * Reads value associated with a key from the {@link State}. + * + * @param key the key to read the value for + * @return the value associated with the key + * @throws {@link PanicException} when there is no such key in the {@link State} + */ + public abstract Object executeGet(Object key); final State state() { return EnsoContext.get(this).currentState(); diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/state/PutStateNode.java b/engine/runtime/src/main/java/org/enso/interpreter/runtime/state/PutStateNode.java similarity index 65% rename from engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/state/PutStateNode.java rename to engine/runtime/src/main/java/org/enso/interpreter/runtime/state/PutStateNode.java index cf8398ab0c07..c1341a2c9bd3 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/state/PutStateNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/runtime/state/PutStateNode.java @@ -1,4 +1,4 @@ -package org.enso.interpreter.node.expression.builtin.state; +package org.enso.interpreter.runtime.state; import com.oracle.truffle.api.dsl.Bind; import com.oracle.truffle.api.dsl.Fallback; @@ -10,8 +10,8 @@ import org.enso.interpreter.dsl.BuiltinMethod; import org.enso.interpreter.runtime.EnsoContext; import org.enso.interpreter.runtime.error.PanicException; -import org.enso.interpreter.runtime.state.State; +/** Use this node to manipulate {@link State}. */ @BuiltinMethod( type = "State", name = "put", @@ -19,11 +19,25 @@ autoRegister = false) @ReportPolymorphism public abstract class PutStateNode extends Node { - static PutStateNode build() { + public static PutStateNode build() { return PutStateNodeGen.create(); } - abstract Object execute(Object key, Object new_state); + PutStateNode() {} + + final Object execute(Object key, Object newState) { + return executePut(key, newState); + } + + /** + * Updates a value in the {@link State}. The node never defines new state key! + * + * @param key the key in the state as defined by the {@link RunStateNode#execute} + * @param newState new value to associate with the key + * @return the {@code newState} value + * @throws {@link PanicException} if the key hasn't been defined in the {@link State} yet + */ + public abstract Object executePut(Object key, Object newState); final State state() { return EnsoContext.get(this).currentState(); diff --git a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/state/RunStateNode.java b/engine/runtime/src/main/java/org/enso/interpreter/runtime/state/RunStateNode.java similarity index 69% rename from engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/state/RunStateNode.java rename to engine/runtime/src/main/java/org/enso/interpreter/runtime/state/RunStateNode.java index 771b4bff1da8..97c0bc8215bb 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin/state/RunStateNode.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/runtime/state/RunStateNode.java @@ -1,8 +1,10 @@ -package org.enso.interpreter.node.expression.builtin.state; +package org.enso.interpreter.runtime.state; import com.oracle.truffle.api.dsl.Bind; +import com.oracle.truffle.api.dsl.Cached; import com.oracle.truffle.api.dsl.Cached.Shared; import com.oracle.truffle.api.dsl.Fallback; +import com.oracle.truffle.api.dsl.GenerateUncached; import com.oracle.truffle.api.dsl.ReportPolymorphism; import com.oracle.truffle.api.dsl.Specialization; import com.oracle.truffle.api.frame.VirtualFrame; @@ -16,8 +18,8 @@ import org.enso.interpreter.runtime.EnsoContext; import org.enso.interpreter.runtime.data.Type; import org.enso.interpreter.runtime.error.PanicException; -import org.enso.interpreter.runtime.state.State; +/** Use this node to manipulate {@link State}. */ @BuiltinMethod( type = "State", name = "run", @@ -25,15 +27,30 @@ autoRegister = false, inlineable = true) @ReportPolymorphism +@GenerateUncached public abstract class RunStateNode extends Node { - static RunStateNode build() { + RunStateNode() {} + + public static RunStateNode build() { return RunStateNodeGen.create(); } - private @Child ThunkExecutorNode thunkExecutorNode = ThunkExecutorNode.build(); + public static RunStateNode getUncached() { + return RunStateNodeGen.getUncached(); + } - abstract Object execute( - VirtualFrame frame, Object key, Object local_state, @Suspend Object computation); + /** + * Defines new value in {@link State}. Use {@link PutStateNode} to change the value inside of the + * {@code computation} and {@link GetStateNode} to read the value. + * + * @param frame the execution frame to pass to {@code computation} + * @param key the key to define in the {@link State} + * @param value the value to assign to the state + * @param computation the computation to perform the the {@code key} being in the {@link State} + * @return result of {@code computation} + */ + public abstract Object execute( + VirtualFrame frame, Object key, Object value, @Suspend Object computation); final State state() { return EnsoContext.get(this).currentState(); @@ -46,6 +63,7 @@ Object doExisting( Object local, Object computation, @Bind("state().getContainer()") State.Container data, + @Shared("thunkNode") @Cached ThunkExecutorNode thunkExecutorNode, @Shared("dynamicObjectLib") @CachedLibrary(limit = "10") DynamicObjectLibrary objects) { var old = objects.getOrDefault(data, key, null); objects.put(data, key, local); @@ -64,6 +82,7 @@ Object doFresh( Object local, Object computation, @Bind("state().getContainer()") State.Container data, + @Shared("thunkNode") @Cached ThunkExecutorNode thunkExecutorNode, @Shared("dynamicObjectLib") @CachedLibrary(limit = "10") DynamicObjectLibrary objects) { objects.put(data, key, local); try { diff --git a/engine/runtime/src/main/java/org/enso/interpreter/runtime/state/State.java b/engine/runtime/src/main/java/org/enso/interpreter/runtime/state/State.java index 408756417e45..ac9770c7c816 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/runtime/state/State.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/runtime/state/State.java @@ -4,28 +4,55 @@ import com.oracle.truffle.api.object.Shape; import org.enso.interpreter.runtime.EnsoContext; +/** + * Represents a thread local state associated with execution of the program. Use nodes: + * + *
    + *
  • {@link RunStateNode} to run execution with some state + *
  • {@link GetStateNode} to read value in a state + *
  • {@link PutStateNode} to change value in a state + *
+ * + * First and foremost use {@link RunStateNode} to define a new key in the {@link State}. Then use + * the other nodes to read and update the value. The key and its value is removed from the {@link + * State} when {@link RunStateNode#execute} method returns. Current state can be obtained by {@link + * EnsoContext#currentState} method. + */ public final class State { + private static final EnsoContext.Extra ROOT_STATE_SHAPE = + new EnsoContext.Extra<>( + Shape.class, + () -> { + return Shape.newBuilder().layout(State.Container.class).build(); + }); + private final Container container; private State(Container container) { this.container = container; } - public Container getContainer() { - return container; - } - + /** + * Creates new, empty state for given context. + * + * @param context the context + * @return new instance of the state for the context + */ public static State create(EnsoContext context) { return new State(Container.create(context)); } - public static final class Container extends DynamicObject { + Container getContainer() { + return container; + } + + static final class Container extends DynamicObject { private Container(Shape shape) { super(shape); } static Container create(EnsoContext context) { - return new Container(context.getRootStateShape()); + return new Container(ROOT_STATE_SHAPE.get(context)); } } } diff --git a/lib/scala/interpreter-dsl/src/main/java/org/enso/interpreter/dsl/builtins/MethodNodeClassGenerator.java b/lib/scala/interpreter-dsl/src/main/java/org/enso/interpreter/dsl/builtins/MethodNodeClassGenerator.java index 4ac4505934f3..2a9203632289 100644 --- a/lib/scala/interpreter-dsl/src/main/java/org/enso/interpreter/dsl/builtins/MethodNodeClassGenerator.java +++ b/lib/scala/interpreter-dsl/src/main/java/org/enso/interpreter/dsl/builtins/MethodNodeClassGenerator.java @@ -56,7 +56,7 @@ public void generate( moduleOwnerInfo = ", autoRegister = " + isAutoRegister; } if (needsFrame != null) { - moduleOwnerInfo = moduleOwnerInfo + ", needsFrame = " + needsFrame; + moduleOwnerInfo = moduleOwnerInfo + ", inlineable = " + !needsFrame; } out.println("/**"); out.println( diff --git a/test/micro-distribution/lib/Standard/Base/0.0.0-dev/src/Runtime.enso b/test/micro-distribution/lib/Standard/Base/0.0.0-dev/src/Runtime.enso index 132df0fe48d5..b4d93ebc2346 100644 --- a/test/micro-distribution/lib/Standard/Base/0.0.0-dev/src/Runtime.enso +++ b/test/micro-distribution/lib/Standard/Base/0.0.0-dev/src/Runtime.enso @@ -30,11 +30,11 @@ type Context is_enabled : Text -> Boolean is_enabled self environment=Runtime.current_execution_environment = - self.is_enabled_builtin environment + is_enabled_builtin self environment - ## PRIVATE - is_enabled_builtin : Text -> Boolean - is_enabled_builtin self environment = @Builtin_Method "Context.is_enabled_builtin" +## PRIVATE +is_enabled_builtin : Text -> Boolean +is_enabled_builtin c environment = @Builtin_Method "Context.is_enabled_builtin" current_execution_environment : Text current_execution_environment = @Builtin_Method "Runtime.current_execution_environment" @@ -52,3 +52,6 @@ with_disabled_context_builtin : Context -> Text -> Function -> Any with_disabled_context_builtin context environment ~action = @Builtin_Method "Runtime.with_disabled_context_builtin" primitive_get_stack_trace = @Builtin_Method "Runtime.primitive_get_stack_trace" + +value_for_uuid id = instrumentor_builtin "uuid" id +instrumentor_builtin op args = @Builtin_Method "Meta.instrumentor_builtin" From 76f5f70247916a361636dc2758ed5414ff639ed7 Mon Sep 17 00:00:00 2001 From: Jaroslav Tulach Date: Sat, 22 Feb 2025 06:16:57 +0100 Subject: [PATCH 2/4] Honor ENSO_LAUNCHER in runProjectManagerDistribution (#12343) To speed developer experience up let's use JAR version of project manager when calling ``` sbt:enso> runProjectManagerDistribution ``` unless `ENSO_LAUNCHER=native` is specified or unless `buildProjectManagerDistribution` has explicitly been called. --- build.sbt | 18 +++++++++++++++-- docs/CONTRIBUTING.md | 33 +++++++++++++------------------ project/DistributionPackage.scala | 22 +++++++++++++++++---- 3 files changed, 48 insertions(+), 25 deletions(-) diff --git a/build.sbt b/build.sbt index f00ba4397914..35db530cef79 100644 --- a/build.sbt +++ b/build.sbt @@ -5485,17 +5485,31 @@ runEngineDistribution := { ) } +lazy val buildProjectManagerDistributionCond = + taskKey[Unit]( + "Builds the project manager distribution either via NativeImage, or just assembly Jar" + ) +buildProjectManagerDistributionCond := Def.taskIf { + if (shouldBuildNativeImage.value) { + buildProjectManagerDistribution.value + } else { + (`project-manager` / assembly).value + } +}.value + lazy val runProjectManagerDistribution = inputKey[Unit]( "Run or --debug the project manager distribution with arguments" ) runProjectManagerDistribution := { - buildEngineDistribution.value - buildProjectManagerDistribution.value + buildEngineDistributionNoIndex.value + buildProjectManagerDistributionCond.value + val projectManagerJar = (`project-manager` / assembly).value.getAbsoluteFile() val args: Seq[String] = spaceDelimited("").parsed DistributionPackage.runProjectManagerPackage( engineDistributionRoot.value, projectManagerDistributionRoot.value, + projectManagerJar, args, streams.value.log ) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 56bb82a5498a..1c8f928ea2f2 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -661,9 +661,11 @@ enso$ corepack pnpm i enso$ corepack pnpm dev:gui ``` -To build the `project-manager` one needs to launch `sbt` - one way to do it is -to execute `./run backend sbt`. When in the _sbt prompt_ one can request -compilation of the `project-manager`: +To assemble and run the `project-manager` one needs to launch `sbt` - one way to +do it is to execute `./run backend sbt`. When in the _sbt prompt_ one can +request execution of the `project-manager`: + + ```bash sbt:enso> runProjectManagerDistribution ``` + There also is a simple way to [debug](debugger/README.md). When adding `--debug` option to the _sbt command_: @@ -711,25 +716,15 @@ option to the _sbt command_: sbt:enso> runProjectManagerDistribution --debug ``` -the system also sets -`ENSO_JVM_OPTS=-agentlib:jdwp=transport=dt_socket,address=5005`. Just -[configure your Java IDE](debugger/README.md) to listen on port 5005 before +the system sets `ENSO_JVM_OPTS=-agentlib:jdwp=transport=dt_socket,address=5005`. +Just [configure your Java IDE](debugger/README.md) to listen on port 5005 before invoking the command and you'll be able to debug the engine launched by the project manager. -To summarize, these are the steps required to run IDE with the development -version of the language server: - -```bash -enso$ ./run gui watch --skip-wasm-opt -``` - -together with that also (after launching `./run backend sbt`) following _sbt -command_: - -```bash -sbt:enso> runProjectManagerDistribution -``` +By default the `runProjectManagerDistribution` command is useful for +development, but it differs from the binary used during production. To work with +a system closer to production one specify `ENSO_LAUNCHER=native` environment +variable before starting `sbt` and use the same commands as described above. #### Language Server Mode diff --git a/project/DistributionPackage.scala b/project/DistributionPackage.scala index 510d489facc8..55a234fc9857 100644 --- a/project/DistributionPackage.scala +++ b/project/DistributionPackage.scala @@ -444,16 +444,30 @@ object DistributionPackage { def runProjectManagerPackage( engineRoot: File, distributionRoot: File, + projectManagerJar: File, args: Seq[String], log: Logger ): Boolean = { import scala.collection.JavaConverters._ + val pb = new java.lang.ProcessBuilder() + val all = new java.util.ArrayList[String]() val enso = distributionRoot / "bin" / "project-manager" - log.info(s"Executing $enso ${args.mkString(" ")}") - val pb = new java.lang.ProcessBuilder() - val all = new java.util.ArrayList[String]() - all.add(enso.getAbsolutePath()) + if (enso.canExecute()) { + log.info(s"Executing $enso ${args.mkString(" ")}") + all.add(enso.getAbsolutePath()) + } else { + val java = + new File(System.getProperty("java.home")) / "bin" / executableName( + "java" + ) + log.info( + s"Cannot find $enso, trying to execute $java -jar $projectManagerJar with ${args.mkString(" ")}" + ) + all.add(java.getPath()) + all.add("-jar") + all.add(projectManagerJar.getPath()) + } all.addAll(args.asJava) pb.command(all) pb.environment().put("ENSO_ENGINE_PATH", engineRoot.toString()) From e002d942a5d49ec2d275fdeb8f0c3e62ebaa2906 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Mon, 24 Feb 2025 09:02:53 +0100 Subject: [PATCH 3/4] API check for all standard libraries (#12285) * 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 --- .../Standard/AWS/0.0.0-dev/docs/api/AWS.md | 9 + .../AWS/0.0.0-dev/docs/api/AWS_Credential.md | 16 ++ .../AWS/0.0.0-dev/docs/api/AWS_Region.md | 11 ++ .../Redshift/Internal/Redshift_Dialect.md | 35 ++++ .../Internal/Redshift_Error_Mapper.md | 6 + .../api/Database/Redshift/Redshift_Details.md | 8 + .../Standard/AWS/0.0.0-dev/docs/api/Errors.md | 24 +++ .../0.0.0-dev/docs/api/Internal/S3_Path.md | 17 ++ .../Standard/AWS/0.0.0-dev/docs/api/Main.md | 2 + .../Standard/AWS/0.0.0-dev/docs/api/S3/S3.md | 18 ++ .../AWS/0.0.0-dev/docs/api/S3/S3_File.md | 37 ++++ .../0.0.0-dev/docs/api/Column_Constraint.md | 5 + .../0.0.0-dev/docs/api/Column_Description.md | 4 + .../docs/api/Connection/Client_Certificate.md | 5 + .../docs/api/Connection/Connection.md | 38 ++++ .../docs/api/Connection/Connection_Details.md | 4 + .../docs/api/Connection/Connection_Options.md | 7 + .../docs/api/Connection/Credentials.md | 7 + .../0.0.0-dev/docs/api/Connection/Database.md | 5 + .../0.0.0-dev/docs/api/Connection/Postgres.md | 12 ++ .../api/Connection/Postgres_Connection.md | 25 +++ .../0.0.0-dev/docs/api/Connection/SQLite.md | 9 + .../docs/api/Connection/SQLite_Connection.md | 25 +++ .../docs/api/Connection/SQLite_Format.md | 12 ++ .../0.0.0-dev/docs/api/Connection/SSL_Mode.md | 8 + .../Database/0.0.0-dev/docs/api/DB_Column.md | 115 +++++++++++ .../Database/0.0.0-dev/docs/api/DB_Table.md | 107 +++++++++++ .../Database/0.0.0-dev/docs/api/Dialect.md | 38 ++++ .../0.0.0-dev/docs/api/Dialect_Flag.md | 34 ++++ .../Database/0.0.0-dev/docs/api/Errors.md | 56 ++++++ .../api/Extensions/Upload_Database_Table.md | 8 + .../api/Extensions/Upload_In_Memory_Table.md | 8 + .../Database/0.0.0-dev/docs/api/Feature.md | 22 +++ .../docs/api/Internal/Aggregate_Helper.md | 12 ++ .../docs/api/Internal/Base_Generator.md | 61 ++++++ .../docs/api/Internal/Column_Fetcher.md | 21 ++ .../Internal/Common/Connections_Helpers.md | 3 + .../Common/Database_Distinct_Helper.md | 3 + .../Internal/Common/Database_Join_Helper.md | 8 + .../Encoding_Limited_Naming_Properties.md | 8 + .../Internal/Common/Lookup_Query_Helper.md | 14 ++ .../api/Internal/Common/Offset_Helpers.md | 3 + .../api/Internal/Common/Row_Number_Helpers.md | 3 + .../Connection/Entity_Naming_Properties.md | 5 + .../docs/api/Internal/DB_Data_Link_Helpers.md | 4 + .../docs/api/Internal/DDL_Transaction.md | 12 ++ .../docs/api/Internal/Data_Link_Setup.md | 17 ++ .../docs/api/Internal/Error_Mapper.md | 7 + .../0.0.0-dev/docs/api/Internal/Helpers.md | 9 + .../api/Internal/Hidden_Table_Registry.md | 12 ++ .../0.0.0-dev/docs/api/Internal/IR/Context.md | 21 ++ .../Internal/IR/Create_Column_Descriptor.md | 4 + .../docs/api/Internal/IR/From_Spec.md | 14 ++ .../docs/api/Internal/IR/Internal_Column.md | 5 + .../docs/api/Internal/IR/Nulls_Order.md | 5 + .../api/Internal/IR/Operation_Metadata.md | 6 + .../docs/api/Internal/IR/Order_Descriptor.md | 6 + .../0.0.0-dev/docs/api/Internal/IR/Query.md | 13 ++ .../docs/api/Internal/IR/SQL_Expression.md | 12 ++ .../docs/api/Internal/IR/SQL_Join_Kind.md | 9 + .../docs/api/Internal/IR/Traversal_Helpers.md | 3 + .../docs/api/Internal/In_Transaction.md | 5 + .../docs/api/Internal/Internals_Access.md | 6 + .../docs/api/Internal/JDBC_Connection.md | 24 +++ .../docs/api/Internal/Postgres/Helpers.md | 4 + .../docs/api/Internal/Postgres/Pgpass.md | 10 + .../api/Internal/Postgres/Postgres_Dialect.md | 84 ++++++++ .../Postgres/Postgres_Error_Mapper.md | 7 + .../Postgres/Postgres_Type_Mapping.md | 17 ++ .../docs/api/Internal/Replace_Params.md | 5 + .../0.0.0-dev/docs/api/Internal/Result_Set.md | 4 + .../0.0.0-dev/docs/api/Internal/SQL_Part.md | 11 ++ .../docs/api/Internal/SQL_Type_Mapping.md | 14 ++ .../docs/api/Internal/SQL_Type_Reference.md | 15 ++ .../docs/api/Internal/SQL_Warning_Helper.md | 5 + .../api/Internal/SQLite/SQLite_Dialect.md | 69 +++++++ .../SQLite/SQLite_Entity_Naming_Properties.md | 3 + .../Internal/SQLite/SQLite_Error_Mapper.md | 7 + .../Internal/SQLite/SQLite_Type_Mapping.md | 28 +++ .../docs/api/Internal/Statement_Setter.md | 7 + .../docs/api/Internal/Table_Naming_Helper.md | 11 ++ .../Upload/Helpers/Default_Arguments.md | 5 + .../docs/api/JDBC/Generic_JDBC_Connection.md | 14 ++ .../Database/0.0.0-dev/docs/api/Main.md | 2 + .../Database/0.0.0-dev/docs/api/SQL.md | 17 ++ .../Database/0.0.0-dev/docs/api/SQL_Query.md | 6 + .../0.0.0-dev/docs/api/SQL_Statement.md | 13 ++ .../Database/0.0.0-dev/docs/api/SQL_Type.md | 6 + .../0.0.0-dev/docs/api/Take_Drop_Helpers.md | 10 + .../0.0.0-dev/docs/api/Update_Action.md | 7 + .../0.0.0-dev/docs/api/Google_Analytics.md | 11 ++ .../docs/api/Google_Analytics_Account.md | 19 ++ .../docs/api/Google_Analytics_Field.md | 9 + .../docs/api/Google_Analytics_Property.md | 16 ++ .../0.0.0-dev/docs/api/Google_Credential.md | 9 + .../0.0.0-dev/docs/api/Google_Sheets.md | 6 + .../Google_Api/0.0.0-dev/docs/api/Main.md | 2 + .../Image/0.0.0-dev/docs/api/Histogram.md | 5 + .../Image/0.0.0-dev/docs/api/Image.md | 25 +++ .../0.0.0-dev/docs/api/Image_File_Format.md | 12 ++ .../Standard/Image/0.0.0-dev/docs/api/Main.md | 2 + .../Image/0.0.0-dev/docs/api/Matrix.md | 27 +++ .../Image/0.0.0-dev/docs/api/Matrix_Error.md | 6 + .../Image/0.0.0-dev/docs/api/Read_Flag.md | 7 + .../Image/0.0.0-dev/docs/api/Write_Flag.md | 12 ++ .../docs/api/Connection/SQLServer_Details.md | 8 + .../api/Internal/SQLServer_Error_Mapper.md | 7 + .../Microsoft/0.0.0-dev/docs/api/Main.md | 2 + .../docs/api/SQLServer_Connection.md | 26 +++ .../0.0.0-dev/docs/api/SQLServer_Data_Link.md | 6 + .../api/Connection/Key_Pair_Credentials.md | 17 ++ .../docs/api/Connection/Snowflake_Details.md | 8 + .../0.0.0-dev/docs/api/Connection/Widgets.md | 3 + .../api/Internal/Snowflake_Error_Mapper.md | 7 + .../Snowflake/0.0.0-dev/docs/api/Main.md | 2 + .../docs/api/Snowflake_Connection.md | 29 +++ .../0.0.0-dev/docs/api/Snowflake_Data_Link.md | 6 + .../0.0.0-dev/docs/api/Aggregate_Column.md | 23 +++ .../0.0.0-dev/docs/api/Blank_Selector.md | 5 + .../Table/0.0.0-dev/docs/api/Column.md | 133 +++++++++++++ .../0.0.0-dev/docs/api/Column_Operation.md | 24 +++ .../Table/0.0.0-dev/docs/api/Column_Ref.md | 5 + .../0.0.0-dev/docs/api/Columns_To_Add.md | 9 + .../0.0.0-dev/docs/api/Columns_To_Keep.md | 8 + .../Table/0.0.0-dev/docs/api/Constants.md | 4 + .../api/Conversions/Convertible_To_Columns.md | 15 ++ .../api/Conversions/Convertible_To_Rows.md | 28 +++ .../0.0.0-dev/docs/api/Data_Formatter.md | 35 ++++ .../docs/api/Delimited/Delimited_Format.md | 23 +++ .../docs/api/Delimited/Invalid_Rows.md | 7 + .../docs/api/Delimited/Quote_Style.md | 6 + .../Table/0.0.0-dev/docs/api/Errors.md | 181 ++++++++++++++++++ .../0.0.0-dev/docs/api/Excel/Excel_Format.md | 18 ++ .../0.0.0-dev/docs/api/Excel/Excel_Range.md | 22 +++ .../docs/api/Excel/Excel_Workbook.md | 34 ++++ .../Table/0.0.0-dev/docs/api/Expression.md | 12 ++ .../0.0.0-dev/docs/api/Expression_Statics.md | 19 ++ .../Extensions/Column_Vector_Extensions.md | 8 + .../docs/api/Extensions/Excel_Extensions.md | 4 + .../docs/api/Extensions/Table_Conversions.md | 19 ++ .../Table/0.0.0-dev/docs/api/Fill_With.md | 7 + .../0.0.0-dev/docs/api/Grouping_Method.md | 5 + .../Table/0.0.0-dev/docs/api/Headers.md | 8 + .../docs/api/Internal/Add_Row_Number.md | 7 + .../api/Internal/Aggregate_Column_Helper.md | 12 ++ .../docs/api/Internal/Cast_Helpers.md | 3 + .../docs/api/Internal/Column_Format.md | 7 + .../docs/api/Internal/Column_Naming_Helper.md | 16 ++ .../0.0.0-dev/docs/api/Internal/Column_Ops.md | 4 + .../docs/api/Internal/Constant_Column.md | 9 + .../docs/api/Internal/Date_Time_Helpers.md | 5 + .../docs/api/Internal/Delimited_Reader.md | 18 ++ .../docs/api/Internal/Delimited_Writer.md | 10 + .../docs/api/Internal/Display_Helpers.md | 6 + .../docs/api/Internal/Excel_Writer.md | 10 + .../0.0.0-dev/docs/api/Internal/Fan_Out.md | 13 ++ .../api/Internal/Filter_Condition_Helpers.md | 5 + .../docs/api/Internal/Java_Exports.md | 8 + .../docs/api/Internal/Java_Problems.md | 6 + .../docs/api/Internal/Join_Helpers.md | 7 + .../docs/api/Internal/Join_Kind_Cross.md | 4 + .../docs/api/Internal/Lookup_Helpers.md | 11 ++ .../api/Internal/Match_Columns_Helpers.md | 5 + .../docs/api/Internal/Multi_Value_Key.md | 17 ++ .../docs/api/Internal/Naming_Properties.md | 21 ++ .../docs/api/Internal/Parse_To_Table.md | 3 + .../docs/api/Internal/Parse_Values_Helper.md | 4 + .../docs/api/Internal/Problem_Builder.md | 15 ++ .../Read_Many_As_Merged_Table_Strategy.md | 11 ++ .../docs/api/Internal/Replace_Helpers.md | 3 + .../0.0.0-dev/docs/api/Internal/Rows_View.md | 6 + .../docs/api/Internal/Split_Tokenize.md | 10 + .../0.0.0-dev/docs/api/Internal/Storage.md | 10 + .../docs/api/Internal/Table_Helpers.md | 34 ++++ .../0.0.0-dev/docs/api/Internal/Table_Ref.md | 13 ++ .../docs/api/Internal/Unique_Name_Strategy.md | 14 ++ .../docs/api/Internal/Value_Type_Helpers.md | 22 +++ .../docs/api/Internal/Vector_Builder.md | 12 ++ .../docs/api/Internal/Widget_Helpers.md | 27 +++ .../0.0.0-dev/docs/api/Join_Condition.md | 7 + .../Table/0.0.0-dev/docs/api/Join_Kind.md | 10 + .../Standard/Table/0.0.0-dev/docs/api/Main.md | 2 + .../Table/0.0.0-dev/docs/api/Match_Columns.md | 5 + .../Table/0.0.0-dev/docs/api/Position.md | 5 + .../Table/0.0.0-dev/docs/api/Prefix_Name.md | 7 + .../0.0.0-dev/docs/api/Return_As_Table.md | 9 + .../Standard/Table/0.0.0-dev/docs/api/Row.md | 11 ++ .../Table/0.0.0-dev/docs/api/Row_Limit.md | 7 + .../Table/0.0.0-dev/docs/api/Rows_To_Read.md | 13 ++ .../Table/0.0.0-dev/docs/api/Set_Mode.md | 6 + .../0.0.0-dev/docs/api/Simple_Expression.md | 79 ++++++++ .../Table/0.0.0-dev/docs/api/Sort_Column.md | 8 + .../Table/0.0.0-dev/docs/api/Table.md | 104 ++++++++++ .../Table/0.0.0-dev/docs/api/Value_Type.md | 59 ++++++ .../0.0.0-dev/docs/api/Hyper_Column.md | 6 + .../0.0.0-dev/docs/api/Hyper_Errors.md | 6 + .../Tableau/0.0.0-dev/docs/api/Hyper_File.md | 11 ++ .../Tableau/0.0.0-dev/docs/api/Hyper_Table.md | 10 + .../Tableau/0.0.0-dev/docs/api/Main.md | 2 + .../0.0.0-dev/docs/api/Tableau_Format.md | 11 ++ .../Standard/Test/0.0.0-dev/docs/api/Bench.md | 36 ++++ .../docs/api/Execution_Context_Helpers.md | 3 + .../Test/0.0.0-dev/docs/api/Extensions.md | 66 +++++++ .../Standard/Test/0.0.0-dev/docs/api/Faker.md | 20 ++ .../Standard/Test/0.0.0-dev/docs/api/Main.md | 2 + .../Test/0.0.0-dev/docs/api/Problems.md | 9 + .../Test/0.0.0-dev/docs/api/Should_Reach.md | 6 + .../Test/0.0.0-dev/docs/api/Spec_Result.md | 10 + .../Standard/Test/0.0.0-dev/docs/api/Suite.md | 11 ++ .../Standard/Test/0.0.0-dev/docs/api/Test.md | 13 ++ .../0.0.0-dev/docs/api/Test_Environment.md | 3 + .../Test/0.0.0-dev/docs/api/Test_Result.md | 8 + .../Visualization/0.0.0-dev/docs/api/AI.md | 7 + .../0.0.0-dev/docs/api/File_Upload.md | 5 + .../0.0.0-dev/docs/api/Geo_Map.md | 4 + .../0.0.0-dev/docs/api/Helpers.md | 62 ++++++ .../0.0.0-dev/docs/api/Histogram.md | 11 ++ .../Visualization/0.0.0-dev/docs/api/Id.md | 15 ++ .../Visualization/0.0.0-dev/docs/api/Main.md | 2 + .../0.0.0-dev/docs/api/Preprocessor.md | 5 + .../0.0.0-dev/docs/api/SQL/Visualization.md | 3 + .../0.0.0-dev/docs/api/Scatter_Plot.md | 37 ++++ .../Visualization/0.0.0-dev/docs/api/Table.md | 22 +++ .../0.0.0-dev/docs/api/Table/Visualization.md | 15 ++ .../Visualization/0.0.0-dev/docs/api/Text.md | 9 + .../0.0.0-dev/docs/api/Warnings.md | 3 + .../0.0.0-dev/docs/api/Widgets.md | 3 + 227 files changed, 3560 insertions(+) create mode 100644 distribution/lib/Standard/AWS/0.0.0-dev/docs/api/AWS.md create mode 100644 distribution/lib/Standard/AWS/0.0.0-dev/docs/api/AWS_Credential.md create mode 100644 distribution/lib/Standard/AWS/0.0.0-dev/docs/api/AWS_Region.md create mode 100644 distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Database/Redshift/Internal/Redshift_Dialect.md create mode 100644 distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Database/Redshift/Internal/Redshift_Error_Mapper.md create mode 100644 distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Database/Redshift/Redshift_Details.md create mode 100644 distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Errors.md create mode 100644 distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Internal/S3_Path.md create mode 100644 distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Main.md create mode 100644 distribution/lib/Standard/AWS/0.0.0-dev/docs/api/S3/S3.md create mode 100644 distribution/lib/Standard/AWS/0.0.0-dev/docs/api/S3/S3_File.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Column_Constraint.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Column_Description.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Client_Certificate.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Connection.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Connection_Details.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Connection_Options.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Credentials.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Database.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Postgres.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Postgres_Connection.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/SQLite.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/SQLite_Connection.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/SQLite_Format.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/SSL_Mode.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/DB_Column.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/DB_Table.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Dialect.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Dialect_Flag.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Errors.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Extensions/Upload_Database_Table.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Extensions/Upload_In_Memory_Table.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Feature.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Aggregate_Helper.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Base_Generator.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Column_Fetcher.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Connections_Helpers.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Database_Distinct_Helper.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Database_Join_Helper.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Encoding_Limited_Naming_Properties.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Lookup_Query_Helper.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Offset_Helpers.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Row_Number_Helpers.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Connection/Entity_Naming_Properties.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/DB_Data_Link_Helpers.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/DDL_Transaction.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Data_Link_Setup.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Error_Mapper.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Helpers.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Hidden_Table_Registry.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Context.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Create_Column_Descriptor.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/From_Spec.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Internal_Column.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Nulls_Order.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Operation_Metadata.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Order_Descriptor.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Query.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/SQL_Expression.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/SQL_Join_Kind.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Traversal_Helpers.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/In_Transaction.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Internals_Access.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/JDBC_Connection.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Helpers.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Pgpass.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Postgres_Dialect.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Postgres_Error_Mapper.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Postgres_Type_Mapping.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Replace_Params.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Result_Set.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQL_Part.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQL_Type_Mapping.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQL_Type_Reference.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQL_Warning_Helper.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQLite/SQLite_Dialect.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQLite/SQLite_Entity_Naming_Properties.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQLite/SQLite_Error_Mapper.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQLite/SQLite_Type_Mapping.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Statement_Setter.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Table_Naming_Helper.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Upload/Helpers/Default_Arguments.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/JDBC/Generic_JDBC_Connection.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Main.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/SQL.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/SQL_Query.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/SQL_Statement.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/SQL_Type.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Take_Drop_Helpers.md create mode 100644 distribution/lib/Standard/Database/0.0.0-dev/docs/api/Update_Action.md create mode 100644 distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Analytics.md create mode 100644 distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Analytics_Account.md create mode 100644 distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Analytics_Field.md create mode 100644 distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Analytics_Property.md create mode 100644 distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Credential.md create mode 100644 distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Sheets.md create mode 100644 distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Main.md create mode 100644 distribution/lib/Standard/Image/0.0.0-dev/docs/api/Histogram.md create mode 100644 distribution/lib/Standard/Image/0.0.0-dev/docs/api/Image.md create mode 100644 distribution/lib/Standard/Image/0.0.0-dev/docs/api/Image_File_Format.md create mode 100644 distribution/lib/Standard/Image/0.0.0-dev/docs/api/Main.md create mode 100644 distribution/lib/Standard/Image/0.0.0-dev/docs/api/Matrix.md create mode 100644 distribution/lib/Standard/Image/0.0.0-dev/docs/api/Matrix_Error.md create mode 100644 distribution/lib/Standard/Image/0.0.0-dev/docs/api/Read_Flag.md create mode 100644 distribution/lib/Standard/Image/0.0.0-dev/docs/api/Write_Flag.md create mode 100644 distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/Connection/SQLServer_Details.md create mode 100644 distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/Internal/SQLServer_Error_Mapper.md create mode 100644 distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/Main.md create mode 100644 distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/SQLServer_Connection.md create mode 100644 distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/SQLServer_Data_Link.md create mode 100644 distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Connection/Key_Pair_Credentials.md create mode 100644 distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Connection/Snowflake_Details.md create mode 100644 distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Connection/Widgets.md create mode 100644 distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Internal/Snowflake_Error_Mapper.md create mode 100644 distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Main.md create mode 100644 distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Snowflake_Connection.md create mode 100644 distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Snowflake_Data_Link.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Aggregate_Column.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Blank_Selector.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Column.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Column_Operation.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Column_Ref.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Columns_To_Add.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Columns_To_Keep.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Constants.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Conversions/Convertible_To_Columns.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Conversions/Convertible_To_Rows.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Data_Formatter.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Delimited/Delimited_Format.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Delimited/Invalid_Rows.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Delimited/Quote_Style.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Errors.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Excel/Excel_Format.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Excel/Excel_Range.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Excel/Excel_Workbook.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Expression.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Expression_Statics.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Extensions/Column_Vector_Extensions.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Extensions/Excel_Extensions.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Extensions/Table_Conversions.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Fill_With.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Grouping_Method.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Headers.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Add_Row_Number.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Aggregate_Column_Helper.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Cast_Helpers.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Column_Format.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Column_Naming_Helper.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Column_Ops.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Constant_Column.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Date_Time_Helpers.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Delimited_Reader.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Delimited_Writer.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Display_Helpers.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Excel_Writer.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Fan_Out.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Filter_Condition_Helpers.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Java_Exports.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Java_Problems.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Join_Helpers.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Join_Kind_Cross.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Lookup_Helpers.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Match_Columns_Helpers.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Multi_Value_Key.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Naming_Properties.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Parse_To_Table.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Parse_Values_Helper.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Problem_Builder.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Read_Many_As_Merged_Table_Strategy.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Replace_Helpers.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Rows_View.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Split_Tokenize.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Storage.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Table_Helpers.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Table_Ref.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Unique_Name_Strategy.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Value_Type_Helpers.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Vector_Builder.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Widget_Helpers.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Join_Condition.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Join_Kind.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Main.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Match_Columns.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Position.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Prefix_Name.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Return_As_Table.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Row.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Row_Limit.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Rows_To_Read.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Set_Mode.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Simple_Expression.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Sort_Column.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Table.md create mode 100644 distribution/lib/Standard/Table/0.0.0-dev/docs/api/Value_Type.md create mode 100644 distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Hyper_Column.md create mode 100644 distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Hyper_Errors.md create mode 100644 distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Hyper_File.md create mode 100644 distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Hyper_Table.md create mode 100644 distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Main.md create mode 100644 distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Tableau_Format.md create mode 100644 distribution/lib/Standard/Test/0.0.0-dev/docs/api/Bench.md create mode 100644 distribution/lib/Standard/Test/0.0.0-dev/docs/api/Execution_Context_Helpers.md create mode 100644 distribution/lib/Standard/Test/0.0.0-dev/docs/api/Extensions.md create mode 100644 distribution/lib/Standard/Test/0.0.0-dev/docs/api/Faker.md create mode 100644 distribution/lib/Standard/Test/0.0.0-dev/docs/api/Main.md create mode 100644 distribution/lib/Standard/Test/0.0.0-dev/docs/api/Problems.md create mode 100644 distribution/lib/Standard/Test/0.0.0-dev/docs/api/Should_Reach.md create mode 100644 distribution/lib/Standard/Test/0.0.0-dev/docs/api/Spec_Result.md create mode 100644 distribution/lib/Standard/Test/0.0.0-dev/docs/api/Suite.md create mode 100644 distribution/lib/Standard/Test/0.0.0-dev/docs/api/Test.md create mode 100644 distribution/lib/Standard/Test/0.0.0-dev/docs/api/Test_Environment.md create mode 100644 distribution/lib/Standard/Test/0.0.0-dev/docs/api/Test_Result.md create mode 100644 distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/AI.md create mode 100644 distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/File_Upload.md create mode 100644 distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Geo_Map.md create mode 100644 distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Helpers.md create mode 100644 distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Histogram.md create mode 100644 distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Id.md create mode 100644 distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Main.md create mode 100644 distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Preprocessor.md create mode 100644 distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/SQL/Visualization.md create mode 100644 distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Scatter_Plot.md create mode 100644 distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Table.md create mode 100644 distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Table/Visualization.md create mode 100644 distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Text.md create mode 100644 distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Warnings.md create mode 100644 distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Widgets.md diff --git a/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/AWS.md b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/AWS.md new file mode 100644 index 000000000000..765d510122d1 --- /dev/null +++ b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/AWS.md @@ -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 diff --git a/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/AWS_Credential.md b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/AWS_Credential.md new file mode 100644 index 000000000000..7cb21c41bf87 --- /dev/null +++ b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/AWS_Credential.md @@ -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 diff --git a/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/AWS_Region.md b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/AWS_Region.md new file mode 100644 index 000000000000..226ad742d081 --- /dev/null +++ b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/AWS_Region.md @@ -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 diff --git a/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Database/Redshift/Internal/Redshift_Dialect.md b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Database/Redshift/Internal/Redshift_Dialect.md new file mode 100644 index 000000000000..8c97443278f9 --- /dev/null +++ b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Database/Redshift/Internal/Redshift_Dialect.md @@ -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 diff --git a/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Database/Redshift/Internal/Redshift_Error_Mapper.md b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Database/Redshift/Internal/Redshift_Error_Mapper.md new file mode 100644 index 000000000000..6840ce9fb362 --- /dev/null +++ b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Database/Redshift/Internal/Redshift_Error_Mapper.md @@ -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 diff --git a/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Database/Redshift/Redshift_Details.md b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Database/Redshift/Redshift_Details.md new file mode 100644 index 000000000000..e17e105be173 --- /dev/null +++ b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Database/Redshift/Redshift_Details.md @@ -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 diff --git a/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Errors.md b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Errors.md new file mode 100644 index 000000000000..4d120f284e35 --- /dev/null +++ b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Errors.md @@ -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 diff --git a/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Internal/S3_Path.md b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Internal/S3_Path.md new file mode 100644 index 000000000000..099f5a96a08b --- /dev/null +++ b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Internal/S3_Path.md @@ -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 diff --git a/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Main.md b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Main.md new file mode 100644 index 000000000000..dc8c78f4af93 --- /dev/null +++ b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/Main.md @@ -0,0 +1,2 @@ +## Enso Signatures 1.0 +## module Standard.AWS.Main diff --git a/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/S3/S3.md b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/S3/S3.md new file mode 100644 index 000000000000..a49c265b31f2 --- /dev/null +++ b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/S3/S3.md @@ -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 diff --git a/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/S3/S3_File.md b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/S3/S3_File.md new file mode 100644 index 000000000000..dd7510eb811b --- /dev/null +++ b/distribution/lib/Standard/AWS/0.0.0-dev/docs/api/S3/S3_File.md @@ -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 diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Column_Constraint.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Column_Constraint.md new file mode 100644 index 000000000000..75f8573f75d2 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Column_Constraint.md @@ -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 diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Column_Description.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Column_Description.md new file mode 100644 index 000000000000..4328b163314a --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Column_Description.md @@ -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)= diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Client_Certificate.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Client_Certificate.md new file mode 100644 index 000000000000..d5cc6b099944 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Client_Certificate.md @@ -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 diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Connection.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Connection.md new file mode 100644 index 000000000000..cdcabd8d1d1c --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Connection.md @@ -0,0 +1,38 @@ +## Enso Signatures 1.0 +## module Standard.Database.Connection.Connection +- type Connection + - Value jdbc_connection:Standard.Base.Any.Any dialect:Standard.Base.Any.Any entity_naming_properties:Standard.Database.Internal.Connection.Entity_Naming_Properties.Entity_Naming_Properties supports_large_update:(Standard.Base.Runtime.Ref.Ref Standard.Base.Data.Boolean.Boolean) hidden_table_registry:Standard.Database.Internal.Hidden_Table_Registry.Hidden_Table_Registry data_link_setup:(Standard.Database.Internal.Data_Link_Setup.Data_Link_Setup|Standard.Base.Nothing.Nothing)= + - base_connection self -> Standard.Base.Any.Any + - close self -> Standard.Base.Any.Any + - column_naming_helper self -> Standard.Base.Any.Any + - create_literal_table self source:Standard.Table.Table.Table alias:Standard.Base.Data.Text.Text -> Standard.Database.DB_Table.DB_Table + - create_table self table_name:Standard.Base.Data.Text.Text structure:(Standard.Base.Any.Any|Standard.Database.DB_Table.DB_Table|Standard.Table.Table.Table) primary_key:(Standard.Base.Any.Any|Standard.Base.Nothing.Nothing)= temporary:Standard.Base.Data.Boolean.Boolean= allow_existing:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - database self -> Standard.Base.Any.Any + - databases self -> Standard.Base.Any.Any + - drop_table self table_name:Standard.Base.Any.Any if_exists:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - execute self query:Standard.Base.Any.Any -> Standard.Base.Any.Any + - execute_update self query:Standard.Base.Any.Any -> Standard.Base.Any.Any + - fetch_columns self statement:Standard.Base.Any.Any statement_setter:Standard.Base.Any.Any -> Standard.Base.Any.Any + - get_tables_advanced self name_like:Standard.Base.Any.Any= database:Standard.Base.Any.Any= schema:Standard.Base.Any.Any= types:Standard.Base.Any.Any= all_fields:Standard.Base.Any.Any= include_hidden:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - internal_allocate_dry_run_table self table_name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - maybe_run_maintenance self -> Standard.Base.Any.Any + - new jdbc_connection:Standard.Database.Internal.JDBC_Connection.JDBC_Connection dialect:Standard.Base.Any.Any entity_naming_properties:Standard.Database.Internal.Connection.Entity_Naming_Properties.Entity_Naming_Properties data_link_setup:(Standard.Database.Internal.Data_Link_Setup.Data_Link_Setup|Standard.Base.Nothing.Nothing)= try_large_update:Standard.Base.Data.Boolean.Boolean= -> Standard.Database.Connection.Connection.Connection + - query self query:Standard.Database.SQL_Query.SQL_Query alias:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - read self query:Standard.Database.SQL_Query.SQL_Query limit:Standard.Table.Rows_To_Read.Rows_To_Read= -> Standard.Base.Any.Any + - read_single_column self query:Standard.Base.Any.Any column_name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - read_statement self statement:Standard.Base.Any.Any column_types:Standard.Base.Any.Any= last_row_only:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - save_as_data_link self destination:Standard.Base.Any.Any on_existing_file:Standard.Base.System.File.Existing_File_Behavior.Existing_File_Behavior= -> Standard.Base.Any.Any + - schema self -> Standard.Base.Any.Any + - schemas self -> Standard.Base.Any.Any + - set_database self database:Standard.Base.Any.Any -> Standard.Base.Any.Any + - set_schema self schema:Standard.Base.Any.Any -> Standard.Base.Any.Any + - table_exists self table_name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - table_naming_helper self -> Standard.Base.Any.Any + - table_types self -> Standard.Base.Any.Any + - tables self name_like:Standard.Base.Any.Any= database:Standard.Base.Any.Any= schema:Standard.Base.Any.Any= types:Standard.Base.Any.Any= all_fields:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - truncate_table self table_name:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_database_selector connection:Standard.Base.Any.Any include_any:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any +- make_schema_selector connection:Standard.Base.Any.Any include_any:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any +- make_structure_creator -> Standard.Base.Any.Any +- make_table_name_selector connection:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_table_types_selector connection:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Connection_Details.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Connection_Details.md new file mode 100644 index 000000000000..c248f1452f27 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Connection_Details.md @@ -0,0 +1,4 @@ +## Enso Signatures 1.0 +## module Standard.Database.Connection.Connection_Details +- type Connection_Details + - connect self options:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Connection_Options.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Connection_Options.md new file mode 100644 index 000000000000..5d06aafaf65f --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Connection_Options.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Database.Connection.Connection_Options +- type Connection_Options + - Value options:Standard.Base.Data.Vector.Vector= + - default_widget display:Standard.Base.Metadata.Display= -> Standard.Base.Metadata.Widget + - merge self base_options:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Database.Connection.Connection_Options.Connection_Options.from that:Standard.Base.Data.Vector.Vector -> Standard.Database.Connection.Connection_Options.Connection_Options diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Credentials.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Credentials.md new file mode 100644 index 000000000000..69ef32daf7e0 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Credentials.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Database.Connection.Credentials +- type Credentials + - Username_And_Password username:(Standard.Base.Data.Text.Text|Standard.Base.Enso_Cloud.Enso_Secret.Enso_Secret)= password:(Standard.Base.Data.Text.Text|Standard.Base.Enso_Cloud.Enso_Secret.Enso_Secret)= + - default_widget include_nothing:Standard.Base.Data.Boolean.Boolean= display:Standard.Base.Metadata.Display= -> Standard.Base.Metadata.Widget + - to_display_text self -> Standard.Base.Data.Text.Text + - to_text self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Database.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Database.md new file mode 100644 index 000000000000..ad3ff6264a37 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Database.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Database.Connection.Database +- connect details:Standard.Base.Any.Any options:Standard.Database.Connection.Connection_Options.Connection_Options= -> Standard.Base.Any.Any +- connection_details_widget -> Standard.Base.Any.Any +- resolve_constructor constructor:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Postgres.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Postgres.md new file mode 100644 index 000000000000..14c69f8e27f7 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Postgres.md @@ -0,0 +1,12 @@ +## Enso Signatures 1.0 +## module Standard.Database.Connection.Postgres +- type Postgres + - Server host:Standard.Base.Data.Text.Text= port:Standard.Base.Data.Numbers.Integer= database:Standard.Base.Data.Text.Text= schema:Standard.Base.Data.Text.Text= credentials:(Standard.Database.Connection.Credentials.Credentials|Standard.Base.Nothing.Nothing)= 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 allow_data_links:Standard.Base.Data.Boolean.Boolean= -> 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 +- default_postgres_database -> Standard.Base.Any.Any +- default_postgres_host -> Standard.Base.Any.Any +- default_postgres_port -> Standard.Base.Any.Any +- ssl_mode_to_jdbc_properties use_ssl:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Postgres_Connection.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Postgres_Connection.md new file mode 100644 index 000000000000..c5ed271600af --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/Postgres_Connection.md @@ -0,0 +1,25 @@ +## Enso Signatures 1.0 +## module Standard.Database.Connection.Postgres_Connection +- type Postgres_Connection + - base_connection self -> Standard.Base.Any.Any + - close self -> Standard.Base.Any.Any + - create url:Standard.Base.Any.Any properties:Standard.Base.Any.Any make_new:Standard.Base.Any.Any data_link_setup:Standard.Base.Any.Any -> Standard.Base.Any.Any + - create_table self table_name:Standard.Base.Data.Text.Text structure:(Standard.Base.Any.Any|Standard.Database.DB_Table.DB_Table|Standard.Table.Table.Table) primary_key:(Standard.Base.Any.Any|Standard.Base.Nothing.Nothing)= temporary:Standard.Base.Data.Boolean.Boolean= allow_existing:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - database self -> Standard.Base.Any.Any + - databases self -> Standard.Base.Any.Any + - dialect self -> Standard.Base.Any.Any + - drop_table self table_name:Standard.Base.Any.Any if_exists:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - execute self query:Standard.Base.Any.Any -> Standard.Base.Any.Any + - execute_update self query:Standard.Base.Any.Any -> Standard.Base.Any.Any + - jdbc_connection self -> Standard.Base.Any.Any + - query self query:Standard.Database.SQL_Query.SQL_Query alias:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - read self query:Standard.Database.SQL_Query.SQL_Query limit:Standard.Table.Rows_To_Read.Rows_To_Read= -> Standard.Base.Any.Any + - save_as_data_link self destination:Standard.Base.Any.Any on_existing_file:Standard.Base.System.File.Existing_File_Behavior.Existing_File_Behavior= -> Standard.Base.Any.Any + - schema self -> Standard.Base.Any.Any + - schemas self -> Standard.Base.Any.Any + - set_database self database:Standard.Base.Any.Any -> Standard.Base.Any.Any + - set_schema self schema:Standard.Base.Any.Any -> Standard.Base.Any.Any + - table_types self -> Standard.Base.Any.Any + - tables self name_like:Standard.Base.Any.Any= database:Standard.Base.Any.Any= schema:Standard.Base.Any.Any= types:Standard.Base.Any.Any= all_fields:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - to_js_object self -> Standard.Base.Any.Any + - truncate_table self table_name:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/SQLite.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/SQLite.md new file mode 100644 index 000000000000..7d8d574e869b --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/SQLite.md @@ -0,0 +1,9 @@ +## Enso Signatures 1.0 +## module Standard.Database.Connection.SQLite +- type SQLite + - From_File location:Standard.Base.System.File.File= + - In_Memory + - 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 diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/SQLite_Connection.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/SQLite_Connection.md new file mode 100644 index 000000000000..10e2e91badfa --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/SQLite_Connection.md @@ -0,0 +1,25 @@ +## Enso Signatures 1.0 +## module Standard.Database.Connection.SQLite_Connection +- type SQLite_Connection + - Value connection:Standard.Base.Any.Any + - base_connection self -> Standard.Base.Any.Any + - close self -> Standard.Base.Any.Any + - create url:Standard.Base.Any.Any properties:Standard.Base.Any.Any -> Standard.Base.Any.Any + - create_table self table_name:Standard.Base.Data.Text.Text structure:(Standard.Base.Any.Any|Standard.Database.DB_Table.DB_Table|Standard.Table.Table.Table) primary_key:(Standard.Base.Any.Any|Standard.Base.Nothing.Nothing)= temporary:Standard.Base.Data.Boolean.Boolean= allow_existing:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - database self -> Standard.Base.Any.Any + - databases self -> Standard.Base.Any.Any + - dialect self -> Standard.Base.Any.Any + - drop_table self table_name:Standard.Base.Any.Any if_exists:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - execute self query:Standard.Base.Any.Any -> Standard.Base.Any.Any + - execute_update self query:Standard.Base.Any.Any -> Standard.Base.Any.Any + - jdbc_connection self -> Standard.Base.Any.Any + - query self query:Standard.Database.SQL_Query.SQL_Query alias:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - read self query:Standard.Database.SQL_Query.SQL_Query limit:Standard.Table.Rows_To_Read.Rows_To_Read= -> Standard.Base.Any.Any + - schema self -> Standard.Base.Any.Any + - schemas self -> Standard.Base.Any.Any + - set_database self database:Standard.Base.Any.Any -> Standard.Base.Any.Any + - set_schema self schema:Standard.Base.Any.Any -> Standard.Base.Any.Any + - table_types self -> Standard.Base.Any.Any + - tables self name_like:Standard.Base.Any.Any= database:Standard.Base.Any.Any= schema:Standard.Base.Any.Any= types:Standard.Base.Any.Any= all_fields:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - to_js_object self -> Standard.Base.Any.Any + - truncate_table self table_name:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/SQLite_Format.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/SQLite_Format.md new file mode 100644 index 000000000000..ab18cc7936e3 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/SQLite_Format.md @@ -0,0 +1,12 @@ +## Enso Signatures 1.0 +## module Standard.Database.Connection.SQLite_Format +- type SQLite_Format + - For_File + - SQLite + - for_file_write file:Standard.Base.System.File.Generic.Writable_File.Writable_File -> Standard.Base.Any.Any + - for_read file:Standard.Base.System.File_Format_Metadata.File_Format_Metadata -> Standard.Base.Any.Any + - get_dropdown_options -> Standard.Base.Any.Any + - get_name_patterns -> (Standard.Base.Data.Vector.Vector Standard.Base.System.File_Format.File_Name_Pattern) + - read self file:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any + - read_stream self stream:Standard.Base.Any.Any metadata:Standard.Base.Any.Any -> Standard.Base.Any.Any + - resolve constructor:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/SSL_Mode.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/SSL_Mode.md new file mode 100644 index 000000000000..0cfc11ed9db8 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Connection/SSL_Mode.md @@ -0,0 +1,8 @@ +## Enso Signatures 1.0 +## module Standard.Database.Connection.SSL_Mode +- type SSL_Mode + - Disable + - Full_Verification ca_file:(Standard.Base.Nothing.Nothing|Standard.Base.System.File.File)= + - Prefer + - Require + - Verify_CA ca_file:(Standard.Base.Nothing.Nothing|Standard.Base.System.File.File)= diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/DB_Column.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/DB_Column.md new file mode 100644 index 000000000000..c602a3bad0e7 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/DB_Column.md @@ -0,0 +1,115 @@ +## Enso Signatures 1.0 +## module Standard.Database.DB_Column +- type DB_Column + - != self other:(Standard.Database.DB_Column.DB_Column|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - % self other:(Standard.Database.DB_Column.DB_Column|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - && self other:(Standard.Database.DB_Column.DB_Column|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - * self other:(Standard.Database.DB_Column.DB_Column|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - + self other:(Standard.Database.DB_Column.DB_Column|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - - self other:(Standard.Database.DB_Column.DB_Column|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - / self other:(Standard.Database.DB_Column.DB_Column|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - < self other:(Standard.Database.DB_Column.DB_Column|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - <= self other:(Standard.Database.DB_Column.DB_Column|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - == self other:(Standard.Database.DB_Column.DB_Column|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - > self other:(Standard.Database.DB_Column.DB_Column|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - >= self other:(Standard.Database.DB_Column.DB_Column|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - ^ self other:(Standard.Database.DB_Column.DB_Column|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - as_internal self -> Standard.Base.Any.Any + - at self index:Standard.Base.Data.Numbers.Integer= -> Standard.Base.Any.Any + - auto_cast self shrink_types:Standard.Base.Data.Boolean.Boolean= -> Standard.Database.DB_Column.DB_Column + - between self lower:(Standard.Database.DB_Column.DB_Column|Standard.Base.Any.Any) upper:(Standard.Database.DB_Column.DB_Column|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - cast self value_type:Standard.Table.Value_Type.Value_Type on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - ceil self -> Standard.Base.Any.Any + - coalesce self values:(Standard.Base.Any.Any|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - const self value:Standard.Base.Any.Any -> Standard.Base.Any.Any + - contains self other:(Standard.Database.DB_Column.DB_Column|Standard.Base.Data.Text.Text|Standard.Base.Any.Any) case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= -> Standard.Database.DB_Column.DB_Column + - count self -> Standard.Base.Data.Numbers.Integer + - count_nothing self -> Standard.Base.Data.Numbers.Integer + - date_add self amount:(Standard.Database.DB_Column.DB_Column|Standard.Base.Data.Numbers.Integer) period:(Standard.Base.Data.Time.Date_Period.Date_Period|Standard.Base.Data.Time.Time_Period.Time_Period)= -> Standard.Base.Any.Any + - date_diff self end:(Standard.Database.DB_Column.DB_Column|Standard.Base.Data.Time.Date.Date|Standard.Base.Data.Time.Date_Time.Date_Time|Standard.Base.Data.Time.Time_Of_Day.Time_Of_Day) period:(Standard.Base.Data.Time.Date_Period.Date_Period|Standard.Base.Data.Time.Time_Period.Time_Period)= -> Standard.Base.Any.Any + - date_part self period:(Standard.Base.Data.Time.Date_Period.Date_Period|Standard.Base.Data.Time.Time_Period.Time_Period) -> Standard.Base.Any.Any + - day self -> Standard.Base.Any.Any + - day_of_week self -> Standard.Base.Any.Any + - day_of_year self -> Standard.Base.Any.Any + - decimal_div self other:Standard.Base.Any.Any -> Standard.Base.Any.Any + - decimal_mod self other:Standard.Base.Any.Any -> Standard.Base.Any.Any + - dialect_name self -> Standard.Base.Data.Text.Text + - display self show_rows:Standard.Base.Any.Any= format_terminal:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - drop self range:(Standard.Base.Data.Index_Sub_Range.Index_Sub_Range|Standard.Base.Data.Range.Range|Standard.Base.Data.Numbers.Integer)= -> Standard.Database.DB_Column.DB_Column + - ends_with self other:(Standard.Database.DB_Column.DB_Column|Standard.Base.Data.Text.Text|Standard.Base.Any.Any) case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= -> Standard.Database.DB_Column.DB_Column + - equals_ignore_case self other:(Standard.Database.DB_Column.DB_Column|Standard.Base.Any.Any) locale:Standard.Base.Data.Locale.Locale= -> Standard.Database.DB_Column.DB_Column + - fill_empty self default:(Standard.Database.DB_Column.DB_Column|Standard.Table.Constants.Previous_Value|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - fill_nothing self default:(Standard.Database.DB_Column.DB_Column|Standard.Table.Constants.Previous_Value|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - first self -> Standard.Base.Any.Any + - floor self -> Standard.Base.Any.Any + - format self format:(Standard.Base.Data.Text.Text|Standard.Base.Data.Time.Date_Time_Formatter.Date_Time_Formatter|Standard.Database.DB_Column.DB_Column)= locale:Standard.Base.Data.Locale.Locale= -> Standard.Base.Any.Any + - get self index:Standard.Base.Data.Numbers.Integer= ~default:Standard.Base.Any.Any= -> (Standard.Base.Any.Any|Standard.Base.Nothing.Nothing) + - hour self -> Standard.Base.Any.Any + - iif self when_true:Standard.Base.Any.Any when_false:Standard.Base.Any.Any -> Standard.Database.DB_Column.DB_Column + - inferred_precise_value_type self -> Standard.Base.Any.Any + - info self -> Standard.Table.Table.Table + - internal_do_cast self value_type:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any + - is_blank self treat_nans_as_blank:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - is_empty self -> Standard.Base.Any.Any + - is_finite self -> Standard.Database.DB_Column.DB_Column + - is_in self vector:(Standard.Database.DB_Column.DB_Column|Standard.Base.Data.Vector.Vector|Standard.Base.Data.Array.Array) -> Standard.Database.DB_Column.DB_Column + - is_infinite self -> Standard.Database.DB_Column.DB_Column + - is_nan self -> Standard.Database.DB_Column.DB_Column + - is_nothing self -> Standard.Database.DB_Column.DB_Column + - is_present self -> Standard.Database.DB_Column.DB_Column + - length self -> Standard.Base.Data.Numbers.Integer + - let self name:Standard.Base.Data.Text.Text callback:Standard.Base.Any.Any -> Standard.Database.DB_Column.DB_Column + - like self pattern:(Standard.Database.DB_Column.DB_Column|Standard.Base.Data.Text.Text|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - make_binary_op self op_kind:Standard.Base.Any.Any operand:Standard.Base.Any.Any new_name:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - make_op self op_kind:Standard.Base.Any.Any operands:Standard.Base.Any.Any new_name:Standard.Base.Any.Any metadata:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - make_unary_op self op_kind:Standard.Base.Any.Any new_name:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - map self function:Standard.Base.Any.Any skip_nothing:Standard.Base.Data.Boolean.Boolean= expected_value_type:(Standard.Table.Value_Type.Value_Type|Standard.Table.Value_Type.Auto)= -> Standard.Base.Any.Any + - max self values:(Standard.Base.Any.Any|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - min self values:(Standard.Base.Any.Any|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column + - minute self -> Standard.Base.Any.Any + - month self -> Standard.Base.Any.Any + - name self -> Standard.Base.Data.Text.Text + - naming_helper self -> Standard.Base.Any.Any + - not self -> Standard.Database.DB_Column.DB_Column + - offset self n:Standard.Base.Any.Any= fill_with:Standard.Table.Fill_With.Fill_With= -> Standard.Database.DB_Column.DB_Column + - parse self type:(Standard.Table.Value_Type.Value_Type|Standard.Table.Value_Type.Auto) format:(Standard.Base.Data.Text.Text|Standard.Table.Data_Formatter.Data_Formatter)= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Database.DB_Column.DB_Column + - print self show_rows:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - read self max_rows:Standard.Table.Rows_To_Read.Rows_To_Read= -> Standard.Table.Column.Column + - rename self name:Standard.Base.Data.Text.Text -> Standard.Base.Any.Any + - round self decimal_places:Standard.Base.Data.Numbers.Integer= use_bankers:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any + - round_builtin self decimal_places:Standard.Base.Any.Any use_bankers:Standard.Base.Any.Any -> Standard.Base.Any.Any + - round_decimal self decimal_places:Standard.Base.Any.Any use_bankers:Standard.Base.Any.Any -> Standard.Base.Any.Any + - round_float self decimal_places:Standard.Base.Any.Any use_bankers:Standard.Base.Any.Any -> Standard.Base.Any.Any + - round_integer self decimal_places:Standard.Base.Any.Any use_bankers:Standard.Base.Any.Any -> Standard.Base.Any.Any + - second self -> Standard.Base.Any.Any + - short_circuit_special_floating_point self exp:Standard.Base.Any.Any -> Standard.Base.Any.Any + - should_be_selected_by_type self value_type:Standard.Table.Value_Type.Value_Type -> Standard.Base.Data.Boolean.Boolean + - should_use_builtin_round self decimal_places:Standard.Base.Any.Any use_bankers:Standard.Base.Any.Any -> Standard.Base.Any.Any + - sort self order:Standard.Base.Data.Sort_Direction.Sort_Direction= -> Standard.Database.DB_Column.DB_Column + - sql_type self -> Standard.Base.Any.Any + - starts_with self other:(Standard.Database.DB_Column.DB_Column|Standard.Base.Data.Text.Text|Standard.Base.Any.Any) case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= -> Standard.Database.DB_Column.DB_Column + - take self range:(Standard.Base.Data.Index_Sub_Range.Index_Sub_Range|Standard.Base.Data.Range.Range|Standard.Base.Data.Numbers.Integer)= -> Standard.Database.DB_Column.DB_Column + - text_cleanse self remove:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Regex.Named_Pattern.Named_Pattern) -> Standard.Base.Any.Any + - text_left self n:(Standard.Database.DB_Column.DB_Column|Standard.Base.Data.Numbers.Integer) -> Standard.Database.DB_Column.DB_Column + - text_length self -> Standard.Database.DB_Column.DB_Column + - text_replace self term:(Standard.Base.Data.Text.Text|Standard.Base.Data.Text.Regex.Regex|Standard.Database.DB_Column.DB_Column)= new_text:(Standard.Base.Data.Text.Text|Standard.Database.DB_Column.DB_Column)= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= only_first:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any + - text_right self n:(Standard.Database.DB_Column.DB_Column|Standard.Base.Data.Numbers.Integer) -> Standard.Database.DB_Column.DB_Column + - to_js_object self -> Standard.Base.Any.Any + - to_sql self -> Standard.Database.SQL_Statement.SQL_Statement + - to_table self -> Standard.Database.DB_Table.DB_Table + - to_text self -> Standard.Base.Any.Any + - to_vector self -> (Standard.Base.Data.Vector.Vector Standard.Base.Any.Any) + - trim self where:Standard.Base.Data.Text.Location.Location= what:(Standard.Database.DB_Column.DB_Column|Standard.Base.Data.Text.Text)= -> Standard.Database.DB_Column.DB_Column + - truncate self -> Standard.Base.Any.Any + - value_type self -> Standard.Table.Value_Type.Value_Type + - var_args_functions -> Standard.Base.Any.Any + - year self -> Standard.Base.Any.Any + - zip self that:Standard.Database.DB_Column.DB_Column function:Standard.Base.Any.Any skip_nothing:Standard.Base.Data.Boolean.Boolean= expected_value_type:(Standard.Table.Value_Type.Value_Type|Standard.Table.Value_Type.Auto)= -> Standard.Base.Any.Any + - || self other:(Standard.Database.DB_Column.DB_Column|Standard.Base.Any.Any) -> Standard.Database.DB_Column.DB_Column +- adapt_unified_column column:Standard.Base.Any.Any expected_type:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_equality_check_with_floating_point_handling column:Standard.Base.Any.Any other:Standard.Base.Any.Any op:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_text_case_op left:Standard.Base.Any.Any op:Standard.Base.Any.Any other:Standard.Base.Any.Any case_sensitivity:Standard.Base.Any.Any new_name:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Table.Column.Column.from that:Standard.Database.DB_Column.DB_Column -> Standard.Table.Column.Column +- Standard.Base.Data.Vector.Vector.from that:Standard.Database.DB_Column.DB_Column -> Standard.Base.Data.Vector.Vector +- Standard.Base.Data.Text.Text_Cleanse.Cleansable_Text.from that:Standard.Database.DB_Column.DB_Column -> Standard.Base.Data.Text.Text_Cleanse.Cleansable_Text +- Standard.Base.Data.Read.Many_Files_List.Many_Files_List.from that:Standard.Database.DB_Column.DB_Column -> Standard.Base.Data.Read.Many_Files_List.Many_Files_List diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/DB_Table.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/DB_Table.md new file mode 100644 index 000000000000..980bbf3d3c15 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/DB_Table.md @@ -0,0 +1,107 @@ +## Enso Signatures 1.0 +## module Standard.Database.DB_Table +- type DB_Table + - add_group_number self grouping_method:Standard.Table.Grouping_Method.Grouping_Method= name:Standard.Base.Data.Text.Text= from:Standard.Base.Data.Numbers.Integer= step:Standard.Base.Data.Numbers.Integer= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Table.Table.Table + - add_row_number self name:Standard.Base.Data.Text.Text= from:Standard.Base.Data.Numbers.Integer= step:Standard.Base.Data.Numbers.Integer= group_by:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= order_by:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text)= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Database.DB_Table.DB_Table + - aggregate self group_by:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= columns:(Standard.Base.Data.Vector.Vector Standard.Table.Aggregate_Column.Aggregate_Column)= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - as_subquery self -> Standard.Base.Any.Any + - at self selector:(Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Text)= -> Standard.Base.Any.Any + - auto_cast self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type)= shrink_types:Standard.Base.Data.Boolean.Boolean= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Database.DB_Table.DB_Table + - cast self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type)= value_type:Standard.Table.Value_Type.Value_Type error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - column_count self -> Standard.Base.Data.Numbers.Integer + - column_info self -> Standard.Table.Table.Table + - column_names self -> (Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) + - column_naming_helper self -> Standard.Base.Any.Any + - columns self -> (Standard.Base.Data.Vector.Vector Standard.Database.DB_Column.DB_Column) + - columns_helper self -> Standard.Base.Any.Any + - cross_join self right:Standard.Database.DB_Table.DB_Table= right_row_limit:Standard.Table.Row_Limit.Row_Limit= right_prefix:Standard.Base.Data.Text.Text= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Database.DB_Table.DB_Table + - cross_tab self group_by:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= names:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer)= values:(Standard.Table.Aggregate_Column.Aggregate_Column|Standard.Base.Any.Any)= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - default_ordering self -> Standard.Base.Any.Any + - dialect_name self -> Standard.Base.Data.Text.Text + - display self show_rows:Standard.Base.Data.Numbers.Integer= format_terminal:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any + - distinct self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - drop self range:(Standard.Base.Data.Index_Sub_Range.Index_Sub_Range|Standard.Base.Data.Range.Range|Standard.Base.Data.Numbers.Integer)= -> Standard.Database.DB_Table.DB_Table + - duplicates self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - evaluate_expression self expression:(Standard.Base.Data.Text.Text|Standard.Table.Expression.Expression) on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - expand_column self column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer) fields:(Standard.Base.Data.Vector.Vector|Standard.Base.Nothing.Nothing)= prefix:Standard.Table.Prefix_Name.Prefix_Name= -> Standard.Base.Any.Any + - expand_to_rows self column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer) at_least_one_row:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any + - fill_empty self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type) default:(Standard.Database.DB_Column.DB_Column|Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Table.Constants.Previous_Value|Standard.Base.Any.Any) -> Standard.Database.DB_Table.DB_Table + - fill_nothing self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type) default:(Standard.Database.DB_Column.DB_Column|Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Table.Constants.Previous_Value|Standard.Base.Any.Any) -> Standard.Database.DB_Table.DB_Table + - filter self column:(Standard.Database.DB_Column.DB_Column|Standard.Table.Expression.Expression|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer)= filter:(Standard.Base.Data.Filter_Condition.Filter_Condition|Standard.Base.Any.Any)= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - filter_blank_rows self when:Standard.Table.Blank_Selector.Blank_Selector= treat_nans_as_blank:Standard.Base.Data.Boolean.Boolean= -> Standard.Database.DB_Table.DB_Table + - filter_by_expression self expression:Standard.Base.Data.Text.Text on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - filter_on_predicate_column self predicate_column:Standard.Base.Any.Any -> Standard.Base.Any.Any + - first_column self -> Standard.Base.Any.Any + - first_row self -> Standard.Base.Any.Any + - first_value self -> Standard.Base.Any.Any + - format self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type) format:(Standard.Base.Data.Text.Text|Standard.Base.Data.Time.Date_Time_Formatter.Date_Time_Formatter|Standard.Database.DB_Column.DB_Column)= locale:Standard.Base.Data.Locale.Locale= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - get self selector:(Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Text)= ~if_missing:Standard.Base.Any.Any= -> (Standard.Database.DB_Column.DB_Column|Standard.Base.Any.Any) + - get_primary_key self -> Standard.Base.Any.Any + - get_row self index:Standard.Base.Data.Numbers.Integer= ~if_missing:Standard.Base.Any.Any= -> (Standard.Table.Row.Row|Standard.Base.Any.Any) + - get_value self selector:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer)= index:Standard.Base.Data.Numbers.Integer= ~if_missing:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - is_trivial_query self fail_if_not_found:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any + - join self right:Standard.Database.DB_Table.DB_Table= join_kind:Standard.Table.Join_Kind.Join_Kind= on:(Standard.Table.Join_Condition.Join_Condition|Standard.Base.Data.Text.Text|Standard.Base.Any.Any)= right_prefix:Standard.Base.Data.Text.Text= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Database.DB_Table.DB_Table + - join_or_cross_join self right:Standard.Database.DB_Table.DB_Table join_kind:Standard.Base.Any.Any on:Standard.Base.Any.Any right_prefix:Standard.Base.Any.Any on_problems:Standard.Base.Any.Any -> Standard.Base.Any.Any + - last_column self -> Standard.Base.Any.Any + - last_row self -> Standard.Base.Any.Any + - last_value self -> Standard.Base.Any.Any + - limit self max_rows:Standard.Base.Data.Numbers.Integer= -> Standard.Database.DB_Table.DB_Table + - make_column self internal:Standard.Base.Any.Any -> Standard.Base.Any.Any + - make_constant_column self value:Standard.Base.Any.Any -> Standard.Base.Any.Any + - make_table_from_dictionary self dict:Standard.Base.Any.Any key_column_name:Standard.Base.Any.Any value_column_name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - make_table_from_vectors self column_vectors:Standard.Base.Any.Any column_names:Standard.Base.Any.Any -> Standard.Base.Any.Any + - make_temp_column_name self -> Standard.Base.Any.Any + - merge self lookup_table:Standard.Database.DB_Table.DB_Table= key_columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= add_new_columns:Standard.Base.Data.Boolean.Boolean= allow_unmatched_rows:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - name self -> Standard.Base.Data.Text.Text + - offset self columns:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any)= n:Standard.Base.Data.Numbers.Integer= fill_with:Standard.Table.Fill_With.Fill_With= group_by:(Standard.Base.Data.Vector.Vector|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= order_by:(Standard.Base.Data.Vector.Vector|Standard.Base.Data.Text.Text)= set_mode:Standard.Table.Set_Mode.Set_Mode= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Database.DB_Table.DB_Table + - order_by self columns:Standard.Base.Any.Any= text_ordering:Standard.Base.Data.Text.Text_Ordering.Text_Ordering= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - parse self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= type:(Standard.Table.Value_Type.Value_Type|Standard.Table.Value_Type.Auto) format:(Standard.Base.Data.Text.Text|Standard.Table.Data_Formatter.Data_Formatter)= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Database.DB_Table.DB_Table + - parse_to_columns self column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer) pattern:(Standard.Base.Data.Text.Text|Standard.Base.Data.Text.Regex.Regex)= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= parse_values:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Database.DB_Table.DB_Table + - print self show_rows:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - read self max_rows:Standard.Table.Rows_To_Read.Rows_To_Read= -> Standard.Table.Table.Table + - remove_all_rows self -> Standard.Base.Any.Any + - remove_blank_columns self when:Standard.Table.Blank_Selector.Blank_Selector= treat_nans_as_blank:Standard.Base.Data.Boolean.Boolean= -> Standard.Database.DB_Table.DB_Table + - remove_columns self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type)= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - remove_columns_by_type self types:(Standard.Base.Data.Vector.Vector Standard.Table.Value_Type.Value_Type) strict:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any + - rename_columns self column_map:(Standard.Table.Table.Table|Standard.Base.Any.Any|Standard.Base.Any.Any|Standard.Base.Any.Any)= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - reorder_columns self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type)= position:Standard.Table.Position.Position= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - replace self lookup_table:(Standard.Database.DB_Table.DB_Table|Standard.Base.Data.Dictionary.Dictionary) columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type) from_column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Nothing.Nothing)= to_column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Nothing.Nothing)= allow_unmatched_rows:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - resolve self column:Standard.Base.Any.Any -> Standard.Base.Any.Any + - row_count self -> Standard.Base.Data.Numbers.Integer + - rows self max_rows:Standard.Table.Rows_To_Read.Rows_To_Read= -> (Standard.Base.Data.Vector.Vector Standard.Table.Row.Row) + - running self statistic:Standard.Base.Data.Statistics.Statistic= of:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer)= as:Standard.Base.Data.Text.Text= set_mode:Standard.Table.Set_Mode.Set_Mode= group_by:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= order_by:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text)= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Table.Table.Table + - save_as_data_link self destination:Standard.Base.Any.Any on_existing_file:Standard.Base.System.File.Existing_File_Behavior.Existing_File_Behavior= -> Standard.Base.Any.Any + - select_blank_columns self when:Standard.Table.Blank_Selector.Blank_Selector= treat_nans_as_blank:Standard.Base.Data.Boolean.Boolean= -> Standard.Database.DB_Table.DB_Table + - select_columns self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type)= reorder:Standard.Base.Data.Boolean.Boolean= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - select_columns_by_type self types:(Standard.Base.Data.Vector.Vector Standard.Table.Value_Type.Value_Type) strict:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any + - set self value:(Standard.Database.DB_Column.DB_Column|Standard.Base.Data.Text.Text|Standard.Table.Expression.Expression|Standard.Base.Data.Array.Array|Standard.Base.Data.Vector.Vector|Standard.Base.Data.Range.Range|Standard.Base.Data.Time.Date_Range.Date_Range|Standard.Table.Internal.Constant_Column.Constant_Column|Standard.Table.Simple_Expression.Simple_Expression) as:Standard.Base.Data.Text.Text= set_mode:Standard.Table.Set_Mode.Set_Mode= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - sort self columns:(Standard.Base.Any.Any|Standard.Table.Sort_Column.Sort_Column)= text_ordering:Standard.Base.Data.Text.Text_Ordering.Text_Ordering= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - sort_columns self order:Standard.Base.Data.Sort_Direction.Sort_Direction= text_ordering:Standard.Base.Data.Text.Text_Ordering.Text_Ordering= -> Standard.Database.DB_Table.DB_Table + - split_to_columns self column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer) delimiter:Standard.Base.Data.Text.Text= column_count:Standard.Table.Columns_To_Add.Columns_To_Add= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Database.DB_Table.DB_Table + - split_to_rows self column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer) delimiter:Standard.Base.Data.Text.Text= -> Standard.Database.DB_Table.DB_Table + - take self range:(Standard.Base.Data.Index_Sub_Range.Index_Sub_Range|Standard.Base.Data.Range.Range|Standard.Base.Data.Numbers.Integer)= -> Standard.Database.DB_Table.DB_Table + - text_cleanse self from:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any) remove:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Regex.Named_Pattern.Named_Pattern)= -> Standard.Database.DB_Table.DB_Table + - text_replace self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type) term:(Standard.Base.Data.Text.Text|Standard.Database.DB_Column.DB_Column|Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Text.Regex.Regex)= new_text:(Standard.Base.Data.Text.Text|Standard.Database.DB_Column.DB_Column|Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression)= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= only_first:Standard.Base.Data.Boolean.Boolean= -> Standard.Database.DB_Column.DB_Column + - to_js_object self -> Standard.Base.Any.Any + - to_select_query self -> Standard.Base.Any.Any + - to_sql self -> Standard.Database.SQL_Statement.SQL_Statement + - to_text self -> Standard.Base.Any.Any + - tokenize_to_columns self column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer) pattern:Standard.Base.Data.Text.Text= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= column_count:Standard.Table.Columns_To_Add.Columns_To_Add= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Database.DB_Table.DB_Table + - tokenize_to_rows self column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer) pattern:Standard.Base.Data.Text.Text= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= at_least_one_row:Standard.Base.Data.Boolean.Boolean= -> Standard.Database.DB_Table.DB_Table + - transpose self key_columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= attribute_column_name:Standard.Base.Data.Text.Text= value_column_name:Standard.Base.Data.Text.Text= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - union self tables:(Standard.Database.DB_Table.DB_Table|Standard.Base.Any.Any) columns_to_keep:Standard.Table.Columns_To_Keep.Columns_To_Keep= match_columns:Standard.Table.Match_Columns.Match_Columns= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Database.DB_Table.DB_Table + - updated_columns self internal_columns:Standard.Base.Any.Any -> Standard.Base.Any.Any + - updated_context self ctx:Standard.Base.Any.Any -> Standard.Base.Any.Any + - updated_context_and_columns self ctx:Standard.Base.Any.Any internal_columns:Standard.Base.Any.Any subquery:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - use_first_row_as_names self on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Database.DB_Table.DB_Table + - with_temporary_column self new_column:Standard.Database.DB_Column.DB_Column f:Standard.Base.Any.Any -> Standard.Base.Any.Any + - write self path:Standard.Base.System.File.Generic.Writable_File.Writable_File format:Standard.Base.System.File_Format.File_Format= on_existing_file:Standard.Base.System.File.Existing_File_Behavior.Existing_File_Behavior= match_columns:Standard.Table.Match_Columns.Match_Columns= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - zip self right:Standard.Database.DB_Table.DB_Table= keep_unmatched:(Standard.Base.Data.Boolean.Boolean|Standard.Table.Constants.Report_Unmatched)= right_prefix:Standard.Base.Data.Text.Text= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Database.DB_Table.DB_Table +- MAX_LITERAL_ELEMENT_COUNT -> Standard.Base.Any.Any +- default_join_condition table:Standard.Base.Any.Any join_kind:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_literal_table connection:Standard.Base.Any.Any column_vectors:Standard.Base.Any.Any column_names:Standard.Base.Any.Any alias:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_table connection:Standard.Base.Any.Any table_name:Standard.Base.Any.Any columns:Standard.Base.Any.Any ctx:Standard.Base.Any.Any on_problems:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Table.Table.Table.from that:Standard.Database.DB_Table.DB_Table -> Standard.Table.Table.Table +- Standard.Database.DB_Table.DB_Table.from that:Standard.Table.Table.Table -> Standard.Database.DB_Table.DB_Table +- Standard.Table.Internal.Table_Ref.Table_Ref.from that:Standard.Database.DB_Table.DB_Table -> Standard.Table.Internal.Table_Ref.Table_Ref +- Standard.Base.Data.Read.Many_Files_List.Many_Files_List.from that:Standard.Database.DB_Table.DB_Table -> Standard.Base.Data.Read.Many_Files_List.Many_Files_List diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Dialect.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Dialect.md new file mode 100644 index 000000000000..a1de9a28d11a --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Dialect.md @@ -0,0 +1,38 @@ +## Enso Signatures 1.0 +## module Standard.Database.Dialect +- type Dialect + - 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 + - check_aggregate_support self aggregate:Standard.Base.Any.Any -> Standard.Base.Any.Any + - custom_build_aggregate self base_table:Standard.Database.DB_Table.DB_Table key_columns:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.Internal_Column.Internal_Column) resolved_aggregates:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any) problem_builder:Standard.Table.Internal.Problem_Builder.Problem_Builder -> (Standard.Base.Data.Pair.Pair Standard.Database.Internal.IR.Context.Context Standard.Base.Any.Any) + - default_table_types self -> Standard.Base.Any.Any + - ensure_query_has_no_holes 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 + - if_replace_params_supports self replace_params:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> 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 + - name self -> Standard.Base.Any.Any + - needs_execute_query_for_type_inference self statement:Standard.Base.Any.Any -> Standard.Base.Any.Any + - prepare_distinct self table:Standard.Base.Any.Any key_columns:Standard.Base.Any.Any case_sensitivity:Standard.Base.Any.Any problem_builder: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_metadata_for_period self period:Standard.Base.Any.Any operation_input_type: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 + - should_check_table_integrity_at_beginning_of_transaction self -> Standard.Base.Data.Boolean.Boolean + - temp_table_style self -> Standard.Base.Any.Any + - value_type_for_upload_of_existing_column self column:Standard.Base.Any.Any -> Standard.Base.Any.Any +- type Temp_Table_Style + - Hash_Prefix + - Temporary_Table +- default_fetch_primary_key connection:Standard.Base.Any.Any table_name:Standard.Base.Any.Any -> Standard.Base.Any.Any +- postgres -> Standard.Base.Any.Any +- sqlite -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Dialect_Flag.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Dialect_Flag.md new file mode 100644 index 000000000000..dd564d673b97 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Dialect_Flag.md @@ -0,0 +1,34 @@ +## Enso Signatures 1.0 +## module Standard.Database.Dialect_Flag +- type Dialect_Flag + - Allows_Mixed_Type_Comparisons + - Case_Insensitive_Ordering_By_Default + - Case_Sensitive_Text_Comparison + - Char_Max_Size_After_Substring_Kept + - Date_Time + - Different_Size_Integer_Types + - Distinct_Returns_First_Row_From_Group_If_Ordered + - Fixed_Length_Text_Columns + - Length_Restricted_Text_Columns + - NaN_Non_Comparable + - Order_By_Unicode_Normalization_By_Default + - Order_By_Unicode_Normalization_When_Case_Insensitive + - Primary_Key_Allows_Nulls + - Removes_Trailing_Whitespace_Casting_From_Char_To_Varchar + - Supports_8bit_Integer + - Supports_Case_Insensitive_Ordering + - Supports_Case_Sensitive_Columns + - Supports_Date_Time_Without_Timezone + - Supports_Decimal_Type + - Supports_Float_Decimal_Places + - Supports_Infinity + - Supports_Mixed_Columns + - Supports_Nanoseconds_In_Time + - Supports_Negative_Decimal_Places + - Supports_Nested_With_Clause + - Supports_Separate_NaN + - Supports_Sort_Digits_As_Numbers + - Supports_Time_Duration + - Supports_Unicode_Normalization + - Text_Length_Limited_Columns + - Use_Builtin_Bankers diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Errors.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Errors.md new file mode 100644 index 000000000000..e8255cf15df8 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Errors.md @@ -0,0 +1,56 @@ +## Enso Signatures 1.0 +## module Standard.Database.Errors +- type Aggregagtion_Requires_Order + - Error op_name:Standard.Base.Data.Text.Text + - to_display_text self -> Standard.Base.Data.Text.Text + - to_text self -> Standard.Base.Data.Text.Text +- type Different_Connections + - Error + - to_display_text self -> Standard.Base.Data.Text.Text + - to_text self -> Standard.Base.Data.Text.Text +- type Integrity_Error + - Error object_description:Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Any.Any +- type Invariant_Violation + - Error message:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing) original_cause:Standard.Database.Errors.SQL_Error + - to_display_text self -> Standard.Base.Any.Any +- type Multiple_Target_Rows_Matched_For_Update + - Error example_key:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any) example_count:Standard.Base.Data.Numbers.Integer + - to_display_text self -> Standard.Base.Any.Any +- type Rows_Already_Present + - Error count:Standard.Base.Data.Numbers.Integer + - to_display_text self -> Standard.Base.Any.Any +- type SQL_Error + - Error java_exception:Standard.Base.Any.Any related_query:Standard.Base.Any.Any= + - throw_sql_error message:Standard.Base.Any.Any -> Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Any.Any +- type SQL_Timeout + - Error java_exception:Standard.Base.Any.Any related_query:Standard.Base.Any.Any= + - to_display_text self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Any.Any +- type SQL_Warning + - Warning java_exception:Standard.Base.Any.Any + - message self -> Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any +- type Table_Already_Exists + - Error table_name:Standard.Base.Data.Text.Text + - to_display_text self -> Standard.Base.Any.Any +- type Table_Not_Found + - Error name:Standard.Base.Data.Text.Text + - to_display_text self -> Standard.Base.Any.Any +- type Unmatched_Rows + - Error count:Standard.Base.Data.Numbers.Integer + - to_display_text self -> Standard.Base.Any.Any +- type Unsupported_Database_Encoding + - Warning message:Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any +- type Unsupported_Database_Operation + - Error operation:Standard.Base.Data.Text.Text + - to_display_text self -> Standard.Base.Data.Text.Text + - to_text self -> Standard.Base.Data.Text.Text +- type Unsupported_Database_Type + - Error type:Standard.Base.Data.Text.Text db:Standard.Base.Data.Text.Text + - to_display_text self -> Standard.Base.Data.Text.Text + - to_text self -> Standard.Base.Data.Text.Text diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Extensions/Upload_Database_Table.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Extensions/Upload_Database_Table.md new file mode 100644 index 000000000000..432a466cf5dd --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Extensions/Upload_Database_Table.md @@ -0,0 +1,8 @@ +## Enso Signatures 1.0 +## module Standard.Database.Extensions.Upload_Database_Table +- Standard.Database.DB_Table.DB_Table.delete_rows self key_values_to_delete:(Standard.Database.DB_Table.DB_Table|Standard.Table.Table.Table) key_columns:(Standard.Base.Any.Any|Standard.Base.Nothing.Nothing)= allow_duplicate_matches:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any +- Standard.Database.DB_Table.DB_Table.delete_rows self key_values_to_delete:(Standard.Database.DB_Table.DB_Table|Standard.Table.Table.Table) key_columns:(Standard.Base.Any.Any|Standard.Base.Nothing.Nothing)= allow_duplicate_matches:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any +- Standard.Database.DB_Table.DB_Table.select_into_database_table self connection:Standard.Base.Any.Any table_name:Standard.Base.Data.Text.Text primary_key:Standard.Base.Any.Any= temporary:Standard.Base.Any.Any= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any +- Standard.Database.DB_Table.DB_Table.select_into_database_table self connection:Standard.Base.Any.Any table_name:Standard.Base.Data.Text.Text primary_key:Standard.Base.Any.Any= temporary:Standard.Base.Any.Any= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any +- Standard.Database.DB_Table.DB_Table.update_rows self source_table:(Standard.Database.DB_Table.DB_Table|Standard.Table.Table.Table) update_action:Standard.Database.Update_Action.Update_Action= key_columns:(Standard.Base.Data.Vector.Vector|Standard.Base.Nothing.Nothing)= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any +- Standard.Database.DB_Table.DB_Table.update_rows self source_table:(Standard.Database.DB_Table.DB_Table|Standard.Table.Table.Table) update_action:Standard.Database.Update_Action.Update_Action= key_columns:(Standard.Base.Data.Vector.Vector|Standard.Base.Nothing.Nothing)= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Extensions/Upload_In_Memory_Table.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Extensions/Upload_In_Memory_Table.md new file mode 100644 index 000000000000..ba3fb962e0b4 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Extensions/Upload_In_Memory_Table.md @@ -0,0 +1,8 @@ +## Enso Signatures 1.0 +## module Standard.Database.Extensions.Upload_In_Memory_Table +- Standard.Table.Table.Table.delete_rows self key_values_to_delete:(Standard.Table.Table.Table|Standard.Database.DB_Table.DB_Table) key_columns:Standard.Base.Any.Any= allow_duplicate_matches:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any +- Standard.Table.Table.Table.delete_rows self key_values_to_delete:(Standard.Table.Table.Table|Standard.Database.DB_Table.DB_Table) key_columns:Standard.Base.Any.Any= allow_duplicate_matches:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any +- Standard.Table.Table.Table.select_into_database_table self connection:Standard.Base.Any.Any table_name:Standard.Base.Data.Text.Text primary_key:Standard.Base.Any.Any= temporary:Standard.Base.Any.Any= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any +- Standard.Table.Table.Table.select_into_database_table self connection:Standard.Base.Any.Any table_name:Standard.Base.Data.Text.Text primary_key:Standard.Base.Any.Any= temporary:Standard.Base.Any.Any= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any +- Standard.Table.Table.Table.update_rows self source_table:(Standard.Database.DB_Table.DB_Table|Standard.Table.Table.Table) update_action:Standard.Database.Update_Action.Update_Action= key_columns:(Standard.Base.Data.Vector.Vector|Standard.Base.Nothing.Nothing)= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any +- Standard.Table.Table.Table.update_rows self source_table:(Standard.Database.DB_Table.DB_Table|Standard.Table.Table.Table) update_action:Standard.Database.Update_Action.Update_Action= key_columns:(Standard.Base.Data.Vector.Vector|Standard.Base.Nothing.Nothing)= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Feature.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Feature.md new file mode 100644 index 000000000000..838c95cde2a8 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Feature.md @@ -0,0 +1,22 @@ +## Enso Signatures 1.0 +## module Standard.Database.Feature +- type Feature + - Add_Group_Number + - Add_Row_Number + - Aggregate + - Column_Operations + - Cross_Join + - Distinct + - Filter + - Integration_Tests + - Join + - Make_Table_From + - Merge + - Offset + - Replace + - Sample + - Select_Columns + - Sort + - Text_Cleanse + - Union + - if_supported_else_throw self dialect:Standard.Base.Any.Any error_name:Standard.Base.Data.Text.Text ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Aggregate_Helper.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Aggregate_Helper.md new file mode 100644 index 000000000000..67592c213404 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Aggregate_Helper.md @@ -0,0 +1,12 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Aggregate_Helper +- type Aggregate_With_Helper_Expressions + - Value create_helper_expressions:Standard.Base.Any.Any make_aggregate:Standard.Base.Any.Any + - build self dialect:Standard.Base.Any.Any base_table:Standard.Base.Any.Any key_columns:Standard.Base.Any.Any resolved_aggregates:Standard.Base.Any.Any problem_builder:Standard.Base.Any.Any -> Standard.Base.Any.Any +- aggregate table:Standard.Database.DB_Table.DB_Table group_by:(Standard.Base.Data.Vector.Vector|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex) columns:Standard.Base.Data.Vector.Vector error_on_missing_columns:Standard.Base.Data.Boolean.Boolean on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any +- default_build_aggregate build_aggregate:Standard.Base.Any.Any dialect:Standard.Base.Any.Any base_table:Standard.Base.Any.Any key_columns:Standard.Base.Any.Any resolved_aggregates:Standard.Base.Any.Any problem_builder:Standard.Base.Any.Any -> Standard.Base.Any.Any +- is_non_empty_selector v:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_aggregate_column table:Standard.Base.Any.Any aggregate:Standard.Base.Any.Any as:Standard.Base.Any.Any dialect:Standard.Base.Any.Any infer_return_type:Standard.Base.Any.Any problem_builder:Standard.Base.Any.Any -> Standard.Database.Internal.IR.Internal_Column.Internal_Column +- make_infer_return_type dialect:Standard.Base.Any.Any connection:Standard.Base.Any.Any context:Standard.Base.Any.Any -> Standard.Base.Any.Any +- map_column_inputs f:Standard.Base.Function.Function aggregate_column:Standard.Table.Aggregate_Column.Aggregate_Column -> Standard.Table.Aggregate_Column.Aggregate_Column +- throw_ordering_required op_name:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Base_Generator.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Base_Generator.md new file mode 100644 index 000000000000..1ef783c2ae62 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Base_Generator.md @@ -0,0 +1,61 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Base_Generator +- type Dialect_Operations + - Value operations_dict:(Standard.Base.Data.Dictionary.Dictionary Standard.Base.Data.Text.Text Standard.Base.Any.Any) + - extend_with self mappings:Standard.Base.Any.Any -> Standard.Base.Any.Any + - is_operation_supported self operation:Standard.Base.Data.Text.Text -> Standard.Base.Data.Boolean.Boolean +- type Let_Binder_Renamer + - Value existing_tables:(Standard.Base.Data.Hashset.Hashset Standard.Base.Data.Text.Text) binders_ref:(Standard.Base.Runtime.Ref.Ref Standard.Base.Data.Dictionary.Dictionary) serial_ref:(Standard.Base.Runtime.Ref.Ref Standard.Base.Data.Numbers.Integer) + - new existing_tables:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) -> Standard.Database.Internal.Base_Generator.Let_Binder_Renamer + - rename self name:Standard.Base.Data.Text.Text binder:Standard.Base.Data.Text.Text -> Standard.Base.Any.Any +- type SQL_Generator + - apply_op_generator_with_metadata self op:Standard.Base.Any.Any arguments:Standard.Base.Any.Any metadata:Standard.Base.Any.Any -> Standard.Base.Any.Any + - generate_expression self dialect:Standard.Base.Any.Any expr:Standard.Base.Any.Any -> Standard.Base.Any.Any + - generate_from_part self dialect:Standard.Base.Any.Any from_spec:Standard.Base.Any.Any -> Standard.Base.Any.Any + - generate_insert_query self dialect:Standard.Base.Any.Any table_name:Standard.Base.Any.Any pairs:Standard.Base.Any.Any -> Standard.Base.Any.Any + - generate_order self dialect:Standard.Base.Any.Any order_descriptor:Standard.Base.Any.Any -> Standard.Base.Any.Any + - generate_select_query_sql self dialect:Standard.Base.Any.Any columns:Standard.Base.Any.Any ctx:Standard.Base.Any.Any -> Standard.Base.Any.Any + - generate_sub_query self dialect:Standard.Base.Any.Any query:Standard.Base.Any.Any -> Standard.Base.Any.Any + - new -> Standard.Database.Internal.Base_Generator.SQL_Generator +- _build_lead_lag_sql lead_lag:Standard.Base.Data.Text.Text n:Standard.Database.SQL.SQL_Builder colName:Standard.Database.SQL.SQL_Builder grouping:Standard.Database.SQL.SQL_Builder ordering:Standard.Database.SQL.SQL_Builder -> Standard.Database.SQL.SQL_Builder +- _build_partition_sql grouping:Standard.Database.SQL.SQL_Builder ordering:Standard.Database.SQL.SQL_Builder -> Standard.Database.SQL.SQL_Builder +- _make_lead_lag lead_lag:Standard.Base.Data.Text.Text arguments:Standard.Base.Data.Vector.Vector -> Standard.Database.SQL.SQL_Builder +- _make_lead_lag_closest_value lead_lag:Standard.Base.Data.Text.Text arguments:Standard.Base.Data.Vector.Vector -> Standard.Database.SQL.SQL_Builder +- alias dialect:Standard.Base.Any.Any name:Standard.Base.Any.Any -> Standard.Base.Any.Any +- base_dialect_operations -> Standard.Base.Any.Any +- case_when arguments:Standard.Base.Any.Any -> Standard.Base.Any.Any +- collect_table_names query:Standard.Database.Internal.IR.Query.Query -> (Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) +- default_fetch_types_query dialect:Standard.Base.Any.Any expression:Standard.Base.Any.Any context:Standard.Base.Any.Any where_filter_always_false_literal:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- default_generate_collate collation_name:Standard.Base.Data.Text.Text quote_char:Standard.Base.Data.Text.Text= -> Standard.Base.Data.Text.Text +- default_get_part_order part:Standard.Database.Internal.SQL_Part.SQL_Part -> Standard.Base.Data.Numbers.Integer +- default_make_table_literal wrap_identifier:Standard.Base.Any.Any vecs:Standard.Base.Any.Any column_names:Standard.Base.Any.Any as_name:Standard.Base.Any.Any -> Standard.Base.Any.Any +- fold_case -> Standard.Base.Any.Any +- generate_column_description dialect:Standard.Base.Any.Any descriptor:Standard.Base.Any.Any -> Standard.Base.Any.Any +- generate_create_table dialect:Standard.Base.Any.Any name:Standard.Base.Any.Any columns:Standard.Base.Any.Any primary_key:Standard.Base.Any.Any temporary:Standard.Base.Any.Any -> Standard.Base.Any.Any +- generate_query dialect:Standard.Base.Any.Any query:Standard.Base.Any.Any -> Standard.Base.Any.Any +- is_empty -> Standard.Base.Any.Any +- length -> Standard.Base.Any.Any +- lift_binary_op name:Standard.Base.Any.Any function:Standard.Base.Any.Any -> Standard.Base.Any.Any +- lift_binary_sql_function name:Standard.Base.Data.Text.Text sql_function:Standard.Base.Data.Text.Text -> Standard.Base.Any.Any +- lift_unary_op name:Standard.Base.Any.Any function:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_between arguments:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_binary_op name:Standard.Base.Any.Any arguments:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_case_sensitive -> Standard.Base.Any.Any +- make_concat make_raw_concat_expr:Standard.Base.Any.Any make_contains_expr:Standard.Base.Any.Any has_quote:Standard.Base.Any.Any args:Standard.Base.Any.Any append_char:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- make_constant sql_code:Standard.Base.Any.Any arguments:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_equals a:Standard.Base.Any.Any b:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_function name:Standard.Base.Any.Any arguments:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_iif arguments:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_is_in arguments:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_is_in_column arguments:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_not_equals a:Standard.Base.Any.Any b:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_right_unary_op name:Standard.Base.Any.Any arguments:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_row_number arguments:Standard.Base.Data.Vector.Vector metadata:Standard.Database.Internal.IR.Operation_Metadata.Row_Number_Metadata -> Standard.Base.Any.Any +- make_row_number_in_group arguments:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_unary_op name:Standard.Base.Any.Any arguments:Standard.Base.Any.Any -> Standard.Base.Any.Any +- preprocess_query query:Standard.Database.Internal.IR.Query.Query -> Standard.Database.Internal.IR.Query.Query +- simple_cast -> Standard.Base.Any.Any +- simple_equals_ignore_case -> Standard.Base.Any.Any +- truncate_table_delete_from_style dialect:Standard.Base.Any.Any table_name:Standard.Base.Any.Any -> Standard.Base.Any.Any +- truncate_table_truncate_table_style dialect:Standard.Base.Any.Any table_name:Standard.Base.Any.Any -> Standard.Base.Any.Any +- wrap_in_quotes identifier:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Column_Fetcher.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Column_Fetcher.md new file mode 100644 index 000000000000..8f4ed2650f1f --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Column_Fetcher.md @@ -0,0 +1,21 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Column_Fetcher +- type Column_Fetcher + - Value fetch_value:Standard.Base.Any.Any make_builder:Standard.Base.Any.Any +- type Column_Fetcher_Builder + - Value append:Standard.Base.Any.Any make_column:Standard.Base.Any.Any +- big_decimal_fetcher -> Standard.Base.Any.Any +- big_integer_fetcher -> Standard.Base.Any.Any +- boolean_fetcher -> Standard.Base.Any.Any +- date_fetcher -> Standard.Base.Any.Any +- date_time_fetcher -> Standard.Base.Any.Any +- default_fetcher_for_value_type value_type:Standard.Base.Any.Any -> Standard.Base.Any.Any +- double_fetcher -> Standard.Base.Any.Any +- fallback_fetcher -> Standard.Base.Any.Any +- fetch_big_integer rs:Standard.Base.Any.Any i:Standard.Base.Any.Any -> Standard.Base.Any.Any +- local_date_time_fetcher -> Standard.Base.Any.Any +- long_fetcher bits:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_builder_from_java_object_builder java_builder:Standard.Base.Any.Any -> Standard.Base.Any.Any +- seal_java_builder java_builder:Standard.Base.Any.Any column_name:Standard.Base.Any.Any -> Standard.Base.Any.Any +- text_fetcher value_type:Standard.Base.Any.Any -> Standard.Base.Any.Any +- time_fetcher -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Connections_Helpers.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Connections_Helpers.md new file mode 100644 index 000000000000..ef45ae6217ac --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Connections_Helpers.md @@ -0,0 +1,3 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Common.Connections_Helpers +- get_data_viz_pairs -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Database_Distinct_Helper.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Database_Distinct_Helper.md new file mode 100644 index 000000000000..1afa2141b0d6 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Database_Distinct_Helper.md @@ -0,0 +1,3 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Common.Database_Distinct_Helper +- make_distinct_expression text_case_sensitivity:Standard.Base.Any.Any problem_builder:Standard.Base.Any.Any key_column:Standard.Base.Any.Any value_type:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Database_Join_Helper.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Database_Join_Helper.md new file mode 100644 index 000000000000..abaa3dad3d08 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Database_Join_Helper.md @@ -0,0 +1,8 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Common.Database_Join_Helper +- type Join_Subquery_Setup + - Value subquery:Standard.Database.Internal.IR.From_Spec.From_Spec new_columns:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.Internal_Column.Internal_Column) old_columns:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.Internal_Column.Internal_Column) indicator_column:(Standard.Base.Nothing.Nothing|Standard.Database.Internal.IR.Internal_Column.Internal_Column) + - column_mapping self -> Standard.Base.Any.Any +- make_join_helpers left_table:Standard.Base.Any.Any right_table:Standard.Base.Any.Any left_column_mapping:Standard.Base.Any.Any right_column_mapping:Standard.Base.Any.Any -> Standard.Base.Any.Any +- prepare_subqueries connection:Standard.Base.Any.Any left:Standard.Base.Any.Any right:Standard.Base.Any.Any needs_left_indicator:Standard.Base.Any.Any needs_right_indicator:Standard.Base.Any.Any -> Standard.Base.Any.Any +- select_columns_for_join column_naming_helper:Standard.Base.Any.Any join_kind:Standard.Base.Any.Any left_new_columns:Standard.Base.Any.Any right_new_columns:Standard.Base.Any.Any right_columns_to_drop:Standard.Base.Any.Any right_prefix:Standard.Base.Any.Any problem_builder:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Encoding_Limited_Naming_Properties.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Encoding_Limited_Naming_Properties.md new file mode 100644 index 000000000000..a41cdf1e7d6e --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Encoding_Limited_Naming_Properties.md @@ -0,0 +1,8 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Common.Encoding_Limited_Naming_Properties +- type Encoding_Limited_Naming_Properties + - Instance encoding:Standard.Base.Data.Text.Encoding.Encoding limit:Standard.Base.Data.Numbers.Integer is_case_sensitive:Standard.Base.Data.Boolean.Boolean= + - encoded_size self name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - raise_name_too_long_error self entity_kind:Standard.Base.Any.Any name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - size_limit self -> Standard.Base.Any.Any + - truncate self name:Standard.Base.Any.Any size:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Lookup_Query_Helper.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Lookup_Query_Helper.md new file mode 100644 index 000000000000..3dda167ab8d4 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Lookup_Query_Helper.md @@ -0,0 +1,14 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Common.Lookup_Query_Helper +- type Lookup_Subquery_Setup + - Value self_sub:Standard.Base.Any.Any lookup_sub:Standard.Base.Any.Any lookup_counter:Standard.Base.Any.Any new_table_name:Standard.Base.Any.Any + - create_merged_column self ix:Standard.Base.Any.Any expected_type:Standard.Base.Any.Any dialect:Standard.Base.Any.Any infer_type_in_result:Standard.Base.Any.Any allow_unmatched_rows:Standard.Base.Any.Any -> Standard.Base.Any.Any + - get_lookup_column self ix:Standard.Base.Any.Any -> Standard.Base.Any.Any + - get_self_column self ix:Standard.Base.Any.Any -> Standard.Base.Any.Any +- build_lookup_query base_table:Standard.Base.Any.Any lookup_table:Standard.Base.Any.Any key_columns:Standard.Base.Any.Any add_new_columns:Standard.Base.Any.Any allow_unmatched_rows:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any +- check_initial_invariants base_table:Standard.Base.Any.Any lookup_table:Standard.Base.Any.Any lookup_columns:Standard.Base.Any.Any allow_unmatched_rows:Standard.Base.Any.Any ~continuation:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_context_for_lookup_join lookup_columns:Standard.Base.Any.Any subquery_setup:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_invariant_check lookup_counter:Standard.Base.Any.Any allow_unmatched_rows:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_lookup_counter_column dialect:Standard.Base.Any.Any lookup_columns:Standard.Base.Any.Any unique_name_strategy:Standard.Base.Any.Any -> Standard.Base.Any.Any +- precheck_for_duplicate_matches lookup_columns:Standard.Base.Any.Any subquery_setup:Standard.Base.Any.Any connection:Standard.Base.Any.Any new_ctx:Standard.Base.Any.Any ~continuation:Standard.Base.Any.Any -> Standard.Base.Any.Any +- prepare_subqueries base_table:Standard.Base.Any.Any lookup_table:Standard.Base.Any.Any lookup_columns:Standard.Base.Any.Any unique_name_strategy:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Offset_Helpers.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Offset_Helpers.md new file mode 100644 index 000000000000..53a178d1d44f --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Offset_Helpers.md @@ -0,0 +1,3 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Common.Offset_Helpers +- make_offset n:Standard.Base.Data.Numbers.Integer colName:Standard.Database.Internal.IR.Internal_Column.Internal_Column order_descriptors:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.Order_Descriptor.Order_Descriptor) grouping_expressions:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.SQL_Expression.SQL_Expression) fill_with:Standard.Table.Fill_With.Fill_With -> Standard.Database.Internal.IR.SQL_Expression.SQL_Expression diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Row_Number_Helpers.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Row_Number_Helpers.md new file mode 100644 index 000000000000..6c2cf2e34dfb --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Common/Row_Number_Helpers.md @@ -0,0 +1,3 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Common.Row_Number_Helpers +- make_row_number from:Standard.Base.Data.Numbers.Integer step:Standard.Base.Data.Numbers.Integer order_descriptors:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.Order_Descriptor.Order_Descriptor) grouping_expressions:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.SQL_Expression.SQL_Expression) -> Standard.Database.Internal.IR.SQL_Expression.SQL_Expression diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Connection/Entity_Naming_Properties.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Connection/Entity_Naming_Properties.md new file mode 100644 index 000000000000..b715417cf7a0 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Connection/Entity_Naming_Properties.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Connection.Entity_Naming_Properties +- type Entity_Naming_Properties + - Value for_table_names:Standard.Base.Any.Any for_column_names:Standard.Base.Any.Any for_generated_column_names:Standard.Base.Any.Any + - from_jdbc_connection jdbc_connection:Standard.Base.Any.Any encoding:Standard.Base.Data.Text.Encoding.Encoding= is_case_sensitive:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/DB_Data_Link_Helpers.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/DB_Data_Link_Helpers.md new file mode 100644 index 000000000000..5bf61695b8c8 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/DB_Data_Link_Helpers.md @@ -0,0 +1,4 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.DB_Data_Link_Helpers +- data_link_connection_parameters source:Standard.Base.Enso_Cloud.Data_Link_Helpers.Data_Link_Source_Metadata -> Standard.Database.Connection.Connection_Options.Connection_Options +- save_table_as_data_link table:Standard.Base.Any.Any destination:Standard.Base.Any.Any on_existing_file:Standard.Base.System.File.Existing_File_Behavior.Existing_File_Behavior -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/DDL_Transaction.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/DDL_Transaction.md new file mode 100644 index 000000000000..d8816e27c551 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/DDL_Transaction.md @@ -0,0 +1,12 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.DDL_Transaction +- type Support_Level + - Allowed + - Causes_Commit + - Ignored + - Unsupported + - get_from connection:Standard.Base.Any.Any -> Standard.Database.Internal.DDL_Transaction.Support_Level +- type Transactional_Table_Description + - Value name:Standard.Base.Data.Text.Text temporary:Standard.Base.Data.Boolean.Boolean structure:(Standard.Base.Data.Vector.Vector Standard.Database.Column_Description.Column_Description) primary_key:(Standard.Base.Any.Any|Standard.Base.Nothing.Nothing) remove_after_transaction:Standard.Base.Data.Boolean.Boolean on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior +- check_table_integrity created_table:Standard.Base.Any.Any -> Standard.Base.Any.Any +- run_transaction_with_tables connection:Standard.Base.Any.Any tables:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.DDL_Transaction.Transactional_Table_Description) callback:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Data_Link_Setup.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Data_Link_Setup.md new file mode 100644 index 000000000000..cbf14861d61e --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Data_Link_Setup.md @@ -0,0 +1,17 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Data_Link_Setup +- type DB_Data_Link_Type + - Database + - Query query:Standard.Base.Data.Text.Text + - SQL_Statement sql_statement:Standard.Database.SQL_Statement.SQL_Statement + - Table name:Standard.Base.Data.Text.Text + - add_to_data_link_description self connection_description:Standard.Base.Data.Json.JS_Object -> Standard.Base.Data.Json.JS_Object + - from_js value:Standard.Base.Any.Any -> Standard.Base.Any.Any + - interpret self connection:Standard.Base.Any.Any -> Standard.Base.Any.Any + - to_js_object self -> Standard.Base.Any.Any +- type Data_Link_Setup + - Available create_data_link_structure:Standard.Base.Any.Any + - Unavailable cause:Standard.Base.Data.Text.Text + - already_a_data_link -> Standard.Database.Internal.Data_Link_Setup.Data_Link_Setup + - save_as_data_link self destination:Standard.Base.Any.Any on_existing_file:Standard.Base.System.File.Existing_File_Behavior.Existing_File_Behavior link_type:Standard.Database.Internal.Data_Link_Setup.DB_Data_Link_Type= -> Standard.Base.Any.Any + - save_credentials_for_data_link data_link_location:Standard.Base.Enso_Cloud.Enso_File.Enso_File credentials:Standard.Database.Connection.Credentials.Credentials -> Standard.Base.Data.Json.JS_Object diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Error_Mapper.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Error_Mapper.md new file mode 100644 index 000000000000..8476fc84a1e9 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Error_Mapper.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Error_Mapper +- type 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 + - is_table_already_exists_error error:Standard.Base.Any.Any -> Standard.Base.Any.Any + - transform_custom_errors error:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Helpers.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Helpers.md new file mode 100644 index 000000000000..b7d6a5566db9 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Helpers.md @@ -0,0 +1,9 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Helpers +- assume_default_locale locale:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any +- check_connection entity1:Standard.Base.Any.Any entity2:Standard.Base.Any.Any -> Standard.Base.Any.Any +- check_integrity entity1:Standard.Base.Any.Any entity2:Standard.Base.Any.Any -> Standard.Base.Any.Any +- ensure_same_connection name:Standard.Base.Any.Any entities:Standard.Base.Any.Any ~continuation:Standard.Base.Any.Any -> Standard.Base.Any.Any +- expect_dialect_specific_integer_type related_column:Standard.Base.Any.Any argument:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any +- rename_internal_columns columns:Standard.Base.Any.Any new_names:Standard.Base.Any.Any -> Standard.Base.Any.Any +- unify_vector_singleton x:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Hidden_Table_Registry.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Hidden_Table_Registry.md new file mode 100644 index 000000000000..682165a5ca0f --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Hidden_Table_Registry.md @@ -0,0 +1,12 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Hidden_Table_Registry +- type Hidden_Table_Reference + - Reference parent:Standard.Database.Internal.Hidden_Table_Registry.Hidden_Table_Registry table_name:Standard.Base.Data.Text.Text +- type Hidden_Table_Registry + - Registry reference_counter:Standard.Database.Internal.Hidden_Table_Registry.HiddenTableReferenceCounter + - is_registered self table_name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - list_hidden_tables self -> Standard.Base.Any.Any + - make_reference self table_name:Standard.Base.Any.Any -> Standard.Base.Any.Any +- dispose_reference reference:Standard.Base.Any.Any -> Standard.Base.Any.Any +- new -> Standard.Base.Any.Any +- run_maintenance_table_cleanup connection:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Context.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Context.md new file mode 100644 index 000000000000..ff50519033e5 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Context.md @@ -0,0 +1,21 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.IR.Context +- type Context + - Value from_spec:Standard.Database.Internal.IR.From_Spec.From_Spec where_filters:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.SQL_Expression.SQL_Expression) orders:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.Order_Descriptor.Order_Descriptor) groups:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.SQL_Expression.SQL_Expression) limit:(Standard.Base.Nothing.Nothing|Standard.Base.Data.Numbers.Integer) extensions:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.Context.Context_Extension) + - add_extension self extension:Standard.Base.Any.Any -> Standard.Base.Any.Any + - add_orders self new_orders:Standard.Base.Any.Any -> Standard.Base.Any.Any + - add_where_filters self new_filters:Standard.Base.Any.Any -> Standard.Base.Any.Any + - as_subquery self alias:Standard.Base.Any.Any column_lists:Standard.Base.Any.Any -> Standard.Base.Any.Any + - for_query raw_sql:(Standard.Base.Data.Text.Text|Standard.Database.SQL_Statement.SQL_Statement) alias:Standard.Base.Data.Text.Text -> Standard.Database.Internal.IR.Context.Context + - for_subquery subquery:Standard.Database.Internal.IR.From_Spec.From_Spec -> Standard.Database.Internal.IR.Context.Context + - for_table table_name:Standard.Base.Data.Text.Text alias:Standard.Base.Data.Text.Text= internal_temporary_keep_alive_reference:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - set_groups self new_groups:Standard.Base.Any.Any -> Standard.Base.Any.Any + - set_limit self new_limit:Standard.Base.Any.Any -> Standard.Base.Any.Any + - set_orders self new_orders:Standard.Base.Any.Any -> Standard.Base.Any.Any + - set_where_filters self new_filters:Standard.Base.Any.Any -> Standard.Base.Any.Any + - traverse self f:Standard.Base.Any.Any -> Standard.Database.Internal.IR.Context.Context +- type Context_Extension + - Value part_name:Standard.Database.Internal.SQL_Part.SQL_Part expressions:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.SQL_Expression.SQL_Expression) run_generator:Standard.Base.Any.Any + - traverse self f:Standard.Base.Any.Any -> Standard.Database.Internal.IR.Context.Context_Extension +- type Subquery_Setup + - Value subquery:Standard.Database.Internal.IR.From_Spec.From_Spec new_columns:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any) remap_column:Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Create_Column_Descriptor.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Create_Column_Descriptor.md new file mode 100644 index 000000000000..d203a377f67c --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Create_Column_Descriptor.md @@ -0,0 +1,4 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.IR.Create_Column_Descriptor +- type Create_Column_Descriptor + - Value name:Standard.Base.Data.Text.Text sql_type:Standard.Base.Data.Text.Text constraints:(Standard.Base.Data.Vector.Vector Standard.Database.Column_Constraint.Column_Constraint) diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/From_Spec.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/From_Spec.md new file mode 100644 index 000000000000..260b755bd421 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/From_Spec.md @@ -0,0 +1,14 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.IR.From_Spec +- type From_Spec + - Join kind:Standard.Database.Internal.IR.SQL_Join_Kind.SQL_Join_Kind left_spec:Standard.Database.Internal.IR.From_Spec.From_Spec right_spec:Standard.Database.Internal.IR.From_Spec.From_Spec on:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.SQL_Expression.SQL_Expression) + - Literal_Values column_vectors:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any) column_names:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) alias:Standard.Base.Data.Text.Text + - Query raw_sql:(Standard.Base.Data.Text.Text|Standard.Database.SQL_Statement.SQL_Statement) alias:Standard.Base.Data.Text.Text + - Sub_Query columns:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any) context:Standard.Database.Internal.IR.Context.Context alias:Standard.Base.Data.Text.Text + - Table table_name:Standard.Base.Data.Text.Text alias:Standard.Base.Data.Text.Text internal_temporary_keep_alive_reference:Standard.Base.Any.Any= + - Union queries:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.Query.Query) alias:Standard.Base.Data.Text.Text + - traverse self f:Standard.Base.Any.Any -> Standard.Database.Internal.IR.From_Spec.From_Spec +- type From_Spec_Comparator + - compare x:Standard.Base.Any.Any y:Standard.Base.Any.Any -> Standard.Base.Any.Any + - hash x:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Data.Ordering.Comparable.from that:Standard.Database.Internal.IR.From_Spec.From_Spec -> Standard.Base.Data.Ordering.Comparable diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Internal_Column.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Internal_Column.md new file mode 100644 index 000000000000..8176c941ec29 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Internal_Column.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.IR.Internal_Column +- type Internal_Column + - Value name:Standard.Base.Data.Text.Text sql_type_reference:Standard.Database.Internal.SQL_Type_Reference.SQL_Type_Reference expression:Standard.Database.Internal.IR.SQL_Expression.SQL_Expression + - rename self new_name:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Nulls_Order.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Nulls_Order.md new file mode 100644 index 000000000000..42ac63218800 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Nulls_Order.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.IR.Nulls_Order +- type Nulls_Order + - First + - Last diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Operation_Metadata.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Operation_Metadata.md new file mode 100644 index 000000000000..4930e6f3301b --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Operation_Metadata.md @@ -0,0 +1,6 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.IR.Operation_Metadata +- type Date_Period_Metadata + - Value period:(Standard.Base.Data.Time.Date_Period.Date_Period|Standard.Base.Data.Time.Time_Period.Time_Period) input_value_type:Standard.Table.Value_Type.Value_Type +- type Row_Number_Metadata + - Value groupings_count:Standard.Base.Data.Numbers.Integer diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Order_Descriptor.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Order_Descriptor.md new file mode 100644 index 000000000000..627708a337c4 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Order_Descriptor.md @@ -0,0 +1,6 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.IR.Order_Descriptor +- type Order_Descriptor + - Value expression:Standard.Database.Internal.IR.SQL_Expression.SQL_Expression direction:Standard.Base.Data.Sort_Direction.Sort_Direction nulls_order:(Standard.Base.Nothing.Nothing|Standard.Database.Internal.IR.Nulls_Order.Nulls_Order)= collation:(Standard.Base.Nothing.Nothing|Standard.Base.Data.Text.Text)= + - reverse self -> Standard.Database.Internal.IR.Order_Descriptor.Order_Descriptor + - traverse self f:Standard.Base.Any.Any -> Standard.Database.Internal.IR.Order_Descriptor.Order_Descriptor diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Query.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Query.md new file mode 100644 index 000000000000..5f71dbf9ad48 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Query.md @@ -0,0 +1,13 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.IR.Query +- type Query + - Create_Table table_name:Standard.Base.Data.Text.Text columns:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.Create_Column_Descriptor.Create_Column_Descriptor) primary_key:(Standard.Base.Nothing.Nothing|Standard.Base.Any.Any) temporary:Standard.Base.Data.Boolean.Boolean + - Delete_Matching_Rows target_table_name:Standard.Base.Data.Text.Text source_table_name:Standard.Base.Data.Text.Text key_columns:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) + - Delete_Unmatched_Rows target_table_name:Standard.Base.Data.Text.Text source_table_name:Standard.Base.Data.Text.Text key_columns:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) + - Drop_Table table_name:Standard.Base.Data.Text.Text if_exists:Standard.Base.Data.Boolean.Boolean + - Insert table_name:Standard.Base.Data.Text.Text pairs:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any) + - Insert_From_Select table_name:Standard.Base.Data.Text.Text column_names:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) select:Standard.Database.Internal.IR.Query.Query + - Select expressions:(Standard.Base.Nothing.Nothing|Standard.Base.Any.Any) context:Standard.Database.Internal.IR.Context.Context + - Truncate_Table table_name:Standard.Base.Data.Text.Text + - Update_From_Table target_table_name:Standard.Base.Data.Text.Text source_table_name:Standard.Base.Data.Text.Text column_names:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) key_columns:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) + - traverse self f:Standard.Base.Any.Any -> Standard.Database.Internal.IR.Query.Query diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/SQL_Expression.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/SQL_Expression.md new file mode 100644 index 000000000000..fe9e2a5dbed3 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/SQL_Expression.md @@ -0,0 +1,12 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.IR.SQL_Expression +- type SQL_Expression + - Column origin:Standard.Base.Data.Text.Text name:Standard.Base.Data.Text.Text + - Constant value:Standard.Base.Any.Any + - Let name:Standard.Base.Data.Text.Text binder:Standard.Base.Data.Text.Text bindee:Standard.Database.Internal.IR.SQL_Expression.SQL_Expression body:Standard.Database.Internal.IR.SQL_Expression.SQL_Expression + - Let_Ref name:Standard.Base.Data.Text.Text binder:Standard.Base.Data.Text.Text standalone_expression:Standard.Database.Internal.IR.SQL_Expression.SQL_Expression + - List values:Standard.Base.Data.Vector.Vector + - Literal value:Standard.Base.Data.Text.Text + - Operation kind:Standard.Base.Data.Text.Text expressions:(Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.SQL_Expression.SQL_Expression) metadata:(Standard.Base.Any.Any|Standard.Base.Nothing.Nothing)= + - Text_Literal value:Standard.Base.Data.Text.Text + - traverse self f:Standard.Base.Any.Any -> Standard.Database.Internal.IR.SQL_Expression.SQL_Expression diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/SQL_Join_Kind.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/SQL_Join_Kind.md new file mode 100644 index 000000000000..35e5e617dd57 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/SQL_Join_Kind.md @@ -0,0 +1,9 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.IR.SQL_Join_Kind +- type SQL_Join_Kind + - Cross + - Full + - Inner + - Left + - Right + - to_sql self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Traversal_Helpers.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Traversal_Helpers.md new file mode 100644 index 000000000000..9b202e78578c --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/IR/Traversal_Helpers.md @@ -0,0 +1,3 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.IR.Traversal_Helpers +- traverse_and_accumulate f:Standard.Base.Any.Any node:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/In_Transaction.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/In_Transaction.md new file mode 100644 index 000000000000..de518589b499 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/In_Transaction.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.In_Transaction +- type In_Transaction + - ensure_in_transaction ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any + - is_in_transaction -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Internals_Access.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Internals_Access.md new file mode 100644 index 000000000000..ac9589228076 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Internals_Access.md @@ -0,0 +1,6 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Internals_Access +- column_expression column:(Standard.Database.DB_Column.DB_Column|Standard.Database.Internal.IR.Internal_Column.Internal_Column) -> Standard.Database.Internal.IR.SQL_Expression.SQL_Expression +- get_connection thing:(Standard.Database.DB_Column.DB_Column|Standard.Database.DB_Table.DB_Table) -> Standard.Base.Any.Any +- get_context thing:(Standard.Database.DB_Column.DB_Column|Standard.Database.DB_Table.DB_Table) -> Standard.Database.Internal.IR.Context.Context +- internal_columns table:Standard.Database.DB_Table.DB_Table -> (Standard.Base.Data.Vector.Vector Standard.Database.Internal.IR.Internal_Column.Internal_Column) diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/JDBC_Connection.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/JDBC_Connection.md new file mode 100644 index 000000000000..8a23ea9f6438 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/JDBC_Connection.md @@ -0,0 +1,24 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.JDBC_Connection +- type JDBC_Connection + - Value connection_resource:Standard.Base.Any.Any operation_synchronizer:Standard.Base.Any.Any + - batch_insert self insert_template:Standard.Base.Any.Any statement_setter:Standard.Base.Any.Any table:Standard.Base.Any.Any batch_size:Standard.Base.Any.Any expected_type_hints:Standard.Base.Any.Any= row_limit:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - close self -> Standard.Base.Any.Any + - ensure_query_has_no_holes self raw_sql:Standard.Base.Any.Any -> Standard.Base.Any.Any + - execute self query:(Standard.Base.Data.Text.Text|Standard.Database.SQL_Statement.SQL_Statement) -> Standard.Base.Any.Any + - raw_fetch_columns self statement:Standard.Base.Any.Any execute_query:Standard.Base.Any.Any statement_setter:Standard.Base.Any.Any -> Standard.Base.Any.Any + - raw_read_statement self raw_sql:Standard.Base.Any.Any -> Standard.Base.Any.Any + - run_maintenance_action_if_possible self callback:Standard.Base.Any.Any -> Standard.Base.Any.Any + - run_within_transaction self ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any + - run_without_autocommit self ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any + - synchronized self ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any + - with_connection self action:Standard.Base.Any.Any -> Standard.Base.Any.Any + - with_metadata self ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any + - with_prepared_statement self query:Standard.Base.Any.Any statement_setter:Standard.Base.Any.Any action:Standard.Base.Any.Any skip_log:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- close_connection connection:Standard.Base.Any.Any -> Standard.Base.Any.Any +- create url:Standard.Base.Any.Any properties:Standard.Base.Any.Any -> Standard.Base.Any.Any +- get_pragma_value jdbc_connection:Standard.Base.Any.Any sql:Standard.Base.Any.Any -> Standard.Base.Any.Any +- handle_sql_errors ~action:Standard.Base.Any.Any related_query:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- log_sql_if_enabled jdbc_connection:Standard.Base.Any.Any ~query_text:Standard.Base.Any.Any -> Standard.Base.Any.Any +- profile_sql_if_enabled jdbc_connection:Standard.Database.Internal.JDBC_Connection.JDBC_Connection ~query_text:Standard.Base.Data.Text.Text ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any +- set_statement_values stmt:Standard.Base.Any.Any statement_setter:Standard.Base.Any.Any values:Standard.Base.Any.Any expected_type_hints:Standard.Base.Any.Any= -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Helpers.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Helpers.md new file mode 100644 index 000000000000..f0d313404135 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Helpers.md @@ -0,0 +1,4 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Postgres.Helpers +- get_encoding_name jdbc_connection:Standard.Base.Any.Any -> Standard.Base.Any.Any +- parse_postgres_encoding encoding_name:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Pgpass.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Pgpass.md new file mode 100644 index 000000000000..b73834e8028e --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Pgpass.md @@ -0,0 +1,10 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Postgres.Pgpass +- type Pgpass_Entry + - Value host:Standard.Base.Any.Any port:Standard.Base.Any.Any database:Standard.Base.Any.Any username:Standard.Base.Any.Any password:Standard.Base.Any.Any + - matches self host:Standard.Base.Any.Any port:Standard.Base.Any.Any database:Standard.Base.Any.Any username:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- locate -> Standard.Base.Any.Any +- parse_file file:Standard.Base.Any.Any -> Standard.Base.Any.Any +- parse_line line:Standard.Base.Any.Any -> Standard.Base.Any.Any +- read host:Standard.Base.Any.Any port:Standard.Base.Any.Any database:Standard.Base.Any.Any username:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- verify file:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Postgres_Dialect.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Postgres_Dialect.md new file mode 100644 index 000000000000..2503996d5015 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Postgres_Dialect.md @@ -0,0 +1,84 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Postgres.Postgres_Dialect +- type Postgres_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 + - if_replace_params_supports self replace_params:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> 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.Database.Internal.IR.Internal_Column.Internal_Column target_type:Standard.Database.SQL_Type.SQL_Type 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_distinct self table:Standard.Base.Any.Any key_columns:Standard.Base.Any.Any case_sensitivity:Standard.Base.Any.Any problem_builder: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_metadata_for_period self period:Standard.Base.Any.Any operation_input_type: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 +- agg_count_distinct args:Standard.Base.Any.Any -> Standard.Base.Any.Any +- agg_count_distinct_include_null args:Standard.Base.Any.Any -> Standard.Base.Any.Any +- agg_count_empty -> Standard.Base.Any.Any +- agg_count_is_null -> Standard.Base.Any.Any +- agg_count_not_empty -> Standard.Base.Any.Any +- agg_longest -> Standard.Base.Any.Any +- agg_median -> Standard.Base.Any.Any +- agg_mode -> Standard.Base.Any.Any +- agg_percentile -> Standard.Base.Any.Any +- agg_shortest -> Standard.Base.Any.Any +- as_int32 expr:Standard.Base.Any.Any -> Standard.Base.Any.Any +- as_int64 expr:Standard.Base.Any.Any -> Standard.Base.Any.Any +- bool_or -> Standard.Base.Any.Any +- concat_ops -> Standard.Base.Any.Any +- contains -> Standard.Base.Any.Any +- decimal_div -> Standard.Base.Any.Any +- decimal_mod -> Standard.Base.Any.Any +- ends_with -> Standard.Base.Any.Any +- first_last_aggregators -> Standard.Base.Any.Any +- floating_point_div -> Standard.Base.Any.Any +- is_empty -> Standard.Base.Any.Any +- is_finite -> Standard.Base.Any.Any +- is_inf -> Standard.Base.Any.Any +- is_nan -> Standard.Base.Any.Any +- is_null -> Standard.Base.Any.Any +- left -> Standard.Base.Any.Any +- make_case_sensitive -> Standard.Base.Any.Any +- make_contains_expr expr:Standard.Base.Any.Any substring:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_date_add arguments:Standard.Base.Any.Any metadata:Standard.Database.Internal.IR.Operation_Metadata.Date_Period_Metadata -> Standard.Base.Any.Any +- make_date_diff arguments:Standard.Base.Any.Any metadata:Standard.Database.Internal.IR.Operation_Metadata.Date_Period_Metadata -> Standard.Base.Any.Any +- make_date_trunc_to_day arguments:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_dialect_operations -> Standard.Base.Any.Any +- make_distinct_extension expressions:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_extract_as_int enso_name:Standard.Base.Any.Any sql_name:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- make_extract_fractional_as_int enso_name:Standard.Base.Any.Any sql_name:Standard.Base.Any.Any= modulus:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- make_first_aggregator reverse:Standard.Base.Any.Any ignore_null:Standard.Base.Any.Any args:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_order_descriptor internal_column:Standard.Base.Any.Any sort_direction:Standard.Base.Any.Any text_ordering:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_runtime_error_op arguments:Standard.Base.Any.Any -> Standard.Base.Any.Any +- mod_op -> Standard.Base.Any.Any +- postgres -> Standard.Base.Any.Any +- postgres_dialect_name -> Standard.Base.Any.Any +- replace args:Standard.Base.Any.Any metadata:Standard.Base.Any.Any -> Standard.Base.Any.Any +- represents_an_untyped_null_expression arg:Standard.Base.Any.Any -> Standard.Base.Any.Any +- right -> Standard.Base.Any.Any +- starts_with -> Standard.Base.Any.Any +- supported_replace_params -> Standard.Base.Any.Any +- trim_ops -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Postgres_Error_Mapper.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Postgres_Error_Mapper.md new file mode 100644 index 000000000000..f0feaf17a3a9 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Postgres_Error_Mapper.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Postgres.Postgres_Error_Mapper +- type Postgres_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 + - is_table_already_exists_error error:Standard.Base.Any.Any -> Standard.Base.Any.Any + - transform_custom_errors error:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Postgres_Type_Mapping.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Postgres_Type_Mapping.md new file mode 100644 index 000000000000..8dac34789046 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Postgres/Postgres_Type_Mapping.md @@ -0,0 +1,17 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Postgres.Postgres_Type_Mapping +- type Postgres_Type_Mapping + - infer_return_type infer_from_database_callback:Standard.Base.Any.Any op_name:Standard.Base.Any.Any arguments:Standard.Base.Any.Any expression:Standard.Base.Any.Any -> Standard.Base.Any.Any + - is_implicit_conversion source_type:Standard.Table.Value_Type.Value_Type target_type:Standard.Table.Value_Type.Value_Type -> Standard.Base.Data.Boolean.Boolean + - is_integer_type value_type:Standard.Table.Value_Type.Value_Type -> Standard.Base.Data.Boolean.Boolean + - is_same_type value_type1:Standard.Table.Value_Type.Value_Type value_type2:Standard.Table.Value_Type.Value_Type -> Standard.Base.Data.Boolean.Boolean + - make_column_fetcher self sql_type:Standard.Base.Any.Any -> Standard.Base.Any.Any + - prepare_type_overrides column_type_suggestions:Standard.Base.Any.Any -> Standard.Base.Any.Any + - should_warn_on_materialize db_type:Standard.Table.Value_Type.Value_Type in_memory_type:Standard.Table.Value_Type.Value_Type -> Standard.Base.Data.Boolean.Boolean + - sql_type_to_text sql_type:Standard.Base.Any.Any -> Standard.Base.Any.Any + - sql_type_to_value_type sql_type:Standard.Base.Any.Any -> Standard.Base.Any.Any + - value_type_to_sql value_type:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any +- complex_types_map -> Standard.Base.Any.Any +- max_precision -> Standard.Base.Any.Any +- on_unknown_type sql_type:Standard.Base.Any.Any -> Standard.Base.Any.Any +- simple_types_map -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Replace_Params.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Replace_Params.md new file mode 100644 index 000000000000..4583e8b67992 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Replace_Params.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Replace_Params +- type Replace_Params + - Value input_type:Standard.Base.Any.Any case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity only_first:Standard.Base.Data.Boolean.Boolean + - throw_unsupported self name:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Result_Set.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Result_Set.md new file mode 100644 index 000000000000..3cfbce84dcaa --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Result_Set.md @@ -0,0 +1,4 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Result_Set +- read_column result_set:Standard.Base.Any.Any column_name:Standard.Base.Any.Any -> Standard.Base.Any.Any +- result_set_to_table result_set:Standard.Base.Any.Any make_column_fetcher:Standard.Base.Any.Any type_overrides:Standard.Base.Any.Any= last_row_only:Standard.Base.Any.Any= -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQL_Part.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQL_Part.md new file mode 100644 index 000000000000..231fbb67164c --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQL_Part.md @@ -0,0 +1,11 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.SQL_Part +- type SQL_Part + - Columns + - Extension name:Standard.Base.Data.Text.Text + - From + - Group + - Limit + - Order + - Select + - Where diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQL_Type_Mapping.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQL_Type_Mapping.md new file mode 100644 index 000000000000..33647546d6d3 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQL_Type_Mapping.md @@ -0,0 +1,14 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.SQL_Type_Mapping +- type SQL_Type_Mapping + - infer_return_type infer_from_database_callback:Standard.Base.Any.Any op_name:Standard.Base.Any.Any arguments:Standard.Base.Any.Any expression:Standard.Base.Any.Any -> Standard.Base.Any.Any + - is_implicit_conversion source_type:Standard.Table.Value_Type.Value_Type target_type:Standard.Table.Value_Type.Value_Type -> Standard.Base.Data.Boolean.Boolean + - is_integer_type value_type:Standard.Table.Value_Type.Value_Type -> Standard.Base.Data.Boolean.Boolean + - is_same_type value_type1:Standard.Table.Value_Type.Value_Type value_type2:Standard.Table.Value_Type.Value_Type -> Standard.Base.Data.Boolean.Boolean + - prepare_type_overrides column_type_suggestions:Standard.Base.Any.Any -> Standard.Base.Any.Any + - should_warn_on_materialize db_type:Standard.Table.Value_Type.Value_Type in_memory_type:Standard.Table.Value_Type.Value_Type -> Standard.Base.Data.Boolean.Boolean + - sql_type_to_text sql_type:Standard.Base.Any.Any -> Standard.Base.Any.Any + - sql_type_to_value_type sql_type:Standard.Base.Any.Any -> Standard.Base.Any.Any + - value_type_to_sql value_type:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any +- default_should_warn_on_materialize db_type:Standard.Table.Value_Type.Value_Type in_memory_type:Standard.Table.Value_Type.Value_Type -> Standard.Base.Any.Any +- default_sql_type_to_text sql_type:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQL_Type_Reference.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQL_Type_Reference.md new file mode 100644 index 000000000000..a84146a13c2a --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQL_Type_Reference.md @@ -0,0 +1,15 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.SQL_Type_Reference +- type SQL_Type_Recipe + - Value connection:Standard.Database.Connection.Connection.Connection context:Standard.Database.Internal.IR.Context.Context expression:Standard.Database.Internal.IR.SQL_Expression.SQL_Expression +- type SQL_Type_Reference + - Computed_By_Database ref:(Standard.Base.Runtime.Ref.Ref Standard.Base.Any.Any) + - Null + - Overridden value:Standard.Database.SQL_Type.SQL_Type + - cache_computed_type self ~sql_type:Standard.Database.SQL_Type.SQL_Type -> Standard.Base.Any.Any + - from_constant sql_type:Standard.Base.Any.Any -> Standard.Base.Any.Any + - get self -> Standard.Base.Any.Any + - new connection:Standard.Base.Any.Any context:Standard.Base.Any.Any expression:Standard.Base.Any.Any -> Standard.Base.Any.Any + - null -> Standard.Base.Any.Any + - to_type_override self -> Standard.Base.Any.Any +- get_or_compute ref:(Standard.Base.Runtime.Ref.Ref Standard.Base.Any.Any) -> Standard.Database.SQL_Type.SQL_Type diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQL_Warning_Helper.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQL_Warning_Helper.md new file mode 100644 index 000000000000..e4d3828f7cb5 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQL_Warning_Helper.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.SQL_Warning_Helper +- extract_warnings jdbc_object:Standard.Base.Any.Any -> Standard.Base.Any.Any +- extract_warnings_into_builder builder:Standard.Base.Any.Any jdbc_object:Standard.Base.Any.Any -> Standard.Base.Any.Any +- process_warnings jdbc_object:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQLite/SQLite_Dialect.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQLite/SQLite_Dialect.md new file mode 100644 index 000000000000..dd0e591ce8b9 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQLite/SQLite_Dialect.md @@ -0,0 +1,69 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.SQLite.SQLite_Dialect +- type SQLite_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 + - custom_build_aggregate self -> 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 + - if_replace_params_supports self replace_params:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> 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.Database.Internal.IR.Internal_Column.Internal_Column target_type:Standard.Database.SQL_Type.SQL_Type infer_result_type_from_database_callback:Standard.Base.Any.Any -> Standard.Base.Any.Any + - make_cast_expression self column:Standard.Base.Any.Any target_type: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_distinct self table:Standard.Base.Any.Any key_columns:Standard.Base.Any.Any case_sensitivity:Standard.Base.Any.Any problem_builder: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_metadata_for_period self period:Standard.Base.Any.Any operation_input_type: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 +- agg_count_distinct args:Standard.Base.Any.Any -> Standard.Base.Any.Any +- agg_count_distinct_include_null args:Standard.Base.Any.Any -> Standard.Base.Any.Any +- agg_count_empty -> Standard.Base.Any.Any +- agg_count_is_null -> Standard.Base.Any.Any +- agg_count_not_empty -> Standard.Base.Any.Any +- agg_stddev_pop -> Standard.Base.Any.Any +- agg_stddev_samp -> Standard.Base.Any.Any +- bool_or -> Standard.Base.Any.Any +- concat_ops -> Standard.Base.Any.Any +- contains -> Standard.Base.Any.Any +- ends_with -> Standard.Base.Any.Any +- first_last_aggregators -> Standard.Base.Any.Any +- floating_point_div -> Standard.Base.Any.Any +- is_finite -> Standard.Base.Any.Any +- is_inf -> Standard.Base.Any.Any +- left -> Standard.Base.Any.Any +- make_case_sensitive -> Standard.Base.Any.Any +- make_contains_expr expr:Standard.Base.Any.Any substring:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_custom_cast column:Standard.Base.Any.Any target_value_type:Standard.Base.Any.Any type_mapping:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_dialect_operations -> Standard.Base.Any.Any +- make_runtime_error_op arguments:Standard.Base.Any.Any -> Standard.Base.Any.Any +- mod_op -> Standard.Base.Any.Any +- replace args:Standard.Base.Any.Any metadata:Standard.Base.Any.Any -> Standard.Base.Any.Any +- replace_only_first case_sensitive:Standard.Base.Any.Any t:Standard.Base.Any.Any p:Standard.Base.Any.Any r:Standard.Base.Any.Any -> Standard.Base.Any.Any +- right -> Standard.Base.Any.Any +- sqlite -> Standard.Base.Any.Any +- starts_with -> Standard.Base.Any.Any +- supported_replace_params -> Standard.Base.Any.Any +- trim_ops -> Standard.Base.Any.Any +- unsupported name:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQLite/SQLite_Entity_Naming_Properties.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQLite/SQLite_Entity_Naming_Properties.md new file mode 100644 index 000000000000..e877f20008e3 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQLite/SQLite_Entity_Naming_Properties.md @@ -0,0 +1,3 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.SQLite.SQLite_Entity_Naming_Properties +- new -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQLite/SQLite_Error_Mapper.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQLite/SQLite_Error_Mapper.md new file mode 100644 index 000000000000..d1b622be043f --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQLite/SQLite_Error_Mapper.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.SQLite.SQLite_Error_Mapper +- type SQLite_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 + - is_table_already_exists_error error:Standard.Base.Any.Any -> Standard.Base.Any.Any + - transform_custom_errors error:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQLite/SQLite_Type_Mapping.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQLite/SQLite_Type_Mapping.md new file mode 100644 index 000000000000..e890c465ba0a --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/SQLite/SQLite_Type_Mapping.md @@ -0,0 +1,28 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.SQLite.SQLite_Type_Mapping +- type SQLite_Type_Mapping + - infer_return_type infer_from_database_callback:Standard.Base.Any.Any op_name:Standard.Base.Any.Any arguments:Standard.Base.Any.Any expression:Standard.Base.Any.Any -> Standard.Base.Any.Any + - is_implicit_conversion source_type:Standard.Table.Value_Type.Value_Type target_type:Standard.Table.Value_Type.Value_Type -> Standard.Base.Data.Boolean.Boolean + - is_integer_type value_type:Standard.Table.Value_Type.Value_Type -> Standard.Base.Data.Boolean.Boolean + - is_same_type value_type1:Standard.Table.Value_Type.Value_Type value_type2:Standard.Table.Value_Type.Value_Type -> Standard.Base.Data.Boolean.Boolean + - make_column_fetcher self sql_type:Standard.Base.Any.Any -> Standard.Base.Any.Any + - prepare_type_overrides column_type_suggestions:Standard.Base.Any.Any -> Standard.Base.Any.Any + - should_warn_on_materialize db_type:Standard.Table.Value_Type.Value_Type in_memory_type:Standard.Table.Value_Type.Value_Type -> Standard.Base.Data.Boolean.Boolean + - sql_type_to_text sql_type:Standard.Base.Any.Any -> Standard.Base.Any.Any + - sql_type_to_value_type sql_type:Standard.Base.Any.Any -> Standard.Base.Any.Any + - value_type_to_sql value_type:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any +- type SQLite_Types + - blob -> Standard.Base.Any.Any + - boolean -> Standard.Base.Any.Any + - integer -> Standard.Base.Any.Any + - null -> Standard.Base.Any.Any + - numeric -> Standard.Base.Any.Any + - real -> Standard.Base.Any.Any + - text -> Standard.Base.Any.Any +- default_float -> Standard.Base.Any.Any +- default_integer -> Standard.Base.Any.Any +- default_text -> Standard.Base.Any.Any +- name_based_workarounds -> Standard.Base.Any.Any +- operations_dict -> Standard.Base.Any.Any +- simple_types_map -> Standard.Base.Any.Any +- unsupported_date_time -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Statement_Setter.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Statement_Setter.md new file mode 100644 index 000000000000..0be5954cf958 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Statement_Setter.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Statement_Setter +- type Statement_Setter + - Value fill_hole:Standard.Base.Any.Any + - default -> Standard.Base.Any.Any + - null -> Standard.Base.Any.Any +- fill_hole_default stmt:Standard.Base.Any.Any i:Standard.Base.Any.Any type_hint:Standard.Base.Any.Any value:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Table_Naming_Helper.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Table_Naming_Helper.md new file mode 100644 index 000000000000..fba5140bc82d --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Table_Naming_Helper.md @@ -0,0 +1,11 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Table_Naming_Helper +- type Table_Naming_Helper + - Value connection:Standard.Base.Any.Any + - create_unique_name_strategy self -> Standard.Base.Any.Any + - generate_dry_run_table_name self table_name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - generate_random_table_name self prefix:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - is_table_name_valid self table_name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - naming_properties self -> Standard.Base.Any.Any + - truncate_if_needed self name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - verify_table_name self table_name:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Upload/Helpers/Default_Arguments.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Upload/Helpers/Default_Arguments.md new file mode 100644 index 000000000000..da254214ae21 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Internal/Upload/Helpers/Default_Arguments.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Database.Internal.Upload.Helpers.Default_Arguments +- default_key_columns table:(Standard.Database.DB_Table.DB_Table|Standard.Table.Table.Table) -> Standard.Base.Any.Any +- default_key_columns_required table:Standard.Base.Any.Any -> Standard.Base.Any.Any +- first_column_name_in_structure structure:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/JDBC/Generic_JDBC_Connection.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/JDBC/Generic_JDBC_Connection.md new file mode 100644 index 000000000000..ed6e7197420f --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/JDBC/Generic_JDBC_Connection.md @@ -0,0 +1,14 @@ +## Enso Signatures 1.0 +## module Standard.Database.JDBC.Generic_JDBC_Connection +- type Generic_JDBC_Connection + - close self -> Standard.Base.Nothing.Nothing + - connect url:Standard.Base.Data.Text.Text= -> Standard.Database.JDBC.Generic_JDBC_Connection.Generic_JDBC_Connection + - execute self sql:Standard.Base.Data.Text.Text= -> Standard.Base.Data.Numbers.Integer + - get_catalogs self -> Standard.Base.Data.Vector.Vector + - get_schemas self catalog:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= schema_pattern:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= -> Standard.Base.Data.Vector.Vector + - get_table_info self catalog:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= schema_pattern:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= table_name_pattern:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= table_types:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= -> Standard.Table.Table.Table + - get_tables self catalog:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= schema_pattern:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= table_name_pattern:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= table_types:(Standard.Base.Data.Vector.Vector|Standard.Base.Nothing.Nothing)= -> Standard.Base.Data.Vector.Vector + - quote_identifier self identifier:Standard.Base.Data.Text.Text -> Standard.Base.Data.Text.Text + - quote_literal self literal:Standard.Base.Data.Text.Text -> Standard.Base.Data.Text.Text + - read self sql_query:Standard.Database.SQL_Query.SQL_Query= -> Standard.Table.Table.Table + - with_metadata self f:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Main.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Main.md new file mode 100644 index 000000000000..90251bfec753 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Main.md @@ -0,0 +1,2 @@ +## Enso Signatures 1.0 +## module Standard.Database.Main diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/SQL.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/SQL.md new file mode 100644 index 000000000000..c9a22041c234 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/SQL.md @@ -0,0 +1,17 @@ +## Enso Signatures 1.0 +## module Standard.Database.SQL +- type SQL_Builder + - ++ self other:Standard.Base.Any.Any -> Standard.Base.Any.Any + - build self -> Standard.Base.Any.Any + - code text:Standard.Base.Any.Any -> Standard.Base.Any.Any + - empty -> Standard.Base.Any.Any + - extract_constant self -> Standard.Base.Any.Any + - from_fragments fragments:Standard.Base.Any.Any -> Standard.Base.Any.Any + - interpolation object:Standard.Base.Any.Any -> Standard.Base.Any.Any + - is_constant self -> Standard.Base.Any.Any + - is_empty self -> Standard.Base.Any.Any + - join separator:Standard.Base.Any.Any statements:Standard.Base.Any.Any -> Standard.Base.Any.Any + - paren self -> Standard.Base.Any.Any + - prefix_if_present self prefix:Standard.Base.Any.Any -> Standard.Base.Any.Any +- type SQL_Fragment +- optimize_fragments fragments:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/SQL_Query.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/SQL_Query.md new file mode 100644 index 000000000000..b20dff08ee12 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/SQL_Query.md @@ -0,0 +1,6 @@ +## Enso Signatures 1.0 +## module Standard.Database.SQL_Query +- type SQL_Query + - Raw_SQL sql:Standard.Base.Data.Text.Text= + - Table_Name name:Standard.Base.Data.Text.Text= +- Standard.Database.SQL_Query.SQL_Query.from that:Standard.Base.Data.Text.Text -> Standard.Database.SQL_Query.SQL_Query diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/SQL_Statement.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/SQL_Statement.md new file mode 100644 index 000000000000..da57fa0b7057 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/SQL_Statement.md @@ -0,0 +1,13 @@ +## Enso Signatures 1.0 +## module Standard.Database.SQL_Statement +- type SQL_Statement + - deserialize json:(Standard.Base.Data.Text.Text|Standard.Base.Data.Json.JS_Object) -> Standard.Base.Any.Any + - fragments self -> Standard.Base.Any.Any + - prepare self -> Standard.Base.Any.Any + - serialize self ensure_roundtrip:Standard.Base.Data.Boolean.Boolean -> Standard.Base.Any.Any + - to_js_object self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Data.Text.Text + - unsafe_to_raw_sql self -> Standard.Base.Any.Any +- type Unable_To_Serialize_SQL_Statement + - Error obj:Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/SQL_Type.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/SQL_Type.md new file mode 100644 index 000000000000..2c27650ecb63 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/SQL_Type.md @@ -0,0 +1,6 @@ +## Enso Signatures 1.0 +## module Standard.Database.SQL_Type +- type SQL_Type + - Value typeid:Standard.Base.Data.Numbers.Integer name:Standard.Base.Data.Text.Text precision:(Standard.Base.Nothing.Nothing|Standard.Base.Data.Numbers.Integer)= scale:(Standard.Base.Nothing.Nothing|Standard.Base.Data.Numbers.Integer)= nullable:(Standard.Base.Data.Boolean.Boolean|Standard.Base.Nothing.Nothing)= + - from_metadata metadata:Standard.Base.Any.Any ix:Standard.Base.Any.Any -> Standard.Base.Any.Any + - null -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Take_Drop_Helpers.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Take_Drop_Helpers.md new file mode 100644 index 000000000000..c0d5767fc65a --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Take_Drop_Helpers.md @@ -0,0 +1,10 @@ +## Enso Signatures 1.0 +## module Standard.Database.Take_Drop_Helpers +- type Take_Drop + - Drop + - Take +- check_supported selector:(Standard.Base.Data.Index_Sub_Range.Index_Sub_Range|Standard.Base.Data.Range.Range|Standard.Base.Data.Numbers.Integer) ~cont:Standard.Base.Any.Any -> Standard.Base.Any.Any +- cleanup_ranges ranges:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Range.Range) -> Standard.Base.Any.Any +- collect_ranges take_drop:Standard.Base.Any.Any length:Standard.Base.Any.Any selector:(Standard.Base.Data.Index_Sub_Range.Index_Sub_Range|Standard.Base.Data.Range.Range|Standard.Base.Data.Numbers.Integer) -> Standard.Base.Any.Any +- generate_subquery table:Standard.Base.Any.Any row_column_name:Standard.Base.Any.Any range:Standard.Base.Any.Any -> Standard.Base.Any.Any +- take_drop_helper take_drop:Standard.Base.Any.Any table:Standard.Base.Any.Any selector:(Standard.Base.Data.Index_Sub_Range.Index_Sub_Range|Standard.Base.Data.Range.Range|Standard.Base.Data.Numbers.Integer) -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Update_Action.md b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Update_Action.md new file mode 100644 index 000000000000..49e77e8faaa4 --- /dev/null +++ b/distribution/lib/Standard/Database/0.0.0-dev/docs/api/Update_Action.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Database.Update_Action +- type Update_Action + - Align_Records + - Insert + - Update + - Update_Or_Insert diff --git a/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Analytics.md b/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Analytics.md new file mode 100644 index 000000000000..bcd90a16efe0 --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Analytics.md @@ -0,0 +1,11 @@ +## Enso Signatures 1.0 +## module Standard.Google_Api.Google_Analytics +- type Google_Analytics + - list_accounts credentials:Standard.Google_Api.Google_Credential.Google_Credential= limit:Standard.Table.Rows_To_Read.Rows_To_Read= include_deleted:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Data.Vector.Vector + - list_dimensions credentials:Standard.Google_Api.Google_Credential.Google_Credential= property:Standard.Google_Api.Google_Analytics_Property.Google_Analytics_Property= -> Standard.Base.Data.Vector.Vector + - list_metrics credentials:Standard.Google_Api.Google_Credential.Google_Credential= property:Standard.Google_Api.Google_Analytics_Property.Google_Analytics_Property= -> Standard.Base.Data.Vector.Vector + - list_properties credentials:Standard.Google_Api.Google_Credential.Google_Credential= account:Standard.Google_Api.Google_Analytics_Account.Google_Analytics_Account_Filter= limit:Standard.Table.Rows_To_Read.Rows_To_Read= include_deleted:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Data.Vector.Vector + - read credentials:Standard.Google_Api.Google_Credential.Google_Credential= property:Standard.Google_Api.Google_Analytics_Property.Google_Analytics_Property= dimensions:Standard.Base.Data.Vector.Vector= metrics:Standard.Base.Data.Vector.Vector= start_date:Standard.Base.Data.Time.Date.Date= end_date:Standard.Base.Data.Time.Date.Date= -> Standard.Table.Table.Table +- type Google_Analytics_Error + - to_display_text self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Analytics_Account.md b/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Analytics_Account.md new file mode 100644 index 000000000000..1536bdd958ca --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Analytics_Account.md @@ -0,0 +1,19 @@ +## Enso Signatures 1.0 +## module Standard.Google_Api.Google_Analytics_Account +- type Google_Analytics_Account + - create_time self -> Standard.Base.Any.Any + - id self -> Standard.Base.Any.Any + - is_deleted self -> Standard.Base.Any.Any + - name self -> Standard.Base.Any.Any + - properties self credentials:Standard.Google_Api.Google_Credential.Google_Credential= limit:Standard.Table.Rows_To_Read.Rows_To_Read= include_deleted:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any + - region_code self -> Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Any.Any +- type Google_Analytics_Account_Filter + - Account account:(Standard.Base.Data.Text.Text|Standard.Google_Api.Google_Analytics_Account.Google_Analytics_Account) + - Accounts accounts:Standard.Base.Data.Vector.Vector + - All_Accounts + - default_widget self_arg:Standard.Base.Any.Any cache:Standard.Base.Any.Any display:Standard.Base.Metadata.Display= -> Standard.Base.Metadata.Widget +- Standard.Google_Api.Google_Analytics_Account.Google_Analytics_Account_Filter.from that:Standard.Google_Api.Google_Analytics_Account.Google_Analytics_Account -> Standard.Google_Api.Google_Analytics_Account.Google_Analytics_Account_Filter +- Standard.Google_Api.Google_Analytics_Account.Google_Analytics_Account_Filter.from that:Standard.Base.Data.Text.Text -> Standard.Google_Api.Google_Analytics_Account.Google_Analytics_Account_Filter +- Standard.Google_Api.Google_Analytics_Account.Google_Analytics_Account_Filter.from that:Standard.Base.Data.Vector.Vector -> Standard.Google_Api.Google_Analytics_Account.Google_Analytics_Account_Filter diff --git a/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Analytics_Field.md b/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Analytics_Field.md new file mode 100644 index 000000000000..d85e2542a053 --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Analytics_Field.md @@ -0,0 +1,9 @@ +## Enso Signatures 1.0 +## module Standard.Google_Api.Google_Analytics_Field +- type Google_Analytics_Field + - api_name self -> Standard.Base.Any.Any + - category self -> Standard.Base.Any.Any + - description self -> Standard.Base.Any.Any + - name self -> Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Analytics_Property.md b/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Analytics_Property.md new file mode 100644 index 000000000000..4e9457838e0d --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Analytics_Property.md @@ -0,0 +1,16 @@ +## Enso Signatures 1.0 +## module Standard.Google_Api.Google_Analytics_Property +- type Google_Analytics_Property + - account self -> Standard.Base.Any.Any + - create_time self -> Standard.Base.Any.Any + - currency self -> Standard.Base.Any.Any + - default_widget self_arg:Standard.Base.Any.Any cache:Standard.Base.Any.Any display:Standard.Base.Metadata.Display= -> Standard.Base.Metadata.Widget + - dimensions self credentials:Standard.Google_Api.Google_Credential.Google_Credential= -> Standard.Base.Any.Any + - id self -> Standard.Base.Any.Any + - metrics self credentials:Standard.Google_Api.Google_Credential.Google_Credential= -> Standard.Base.Any.Any + - name self -> Standard.Base.Any.Any + - time_zone self -> Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Any.Any +- Standard.Google_Api.Google_Analytics_Property.Google_Analytics_Property.from that:Standard.Base.Data.Text.Text -> Standard.Google_Api.Google_Analytics_Property.Google_Analytics_Property +- Standard.Google_Api.Google_Analytics_Property.Google_Analytics_Property.from that:Standard.Base.Data.Vector.Vector -> Standard.Google_Api.Google_Analytics_Property.Google_Analytics_Property diff --git a/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Credential.md b/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Credential.md new file mode 100644 index 000000000000..7dafb79b3e98 --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Credential.md @@ -0,0 +1,9 @@ +## Enso Signatures 1.0 +## module Standard.Google_Api.Google_Credential +- type Google_Credential + - default -> Standard.Google_Api.Google_Credential.Google_Credential + - default_widget display:Standard.Base.Metadata.Display= -> Standard.Base.Metadata.Widget + - new file:(Standard.Base.Enso_Cloud.Enso_File.Enso_File|Standard.Base.System.File.File|Standard.Base.Nothing.Nothing)= -> Standard.Base.Any.Any +- Standard.Google_Api.Google_Credential.Google_Credential.from that:Standard.Base.Enso_Cloud.Enso_File.Enso_File -> Standard.Google_Api.Google_Credential.Google_Credential +- Standard.Google_Api.Google_Credential.Google_Credential.from that:Standard.Base.System.File.File -> Standard.Google_Api.Google_Credential.Google_Credential +- Standard.Google_Api.Google_Credential.Google_Credential.from that:Standard.Base.Data.Text.Text -> Standard.Google_Api.Google_Credential.Google_Credential diff --git a/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Sheets.md b/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Sheets.md new file mode 100644 index 000000000000..e3a5ce0f1f63 --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Google_Sheets.md @@ -0,0 +1,6 @@ +## Enso Signatures 1.0 +## module Standard.Google_Api.Google_Sheets +- type Google_Sheets + - Service java_service:Standard.Base.Any.Any + - get_table self sheet_id:Standard.Base.Any.Any sheet_range:Standard.Base.Any.Any -> Standard.Base.Any.Any + - initialize secret_file:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Main.md b/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Main.md new file mode 100644 index 000000000000..f683bb9504ea --- /dev/null +++ b/distribution/lib/Standard/Google_Api/0.0.0-dev/docs/api/Main.md @@ -0,0 +1,2 @@ +## Enso Signatures 1.0 +## module Standard.Google_Api.Main diff --git a/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Histogram.md b/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Histogram.md new file mode 100644 index 000000000000..2267962c0cb9 --- /dev/null +++ b/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Histogram.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Image.Histogram +- type Histogram + - Value channel:Standard.Base.Any.Any data:Standard.Base.Any.Any + - to_js_object self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Image.md b/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Image.md new file mode 100644 index 000000000000..ba52b95627ab --- /dev/null +++ b/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Image.md @@ -0,0 +1,25 @@ +## Enso Signatures 1.0 +## module Standard.Image.Image +- type Image + - Value opencv_mat:Standard.Base.Any.Any + - * self value:Standard.Base.Any.Any -> Standard.Base.Any.Any + - + self value:Standard.Base.Any.Any -> Standard.Base.Any.Any + - - self value:Standard.Base.Any.Any -> Standard.Base.Any.Any + - / self value:Standard.Base.Any.Any -> Standard.Base.Any.Any + - channels self -> Standard.Base.Any.Any + - columns self -> Standard.Base.Any.Any + - from_vector values:Standard.Base.Any.Any rows:Standard.Base.Any.Any= channels:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - get self row:Standard.Base.Any.Any column:Standard.Base.Any.Any -> Standard.Base.Any.Any + - histogram self channel:Standard.Base.Any.Any -> Standard.Base.Any.Any + - read location:Standard.Base.System.File.File flags:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - rows self -> Standard.Base.Any.Any + - to_js_object self -> Standard.Base.Any.Any + - to_matrix self -> Standard.Base.Any.Any + - to_vector self -> Standard.Base.Any.Any + - write self path:Standard.Base.System.File.Generic.Writable_File.Writable_File flags:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- type Image_Comparator + - compare x:Standard.Base.Any.Any y:Standard.Base.Any.Any -> Standard.Base.Any.Any + - hash x:Standard.Base.Any.Any -> Standard.Base.Any.Any +- core_op mat:Standard.Base.Any.Any value:Standard.Base.Any.Any function:Standard.Base.Any.Any -> Standard.Base.Any.Any +- core_op_handler error:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Data.Ordering.Comparable.from that:Standard.Image.Image.Image -> Standard.Base.Data.Ordering.Comparable diff --git a/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Image_File_Format.md b/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Image_File_Format.md new file mode 100644 index 000000000000..abf0e3844b8e --- /dev/null +++ b/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Image_File_Format.md @@ -0,0 +1,12 @@ +## Enso Signatures 1.0 +## module Standard.Image.Image_File_Format +- type Image_File_Format + - Image + - for_file_write file:Standard.Base.Any.Any -> Standard.Base.Any.Any + - for_read file:Standard.Base.System.File_Format_Metadata.File_Format_Metadata -> Standard.Base.Any.Any + - get_dropdown_options -> Standard.Base.Any.Any + - get_name_patterns -> (Standard.Base.Data.Vector.Vector Standard.Base.System.File_Format.File_Name_Pattern) + - read self file:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any + - read_stream self stream:Standard.Base.System.Input_Stream.Input_Stream metadata:Standard.Base.System.File_Format_Metadata.File_Format_Metadata= -> Standard.Base.Any.Any + - resolve constructor:Standard.Base.Any.Any -> Standard.Base.Any.Any +- supported -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Main.md b/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Main.md new file mode 100644 index 000000000000..6dd0c853190d --- /dev/null +++ b/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Main.md @@ -0,0 +1,2 @@ +## Enso Signatures 1.0 +## module Standard.Image.Main diff --git a/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Matrix.md b/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Matrix.md new file mode 100644 index 000000000000..2d5047f42f98 --- /dev/null +++ b/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Matrix.md @@ -0,0 +1,27 @@ +## Enso Signatures 1.0 +## module Standard.Image.Matrix +- type Matrix + - Value opencv_mat:Standard.Base.Any.Any + - * self value:Standard.Base.Any.Any -> Standard.Base.Any.Any + - + self value:Standard.Base.Any.Any -> Standard.Base.Any.Any + - - self value:Standard.Base.Any.Any -> Standard.Base.Any.Any + - / self value:Standard.Base.Any.Any -> Standard.Base.Any.Any + - channels self -> Standard.Base.Any.Any + - columns self -> Standard.Base.Any.Any + - from_vector values:Standard.Base.Any.Any rows:Standard.Base.Any.Any= channels:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - get self row:Standard.Base.Any.Any column:Standard.Base.Any.Any -> Standard.Base.Any.Any + - identity rows:Standard.Base.Any.Any columns:Standard.Base.Any.Any channels:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - normalize self min_value:Standard.Base.Any.Any= max_value:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - ones rows:Standard.Base.Any.Any columns:Standard.Base.Any.Any channels:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - reshape self rows:Standard.Base.Any.Any channels:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - rows self -> Standard.Base.Any.Any + - to_image self -> Standard.Base.Any.Any + - to_js_object self -> Standard.Base.Any.Any + - to_vector self -> Standard.Base.Any.Any + - zeros rows:Standard.Base.Any.Any columns:Standard.Base.Any.Any channels:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- type Matrix_Comparator + - compare x:Standard.Base.Any.Any y:Standard.Base.Any.Any -> Standard.Base.Any.Any + - hash x:Standard.Base.Any.Any -> Standard.Base.Any.Any +- core_op mat:Standard.Base.Any.Any value:Standard.Base.Any.Any function:Standard.Base.Any.Any -> Standard.Base.Any.Any +- core_op_handler error:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Data.Ordering.Comparable.from that:Standard.Image.Matrix.Matrix -> Standard.Base.Data.Ordering.Comparable diff --git a/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Matrix_Error.md b/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Matrix_Error.md new file mode 100644 index 000000000000..1145b067d91b --- /dev/null +++ b/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Matrix_Error.md @@ -0,0 +1,6 @@ +## Enso Signatures 1.0 +## module Standard.Image.Matrix_Error +- type Matrix_Error + - Dimensions_Not_Equal + - Index_Out_Of_Bounds rows:Standard.Base.Any.Any columns:Standard.Base.Any.Any index:Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Read_Flag.md b/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Read_Flag.md new file mode 100644 index 000000000000..8824f55e0076 --- /dev/null +++ b/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Read_Flag.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Image.Read_Flag +- type Read_Flag + - Alpha_Channel + - GDAL + - Grayscale + - to_integer self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Write_Flag.md b/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Write_Flag.md new file mode 100644 index 000000000000..9eb88a2262f8 --- /dev/null +++ b/distribution/lib/Standard/Image/0.0.0-dev/docs/api/Write_Flag.md @@ -0,0 +1,12 @@ +## Enso Signatures 1.0 +## module Standard.Image.Write_Flag +- type Write_Flag + - JPEG_Chroma_Quality val:Standard.Base.Any.Any= + - JPEG_Luma_Quality val:Standard.Base.Data.Numbers.Integer= + - JPEG_Optimize + - JPEG_Progressive + - JPEG_Quality val:Standard.Base.Data.Numbers.Integer= + - PNG_Compression val:Standard.Base.Data.Numbers.Integer= + - WEBP_Quality val:Standard.Base.Any.Any= + - to_integer self -> Standard.Base.Any.Any + - value self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/Connection/SQLServer_Details.md b/distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/Connection/SQLServer_Details.md new file mode 100644 index 000000000000..f2b1ace88c72 --- /dev/null +++ b/distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/Connection/SQLServer_Details.md @@ -0,0 +1,8 @@ +## Enso Signatures 1.0 +## module Standard.Microsoft.Connection.SQLServer_Details +- type SQLServer_Details + - SQLServer host:Standard.Base.Data.Text.Text= credentials:Standard.Database.Connection.Credentials.Credentials= port:Standard.Base.Data.Numbers.Integer= database:Standard.Base.Data.Text.Text= + - connect self options:Standard.Base.Any.Any allow_data_links:Standard.Base.Data.Boolean.Boolean= -> 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 diff --git a/distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/Internal/SQLServer_Error_Mapper.md b/distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/Internal/SQLServer_Error_Mapper.md new file mode 100644 index 000000000000..ba97414e943d --- /dev/null +++ b/distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/Internal/SQLServer_Error_Mapper.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Microsoft.Internal.SQLServer_Error_Mapper +- type SQLServer_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 + - is_table_already_exists_error error:Standard.Base.Any.Any -> Standard.Base.Any.Any + - transform_custom_errors error:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/Main.md b/distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/Main.md new file mode 100644 index 000000000000..2cce79474b1a --- /dev/null +++ b/distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/Main.md @@ -0,0 +1,2 @@ +## Enso Signatures 1.0 +## module Standard.Microsoft.Main diff --git a/distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/SQLServer_Connection.md b/distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/SQLServer_Connection.md new file mode 100644 index 000000000000..cb9b937de10d --- /dev/null +++ b/distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/SQLServer_Connection.md @@ -0,0 +1,26 @@ +## Enso Signatures 1.0 +## module Standard.Microsoft.SQLServer_Connection +- type SQLServer_Connection + - Value connection:Standard.Base.Any.Any make_new:Standard.Base.Any.Any + - base_connection self -> Standard.Base.Any.Any + - close self -> Standard.Base.Any.Any + - create url:Standard.Base.Any.Any properties:Standard.Base.Any.Any make_new:Standard.Base.Any.Any data_link_setup:Standard.Base.Any.Any -> Standard.Base.Any.Any + - create_table self table_name:Standard.Base.Data.Text.Text structure:(Standard.Base.Any.Any|Standard.Database.DB_Table.DB_Table|Standard.Table.Table.Table) primary_key:(Standard.Base.Any.Any|Standard.Base.Nothing.Nothing)= temporary:Standard.Base.Data.Boolean.Boolean= allow_existing:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - database self -> Standard.Base.Any.Any + - databases self -> Standard.Base.Any.Any + - dialect self -> Standard.Base.Any.Any + - drop_table self table_name:Standard.Base.Any.Any if_exists:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - execute self query:Standard.Base.Any.Any -> Standard.Base.Any.Any + - execute_update self query:Standard.Base.Any.Any -> Standard.Base.Any.Any + - jdbc_connection self -> Standard.Base.Any.Any + - query self query:Standard.Database.SQL_Query.SQL_Query alias:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - read self query:Standard.Database.SQL_Query.SQL_Query limit:Standard.Table.Rows_To_Read.Rows_To_Read= -> Standard.Base.Any.Any + - save_as_data_link self destination:Standard.Base.Any.Any on_existing_file:Standard.Base.System.File.Existing_File_Behavior.Existing_File_Behavior= -> Standard.Base.Any.Any + - schema self -> Standard.Base.Any.Any + - schemas self -> Standard.Base.Any.Any + - set_database self database:Standard.Base.Any.Any -> Standard.Base.Any.Any + - set_schema self schema:Standard.Base.Any.Any -> Standard.Base.Any.Any + - table_types self -> Standard.Base.Any.Any + - tables self name_like:Standard.Base.Data.Text.Text= database:Standard.Base.Data.Text.Text= schema:Standard.Base.Data.Text.Text= types:Standard.Base.Any.Any= all_fields:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - to_js_object self -> Standard.Base.Any.Any + - truncate_table self table_name:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/SQLServer_Data_Link.md b/distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/SQLServer_Data_Link.md new file mode 100644 index 000000000000..fc50b7870990 --- /dev/null +++ b/distribution/lib/Standard/Microsoft/0.0.0-dev/docs/api/SQLServer_Data_Link.md @@ -0,0 +1,6 @@ +## Enso Signatures 1.0 +## module Standard.Microsoft.SQLServer_Data_Link +- type SQLServer_Data_Link + - Value details:Standard.Microsoft.Connection.SQLServer_Details.SQLServer_Details source:Standard.Base.Enso_Cloud.Data_Link_Helpers.Data_Link_Source_Metadata link_type:Standard.Database.Internal.Data_Link_Setup.DB_Data_Link_Type + - parse json:Standard.Base.Any.Any source:Standard.Base.Any.Any -> Standard.Microsoft.SQLServer_Data_Link.SQLServer_Data_Link + - read self format:Standard.Base.Any.Any= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Connection/Key_Pair_Credentials.md b/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Connection/Key_Pair_Credentials.md new file mode 100644 index 000000000000..53c148ffd753 --- /dev/null +++ b/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Connection/Key_Pair_Credentials.md @@ -0,0 +1,17 @@ +## Enso Signatures 1.0 +## module Standard.Snowflake.Connection.Key_Pair_Credentials +- type Generated_Key_Pair + - alter_user_query self username:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= -> Standard.Base.Data.Text.Text + - public_key_file self -> Standard.Base.Enso_Cloud.Enso_File.Enso_File + - to_display_text self -> Standard.Base.Data.Text.Text + - to_js_object self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Data.Text.Text +- generate_alter_user_query username:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing) public_key_file_content:Standard.Base.Data.Text.Text -> Standard.Base.Data.Text.Text +- type Key_Pair_Credentials + - Key_Pair username:Standard.Base.Data.Text.Text= private_key:(Standard.Base.Enso_Cloud.Enso_Secret.Enso_Secret|Standard.Base.System.File.File|Standard.Base.Enso_Cloud.Enso_File.Enso_File)= passphrase:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= + - generate_key_pair location:Standard.Base.Enso_Cloud.Enso_File.Enso_File= name:Standard.Base.Data.Text.Text if_exists:Standard.Snowflake.Connection.Key_Pair_Credentials.On_Existing_Key_Pair= -> Standard.Snowflake.Connection.Key_Pair_Credentials.Generated_Key_Pair +- type On_Existing_Key_Pair + - Error + - Overwrite + - Use_Existing +- Standard.Base.Enso_Cloud.Enso_Secret.Enso_Secret.from that:Standard.Snowflake.Connection.Key_Pair_Credentials.Generated_Key_Pair -> Standard.Base.Enso_Cloud.Enso_Secret.Enso_Secret diff --git a/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Connection/Snowflake_Details.md b/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Connection/Snowflake_Details.md new file mode 100644 index 000000000000..fcc549315cb7 --- /dev/null +++ b/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Connection/Snowflake_Details.md @@ -0,0 +1,8 @@ +## Enso Signatures 1.0 +## module Standard.Snowflake.Connection.Snowflake_Details +- type Snowflake_Details + - Snowflake account:Standard.Base.Data.Text.Text= credentials:(Standard.Database.Connection.Credentials.Credentials|Standard.Snowflake.Connection.Key_Pair_Credentials.Key_Pair_Credentials)= database:Standard.Base.Data.Text.Text= schema:Standard.Base.Data.Text.Text= warehouse:Standard.Base.Data.Text.Text= + - connect self options:Standard.Base.Any.Any allow_data_links:Standard.Base.Data.Boolean.Boolean= -> 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 diff --git a/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Connection/Widgets.md b/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Connection/Widgets.md new file mode 100644 index 000000000000..38efa80b1712 --- /dev/null +++ b/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Connection/Widgets.md @@ -0,0 +1,3 @@ +## Enso Signatures 1.0 +## module Standard.Snowflake.Connection.Widgets +- password_or_keypair_widget display:Standard.Base.Metadata.Display= -> Standard.Base.Metadata.Widget diff --git a/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Internal/Snowflake_Error_Mapper.md b/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Internal/Snowflake_Error_Mapper.md new file mode 100644 index 000000000000..b0e1851656d4 --- /dev/null +++ b/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Internal/Snowflake_Error_Mapper.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Snowflake.Internal.Snowflake_Error_Mapper +- type Snowflake_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 + - is_table_already_exists_error error:Standard.Base.Any.Any -> Standard.Base.Any.Any + - transform_custom_errors error:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Main.md b/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Main.md new file mode 100644 index 000000000000..62eac6fb2973 --- /dev/null +++ b/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Main.md @@ -0,0 +1,2 @@ +## Enso Signatures 1.0 +## module Standard.Snowflake.Main diff --git a/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Snowflake_Connection.md b/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Snowflake_Connection.md new file mode 100644 index 000000000000..2e105e6cee91 --- /dev/null +++ b/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Snowflake_Connection.md @@ -0,0 +1,29 @@ +## Enso Signatures 1.0 +## module Standard.Snowflake.Snowflake_Connection +- type Snowflake_Connection + - Value connection:Standard.Base.Any.Any make_new:Standard.Base.Any.Any + - base_connection self -> Standard.Base.Any.Any + - close self -> Standard.Base.Any.Any + - create url:Standard.Base.Any.Any properties:Standard.Base.Any.Any make_new:Standard.Base.Any.Any data_link_setup:Standard.Base.Any.Any -> Standard.Base.Any.Any + - create_table self table_name:Standard.Base.Data.Text.Text structure:(Standard.Base.Any.Any|Standard.Database.DB_Table.DB_Table|Standard.Table.Table.Table) primary_key:(Standard.Base.Any.Any|Standard.Base.Nothing.Nothing)= temporary:Standard.Base.Data.Boolean.Boolean= allow_existing:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - database self -> Standard.Base.Any.Any + - databases self -> Standard.Base.Any.Any + - dialect self -> Standard.Base.Any.Any + - drop_table self table_name:Standard.Base.Any.Any if_exists:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - execute self query:Standard.Base.Any.Any -> Standard.Base.Any.Any + - execute_update self query:Standard.Base.Any.Any -> Standard.Base.Any.Any + - jdbc_connection self -> Standard.Base.Any.Any + - query self query:Standard.Database.SQL_Query.SQL_Query alias:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - read self query:Standard.Database.SQL_Query.SQL_Query limit:Standard.Table.Rows_To_Read.Rows_To_Read= -> Standard.Base.Any.Any + - save_as_data_link self destination:Standard.Base.Any.Any on_existing_file:Standard.Base.System.File.Existing_File_Behavior.Existing_File_Behavior= -> Standard.Base.Any.Any + - schema self -> Standard.Base.Any.Any + - schemas self -> Standard.Base.Any.Any + - set_database self database:Standard.Base.Any.Any -> Standard.Base.Any.Any + - set_schema self schema:Standard.Base.Any.Any -> Standard.Base.Any.Any + - set_warehouse self warehouse:Standard.Base.Any.Any -> Standard.Base.Any.Any + - table_types self -> Standard.Base.Any.Any + - tables self name_like:Standard.Base.Data.Text.Text= database:Standard.Base.Data.Text.Text= schema:Standard.Base.Data.Text.Text= types:Standard.Base.Any.Any= all_fields:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - to_js_object self -> Standard.Base.Any.Any + - truncate_table self table_name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - warehouse self -> Standard.Base.Any.Any + - warehouses self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Snowflake_Data_Link.md b/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Snowflake_Data_Link.md new file mode 100644 index 000000000000..e2b8418f08d4 --- /dev/null +++ b/distribution/lib/Standard/Snowflake/0.0.0-dev/docs/api/Snowflake_Data_Link.md @@ -0,0 +1,6 @@ +## Enso Signatures 1.0 +## module Standard.Snowflake.Snowflake_Data_Link +- type Snowflake_Data_Link + - Value details:Standard.Snowflake.Connection.Snowflake_Details.Snowflake_Details source:Standard.Base.Enso_Cloud.Data_Link_Helpers.Data_Link_Source_Metadata link_type:Standard.Database.Internal.Data_Link_Setup.DB_Data_Link_Type + - parse json:Standard.Base.Any.Any source:Standard.Base.Any.Any -> Standard.Snowflake.Snowflake_Data_Link.Snowflake_Data_Link + - read self format:Standard.Base.Any.Any= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Aggregate_Column.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Aggregate_Column.md new file mode 100644 index 000000000000..12700bf2180c --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Aggregate_Column.md @@ -0,0 +1,23 @@ +## Enso Signatures 1.0 +## module Standard.Table.Aggregate_Column +- type Aggregate_Column + - Average column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= + - Concatenate column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= separator:Standard.Base.Data.Text.Text= prefix:Standard.Base.Data.Text.Text= suffix:Standard.Base.Data.Text.Text= quote_char:Standard.Base.Data.Text.Text= + - Count as:Standard.Base.Data.Text.Text= + - Count_Distinct columns:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= ignore_nothing:Standard.Base.Data.Boolean.Boolean= + - Count_Empty column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= + - Count_Not_Empty column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= + - Count_Not_Nothing column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= + - Count_Nothing column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= + - First column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= ignore_nothing:Standard.Base.Data.Boolean.Boolean= order_by:(Standard.Table.Sort_Column.Sort_Column|Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing|Standard.Base.Any.Any)= + - Group_By column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= + - Last column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= ignore_nothing:Standard.Base.Data.Boolean.Boolean= order_by:(Standard.Table.Sort_Column.Sort_Column|Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing|Standard.Base.Any.Any)= + - Longest column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= + - Maximum column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= + - Median column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= + - Minimum column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= + - Mode column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= + - Percentile percentile:Standard.Base.Data.Numbers.Number= column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= + - Shortest column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= + - Standard_Deviation column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= population:Standard.Base.Data.Boolean.Boolean= + - Sum column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Any.Any)= as:Standard.Base.Data.Text.Text= diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Blank_Selector.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Blank_Selector.md new file mode 100644 index 000000000000..54cf5c003205 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Blank_Selector.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Table.Blank_Selector +- type Blank_Selector + - All_Cells + - Any_Cell diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Column.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Column.md new file mode 100644 index 000000000000..98bcdb7a78ff --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Column.md @@ -0,0 +1,133 @@ +## Enso Signatures 1.0 +## module Standard.Table.Column +- type Column + - != self other:(Standard.Table.Column.Column|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - % self other:(Standard.Table.Column.Column|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - && self other:(Standard.Table.Column.Column|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - * self other:(Standard.Table.Column.Column|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - + self other:(Standard.Table.Column.Column|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - - self other:(Standard.Table.Column.Column|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - / self other:(Standard.Table.Column.Column|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - < self other:(Standard.Table.Column.Column|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - <= self other:(Standard.Table.Column.Column|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - == self other:(Standard.Table.Column.Column|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - > self other:(Standard.Table.Column.Column|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - >= self other:(Standard.Table.Column.Column|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - ^ self other:(Standard.Table.Column.Column|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - at self index:Standard.Base.Data.Numbers.Integer= -> Standard.Base.Any.Any + - auto_cast self shrink_types:Standard.Base.Data.Boolean.Boolean= -> Standard.Table.Column.Column + - auto_value_type self shrink_types:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - between self lower:(Standard.Table.Column.Column|Standard.Base.Any.Any) upper:(Standard.Table.Column.Column|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - cast self value_type:Standard.Table.Value_Type.Value_Type on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - ceil self -> Standard.Base.Any.Any + - coalesce self values:(Standard.Base.Any.Any|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - compute self statistic:Standard.Base.Data.Statistics.Statistic= -> Standard.Base.Any.Any + - compute_bulk self statistics:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Statistics.Statistic)= -> Standard.Table.Table.Table + - const self value:Standard.Base.Any.Any -> Standard.Base.Any.Any + - contains self other:(Standard.Table.Column.Column|Standard.Base.Data.Text.Text|Standard.Base.Any.Any) case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= -> Standard.Table.Column.Column + - count self -> Standard.Base.Data.Numbers.Integer + - count_non_trivial_whitespace self sample_size:Standard.Base.Data.Numbers.Integer= -> Standard.Base.Any.Any + - count_nothing self -> Standard.Base.Data.Numbers.Integer + - count_untrimmed self sample_size:Standard.Base.Data.Numbers.Integer= -> Standard.Base.Any.Any + - date_add self amount:(Standard.Table.Column.Column|Standard.Base.Data.Numbers.Integer) period:(Standard.Base.Data.Time.Date_Period.Date_Period|Standard.Base.Data.Time.Time_Period.Time_Period)= -> Standard.Base.Any.Any + - date_diff self end:(Standard.Table.Column.Column|Standard.Base.Data.Time.Date.Date|Standard.Base.Data.Time.Date_Time.Date_Time|Standard.Base.Data.Time.Time_Of_Day.Time_Of_Day) period:(Standard.Base.Data.Time.Date_Period.Date_Period|Standard.Base.Data.Time.Time_Period.Time_Period)= -> Standard.Base.Any.Any + - date_part self period:(Standard.Base.Data.Time.Date_Period.Date_Period|Standard.Base.Data.Time.Time_Period.Time_Period)= -> Standard.Base.Any.Any + - day self -> Standard.Base.Any.Any + - day_of_week self -> Standard.Base.Any.Any + - day_of_year self -> Standard.Base.Any.Any + - default_sample_size -> Standard.Base.Data.Numbers.Integer + - display self show_rows:Standard.Base.Data.Numbers.Integer= format_terminal:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Data.Text.Text + - drop self range:(Standard.Base.Data.Index_Sub_Range.Index_Sub_Range|Standard.Base.Data.Range.Range|Standard.Base.Data.Numbers.Integer)= -> Standard.Table.Column.Column + - duplicate_count self -> Standard.Table.Column.Column + - ends_with self other:(Standard.Table.Column.Column|Standard.Base.Data.Text.Text|Standard.Base.Any.Any) case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= -> Standard.Table.Column.Column + - equals_ignore_case self other:(Standard.Table.Column.Column|Standard.Base.Any.Any) locale:Standard.Base.Data.Locale.Locale= -> Standard.Table.Column.Column + - fill_empty self default:(Standard.Table.Column.Column|Standard.Table.Constants.Previous_Value|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - fill_nothing self default:(Standard.Table.Column.Column|Standard.Table.Constants.Previous_Value|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - first self -> Standard.Base.Any.Any + - floor self -> Standard.Base.Any.Any + - format self format:(Standard.Base.Data.Text.Text|Standard.Base.Data.Time.Date_Time_Formatter.Date_Time_Formatter|Standard.Table.Column.Column)= locale:Standard.Base.Data.Locale.Locale= -> Standard.Base.Any.Any + - from_java_column java_column:Standard.Table.Column.Java_Column -> Standard.Table.Column.Column + - from_repeated_item name:Standard.Base.Any.Any item:Standard.Base.Any.Any repeats:Standard.Base.Any.Any -> Standard.Base.Any.Any + - from_storage name:Standard.Base.Any.Any storage:Standard.Base.Any.Any -> Standard.Base.Any.Any + - from_vector name:Standard.Base.Data.Text.Text items:Standard.Base.Data.Vector.Vector value_type:(Standard.Table.Value_Type.Auto|Standard.Table.Value_Type.Value_Type)= -> Standard.Base.Any.Any + - get self index:Standard.Base.Data.Numbers.Integer= ~default:Standard.Base.Any.Any= -> (Standard.Base.Any.Any|Standard.Base.Nothing.Nothing) + - hour self -> Standard.Base.Any.Any + - iif self when_true:(Standard.Table.Column.Column|Standard.Base.Any.Any) when_false:(Standard.Table.Column.Column|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - inferred_precise_value_type self -> Standard.Base.Any.Any + - info self -> Standard.Table.Table.Table + - internal_is_empty self -> Standard.Base.Any.Any + - internal_is_nan self -> Standard.Base.Any.Any + - is_blank self treat_nans_as_blank:Standard.Base.Data.Boolean.Boolean= -> Standard.Table.Column.Column + - is_empty self -> Standard.Table.Column.Column + - is_finite self -> Standard.Table.Column.Column + - is_in self vector:(Standard.Base.Data.Vector.Vector|Standard.Table.Column.Column|Standard.Base.Data.Array.Array) -> Standard.Table.Column.Column + - is_infinite self -> Standard.Table.Column.Column + - is_nan self -> Standard.Table.Column.Column + - is_nothing self -> Standard.Table.Column.Column + - is_present self -> Standard.Table.Column.Column + - last self -> Standard.Base.Any.Any + - length self -> Standard.Base.Data.Numbers.Integer + - like self pattern:(Standard.Table.Column.Column|Standard.Base.Data.Text.Text|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - map self function:Standard.Base.Any.Any skip_nothing:Standard.Base.Data.Boolean.Boolean= expected_value_type:(Standard.Table.Value_Type.Value_Type|Standard.Table.Value_Type.Auto)= -> Standard.Base.Any.Any + - max self values:(Standard.Base.Any.Any|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - min self values:(Standard.Base.Any.Any|Standard.Base.Any.Any) -> Standard.Table.Column.Column + - minute self -> Standard.Base.Any.Any + - month self -> Standard.Base.Any.Any + - name self -> Standard.Base.Data.Text.Text + - naming_helper self -> Standard.Base.Any.Any + - not self -> Standard.Table.Column.Column + - offset self n:Standard.Base.Any.Any= fill_with:Standard.Table.Fill_With.Fill_With= -> Standard.Table.Column.Column + - parse self type:(Standard.Table.Value_Type.Value_Type|Standard.Table.Value_Type.Auto)= format:(Standard.Base.Data.Text.Text|Standard.Table.Data_Formatter.Data_Formatter)= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Table.Column.Column + - pretty self -> Standard.Base.Any.Any + - print self show_rows:Standard.Base.Data.Numbers.Integer= -> Standard.Base.Nothing.Nothing + - read self max_rows:Standard.Table.Rows_To_Read.Rows_To_Read= -> Standard.Table.Column.Column + - rename self name:Standard.Base.Data.Text.Text -> Standard.Base.Any.Any + - reverse self -> Standard.Table.Column.Column + - round self decimal_places:Standard.Base.Data.Numbers.Integer= use_bankers:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any + - running self statistic:Standard.Base.Data.Statistics.Statistic= name:Standard.Base.Data.Text.Text= -> Standard.Table.Column.Column + - second self -> Standard.Base.Any.Any + - should_be_selected_by_type self value_type:Standard.Table.Value_Type.Value_Type -> Standard.Base.Data.Boolean.Boolean + - slice self start:Standard.Base.Any.Any end:Standard.Base.Any.Any -> Standard.Base.Any.Any + - sort self order:Standard.Base.Data.Sort_Direction.Sort_Direction= missing_last:Standard.Base.Data.Boolean.Boolean= by:(Standard.Base.Any.Any|Standard.Base.Nothing.Nothing)= -> Standard.Table.Column.Column + - starts_with self other:(Standard.Table.Column.Column|Standard.Base.Data.Text.Text|Standard.Base.Any.Any) case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= -> Standard.Table.Column.Column + - take self range:(Standard.Base.Data.Index_Sub_Range.Index_Sub_Range|Standard.Base.Data.Range.Range|Standard.Base.Data.Numbers.Integer)= -> Standard.Table.Column.Column + - text_cleanse self remove:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Regex.Named_Pattern.Named_Pattern) -> Standard.Table.Column.Column + - text_left self n:(Standard.Table.Column.Column|Standard.Base.Data.Numbers.Integer) -> Standard.Table.Column.Column + - text_length self -> Standard.Table.Column.Column + - text_replace self term:(Standard.Base.Data.Text.Text|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Column.Column)= new_text:(Standard.Base.Data.Text.Text|Standard.Table.Column.Column)= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= only_first:Standard.Base.Data.Boolean.Boolean= -> Standard.Table.Column.Column + - text_right self n:(Standard.Table.Column.Column|Standard.Base.Data.Numbers.Integer) -> Standard.Table.Column.Column + - to_js_object self -> Standard.Base.Any.Any + - to_table self -> Standard.Table.Table.Table + - to_text self -> Standard.Base.Data.Text.Text + - to_vector self -> Standard.Base.Data.Vector.Vector + - trim self where:Standard.Base.Data.Text.Location.Location= what:(Standard.Base.Data.Text.Text|Standard.Table.Column.Column)= -> Standard.Table.Column.Column + - truncate self -> Standard.Base.Any.Any + - value_type self -> Standard.Table.Value_Type.Value_Type + - var_args_functions -> Standard.Base.Any.Any + - year self -> Standard.Base.Any.Any + - zip self that:Standard.Table.Column.Column function:Standard.Base.Any.Any skip_nothing:Standard.Base.Data.Boolean.Boolean= expected_value_type:(Standard.Table.Value_Type.Value_Type|Standard.Table.Value_Type.Auto)= -> Standard.Base.Any.Any + - || self other:(Standard.Table.Column.Column|Standard.Base.Any.Any) -> Standard.Table.Column.Column +- apply_unary_map column:Standard.Table.Column.Column new_name:Standard.Base.Data.Text.Text function:Standard.Base.Any.Any expected_result_type:(Standard.Table.Value_Type.Value_Type|Standard.Base.Nothing.Nothing)= nothing_unchanged:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any +- apply_unary_operation column:Standard.Table.Column.Column operation:Standard.Table.Column.UnaryOperation new_name:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= ~if_unsupported:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- cast_if_needed column:Standard.Base.Any.Any value_type:Standard.Base.Any.Any -> Standard.Base.Any.Any +- default_date_period column:Standard.Base.Any.Any -> Standard.Base.Any.Any +- fill_previous column:Standard.Base.Any.Any is_missing:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_storage_builder_for_type value_type:Standard.Base.Any.Any on_problems:Standard.Base.Any.Any initial_size:Standard.Base.Any.Any java_problem_aggregator:Standard.Base.Any.Any -> Standard.Base.Any.Any +- naming_helper -> Standard.Base.Any.Any +- resolve_storage_type value_type:Standard.Base.Any.Any -> Standard.Base.Any.Any +- run_binary_op column:Standard.Base.Any.Any function:Standard.Base.Any.Any operand:Standard.Base.Any.Any new_name:Standard.Base.Any.Any skip_nulls:Standard.Base.Any.Any= expected_result_type:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- run_vectorized_binary_case_text_op left:Standard.Base.Any.Any op:Standard.Base.Any.Any other:Standard.Base.Any.Any case_sensitivity:Standard.Base.Any.Any fallback:Standard.Base.Any.Any new_name:Standard.Base.Any.Any -> Standard.Base.Any.Any +- run_vectorized_binary_op column:Standard.Base.Any.Any name:Standard.Base.Any.Any operand:Standard.Base.Any.Any new_name:Standard.Base.Any.Any= fallback_fn:Standard.Base.Any.Any= expected_result_type:Standard.Base.Any.Any= skip_nulls:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- run_vectorized_binary_op_with_fallback_problem_handling column:Standard.Base.Any.Any name:Standard.Base.Any.Any operand:Standard.Base.Any.Any fallback_fn:Standard.Base.Any.Any new_name:Standard.Base.Any.Any expected_result_type:Standard.Base.Any.Any= skip_nulls:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- run_vectorized_many_op column:Standard.Base.Any.Any name:Standard.Base.Any.Any fallback_fn:Standard.Base.Any.Any operands:Standard.Base.Any.Any new_name:Standard.Base.Any.Any= skip_nulls:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- run_vectorized_ternary_op column:Standard.Base.Any.Any name:Standard.Base.Any.Any operand0:Standard.Base.Any.Any operand1:Standard.Base.Any.Any new_name:Standard.Base.Any.Any= expected_result_type:Standard.Base.Any.Any= skip_nulls:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- slice_ranges column:Standard.Base.Any.Any ranges:Standard.Base.Any.Any -> Standard.Base.Any.Any +- wrap_text_argument_as_value_provider val:Standard.Base.Any.Any -> Standard.Base.Any.Any +- wrap_text_or_regex_argument_as_value_provider val:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Table.Column.Column.from that:Standard.Base.Data.Vector.Vector name:Standard.Base.Data.Text.Text= -> Standard.Table.Column.Column +- Standard.Base.Data.Vector.Vector.from that:Standard.Table.Column.Column -> Standard.Base.Data.Vector.Vector +- Standard.Base.Data.Vector.Vector.from that:Standard.Table.Table.Table -> Standard.Base.Data.Vector.Vector +- Standard.Table.Column.Column.from that:Standard.Base.Data.Range.Range name:Standard.Base.Data.Text.Text= -> Standard.Table.Column.Column +- Standard.Table.Column.Column.from that:Standard.Base.Data.Time.Date_Range.Date_Range name:Standard.Base.Data.Text.Text= -> Standard.Table.Column.Column +- Standard.Base.Data.Text.Text_Cleanse.Cleansable_Text.from that:Standard.Table.Column.Column -> Standard.Base.Data.Text.Text_Cleanse.Cleansable_Text +- Standard.Base.Data.Read.Many_Files_List.Many_Files_List.from that:Standard.Table.Column.Column -> Standard.Base.Data.Read.Many_Files_List.Many_Files_List diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Column_Operation.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Column_Operation.md new file mode 100644 index 000000000000..ee84095faab8 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Column_Operation.md @@ -0,0 +1,24 @@ +## Enso Signatures 1.0 +## module Standard.Table.Column_Operation +- type Column_Operation + - Add input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number|Standard.Base.Data.Text.Text) rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number|Standard.Base.Data.Text.Text) + - And input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Boolean.Boolean) rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Boolean.Boolean) + - Ceil input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number) + - Date_Add input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Time.Date_Time.Date_Time|Standard.Base.Data.Time.Date.Date|Standard.Base.Data.Time.Time_Of_Day.Time_Of_Day) length:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Integer) period:(Standard.Base.Data.Time.Date_Period.Date_Period|Standard.Base.Data.Time.Time_Period.Time_Period)= + - Date_Diff input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Time.Date_Time.Date_Time|Standard.Base.Data.Time.Date.Date|Standard.Base.Data.Time.Time_Of_Day.Time_Of_Day) end:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Time.Date_Time.Date_Time|Standard.Base.Data.Time.Date.Date|Standard.Base.Data.Time.Time_Of_Day.Time_Of_Day) period:(Standard.Base.Data.Time.Date_Period.Date_Period|Standard.Base.Data.Time.Time_Period.Time_Period)= + - Date_Part input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Time.Date_Time.Date_Time|Standard.Base.Data.Time.Date.Date|Standard.Base.Data.Time.Time_Of_Day.Time_Of_Day) period:(Standard.Base.Data.Time.Date_Period.Date_Period|Standard.Base.Data.Time.Time_Period.Time_Period) + - Divide input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number) rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number) + - Floor input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number) + - If input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Any.Any) condition:Standard.Base.Data.Filter_Condition.Filter_Condition true_value:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Any.Any)= false_value:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Any.Any)= + - Max input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Any.Any) rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Any.Any) + - Min input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Any.Any) rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Any.Any) + - Mod input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number) rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number) + - Multiply input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number) rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number) + - Not input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Boolean.Boolean) + - Or input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Boolean.Boolean) rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Boolean.Boolean) + - Power input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number) rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number) + - Round input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number) precision:Standard.Base.Data.Numbers.Integer= use_bankers:Standard.Base.Data.Boolean.Boolean= + - Subtract input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number) rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number) + - Trim input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Text.Text) where:Standard.Base.Data.Text.Location.Location= what:(Standard.Base.Data.Text.Text|Standard.Table.Column_Ref.Column_Ref)= + - Truncate input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number|Standard.Base.Data.Time.Date_Time.Date_Time) +- Standard.Table.Simple_Expression.Simple_Expression.from that:Standard.Table.Column_Operation.Column_Operation -> Standard.Table.Simple_Expression.Simple_Expression diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Column_Ref.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Column_Ref.md new file mode 100644 index 000000000000..c2c6752d7dfe --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Column_Ref.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Table.Column_Ref +- type Column_Ref + - Index index:Standard.Base.Data.Numbers.Integer= + - Name name:Standard.Base.Data.Text.Text diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Columns_To_Add.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Columns_To_Add.md new file mode 100644 index 000000000000..da2c1b2043ca --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Columns_To_Add.md @@ -0,0 +1,9 @@ +## Enso Signatures 1.0 +## module Standard.Table.Columns_To_Add +- type Columns_To_Add + - All_Columns + - First columns:Standard.Base.Data.Numbers.Integer= + - columns_to_split self -> (Standard.Base.Data.Numbers.Integer|Standard.Base.Nothing.Nothing) + - default_widget display:Standard.Base.Metadata.Display= -> Standard.Base.Metadata.Widget +- Standard.Table.Columns_To_Add.Columns_To_Add.from that:Standard.Base.Nothing.Nothing -> Standard.Table.Columns_To_Add.Columns_To_Add +- Standard.Table.Columns_To_Add.Columns_To_Add.from that:Standard.Base.Data.Numbers.Integer -> Standard.Table.Columns_To_Add.Columns_To_Add diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Columns_To_Keep.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Columns_To_Keep.md new file mode 100644 index 000000000000..9226aca34e45 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Columns_To_Keep.md @@ -0,0 +1,8 @@ +## Enso Signatures 1.0 +## module Standard.Table.Columns_To_Keep +- type Columns_To_Keep + - In_All + - In_Any + - In_Any_Warn_On_Missing + - In_List column_names:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text)= + - default_widget display:Standard.Base.Metadata.Display= -> Standard.Base.Metadata.Widget diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Constants.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Constants.md new file mode 100644 index 000000000000..89bbb54408cb --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Constants.md @@ -0,0 +1,4 @@ +## Enso Signatures 1.0 +## module Standard.Table.Constants +- type Previous_Value +- type Report_Unmatched diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Conversions/Convertible_To_Columns.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Conversions/Convertible_To_Columns.md new file mode 100644 index 000000000000..97a85fa49e8f --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Conversions/Convertible_To_Columns.md @@ -0,0 +1,15 @@ +## Enso Signatures 1.0 +## module Standard.Table.Conversions.Convertible_To_Columns +- type Convertible_To_Columns + - Value field_names:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) getter:Standard.Base.Any.Any +- Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns.from that:Standard.Base.Data.Json.JS_Object -> Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns +- Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns.from that:Standard.Base.Data.Dictionary.Dictionary -> Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns +- Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns.from that:Standard.Base.Data.Pair.Pair -> Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns +- Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns.from that:Standard.Table.Column.Column -> Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns +- Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns.from that:Standard.Table.Row.Row -> Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns +- Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns.from that:Standard.Base.Data.Vector.Vector -> Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns +- Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns.from that:Standard.Base.Data.Array.Array -> Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns +- Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns.from that:Standard.Base.Data.Range.Range -> Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns +- Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns.from that:Standard.Base.Data.Time.Date_Range.Date_Range -> Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns +- Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns.from that:Standard.Base.Any.Any -> Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns +- Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns.from that:Standard.Base.Data.XML.XML_Element -> Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Conversions/Convertible_To_Rows.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Conversions/Convertible_To_Rows.md new file mode 100644 index 000000000000..3e7f2e9d7e3f --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Conversions/Convertible_To_Rows.md @@ -0,0 +1,28 @@ +## Enso Signatures 1.0 +## module Standard.Table.Conversions.Convertible_To_Rows +- type Convertible_To_Rows + - Value original_value:Standard.Base.Any.Any length:Standard.Base.Data.Numbers.Integer getter:Standard.Base.Any.Any columns:Standard.Base.Data.Vector.Vector= is_sequence:Standard.Base.Data.Boolean.Boolean= + - align_sequence_only self sequence_only:Standard.Base.Data.Boolean.Boolean -> Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows + - to_vector self -> Standard.Base.Any.Any +- Standard.Table.Conversions.Convertible_To_Rows.Key_Value.at self idx:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Table.Conversions.Convertible_To_Rows.Key_Value.get self idx:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Table.Conversions.Convertible_To_Rows.Key_Value.is_empty self -> Standard.Base.Any.Any +- Standard.Table.Conversions.Convertible_To_Rows.Key_Value.length self -> Standard.Base.Any.Any +- Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows.from that:Standard.Table.Table.Table -> Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows +- Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows.from that:Standard.Table.Column.Column -> Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows +- Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows.from that:Standard.Base.Data.Vector.Vector -> Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows +- Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows.from that:Standard.Base.Data.Array.Array -> Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows +- Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows.from that:Standard.Base.Data.List.List -> Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows +- Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows.from that:Standard.Base.Data.Range.Range -> Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows +- Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows.from that:Standard.Base.Data.Pair.Pair -> Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows +- Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows.from that:Standard.Base.Data.Time.Date_Range.Date_Range -> Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows +- Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows.from that:Standard.Base.Data.Dictionary.Dictionary -> Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows +- Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows.from that:Standard.Base.Data.Json.JS_Object -> Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows +- Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows.from that:Standard.Base.Any.Any -> Standard.Table.Conversions.Convertible_To_Rows.Convertible_To_Rows +- type Key_Value + - Pair key:Standard.Base.Any.Any value:Standard.Base.Any.Any + - at self idx:Standard.Base.Any.Any -> Standard.Base.Any.Any + - get self idx:Standard.Base.Any.Any -> Standard.Base.Any.Any + - is_empty self -> Standard.Base.Any.Any + - length self -> Standard.Base.Any.Any +- Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns.from that:Standard.Table.Conversions.Convertible_To_Rows.Key_Value -> Standard.Table.Conversions.Convertible_To_Columns.Convertible_To_Columns diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Data_Formatter.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Data_Formatter.md new file mode 100644 index 000000000000..9355f5ff812d --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Data_Formatter.md @@ -0,0 +1,35 @@ +## Enso Signatures 1.0 +## module Standard.Table.Data_Formatter +- type Data_Formatter + - Value trim_values:Standard.Base.Data.Boolean.Boolean= allow_leading_zeros:Standard.Base.Data.Boolean.Boolean= decimal_point:(Standard.Base.Data.Text.Text|Standard.Table.Value_Type.Auto)= thousand_separator:Standard.Base.Data.Text.Text= allow_exponential_notation:Standard.Base.Data.Boolean.Boolean= datetime_formats:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Time.Date_Time_Formatter.Date_Time_Formatter)= date_formats:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Time.Date_Time_Formatter.Date_Time_Formatter)= time_formats:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text)= true_values:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text)= false_values:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text)= + - clone self trim_values:Standard.Base.Any.Any= allow_leading_zeros:Standard.Base.Any.Any= decimal_point:Standard.Base.Any.Any= thousand_separator:Standard.Base.Any.Any= allow_exponential_notation:Standard.Base.Any.Any= datetime_formats:Standard.Base.Any.Any= date_formats:Standard.Base.Any.Any= time_formats:Standard.Base.Any.Any= true_values:Standard.Base.Any.Any= false_values:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - format self value:Standard.Base.Any.Any -> Standard.Base.Any.Any + - get_specific_type_formatters self -> Standard.Base.Any.Any + - get_specific_type_parsers self -> Standard.Base.Any.Any + - get_thousand_separator self -> Standard.Base.Any.Any + - make_auto_formatter self -> Standard.Base.Any.Any + - make_auto_parser self -> Standard.Base.Any.Any + - make_boolean_formatter self -> Standard.Base.Any.Any + - make_boolean_parser self -> Standard.Base.Any.Any + - make_date_formatter self -> Standard.Base.Any.Any + - make_date_parser self -> Standard.Base.Any.Any + - make_date_time_formatter self -> Standard.Base.Any.Any + - make_date_time_parser self -> Standard.Base.Any.Any + - make_decimal_formatter self -> Standard.Base.Any.Any + - make_decimal_parser self auto_mode:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - make_formatter_for_column_type self column_type:Standard.Table.Value_Type.Value_Type -> Standard.Base.Any.Any + - make_identity_parser self -> Standard.Base.Any.Any + - make_integer_formatter self -> Standard.Base.Any.Any + - make_integer_parser self auto_mode:Standard.Base.Any.Any= target_type:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - make_text_formatter self -> Standard.Base.Any.Any + - make_time_of_day_formatter self -> Standard.Base.Any.Any + - make_time_of_day_parser self -> Standard.Base.Any.Any + - make_value_type_parser self value_type:Standard.Base.Any.Any -> Standard.Base.Any.Any + - parse self text:Standard.Base.Any.Any type:(Standard.Table.Value_Type.Value_Type|Standard.Table.Value_Type.Auto)= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - with_boolean_values self true_values:Standard.Base.Any.Any false_values:Standard.Base.Any.Any -> Standard.Base.Any.Any + - with_datetime_formats self datetime_formats:(Standard.Base.Data.Vector.Vector|Standard.Base.Data.Time.Date_Time_Formatter.Date_Time_Formatter)= date_formats:(Standard.Base.Data.Vector.Vector|Standard.Base.Data.Time.Date_Time_Formatter.Date_Time_Formatter)= time_formats:(Standard.Base.Data.Vector.Vector|Standard.Base.Data.Time.Date_Time_Formatter.Date_Time_Formatter)= -> Standard.Base.Any.Any + - with_format self type:Standard.Base.Any.Any format:Standard.Base.Any.Any -> Standard.Base.Any.Any + - with_number_formatting self decimal_point:Standard.Base.Any.Any= thousand_separator:Standard.Base.Any.Any= allow_leading_zeros:Standard.Base.Any.Any= allow_exponential_notation:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - wrap_base_parser self base_parser:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_vector_widget single_choice_widget:Standard.Base.Any.Any display:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- wrap_text_in_vector v:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Delimited/Delimited_Format.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Delimited/Delimited_Format.md new file mode 100644 index 000000000000..868abb04922d --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Delimited/Delimited_Format.md @@ -0,0 +1,23 @@ +## Enso Signatures 1.0 +## module Standard.Table.Delimited.Delimited_Format +- type Delimited_Format + - Delimited delimiter:Standard.Base.Data.Text.Text= encoding:Standard.Base.Data.Text.Encoding.Encoding= skip_rows:Standard.Base.Data.Numbers.Integer= row_limit:Standard.Table.Rows_To_Read.Rows_To_Read= quote_style:Standard.Table.Delimited.Quote_Style.Quote_Style= headers:Standard.Table.Headers.Headers= value_formatter:(Standard.Table.Data_Formatter.Data_Formatter|Standard.Base.Nothing.Nothing)= on_invalid_rows:Standard.Table.Delimited.Invalid_Rows.Invalid_Rows= line_endings:(Standard.Base.Data.Text.Line_Ending_Style.Line_Ending_Style|Standard.Base.System.File_Format.Infer)= comment_character:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= + - clone self encoding:Standard.Base.Data.Text.Encoding.Encoding= quote_style:Standard.Table.Delimited.Quote_Style.Quote_Style= headers:Standard.Table.Headers.Headers= value_formatter:Standard.Base.Any.Any= on_invalid_rows:Standard.Table.Delimited.Invalid_Rows.Invalid_Rows= line_endings:Standard.Base.Any.Any= comment_character:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - for_file_write file:Standard.Base.Any.Any -> Standard.Base.Any.Any + - for_read file:Standard.Base.System.File_Format_Metadata.File_Format_Metadata -> Standard.Base.Any.Any + - get_dropdown_options -> Standard.Base.Any.Any + - get_name_patterns -> (Standard.Base.Data.Vector.Vector Standard.Base.System.File_Format.File_Name_Pattern) + - read self file:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any + - read_stream self stream:Standard.Base.System.Input_Stream.Input_Stream metadata:Standard.Base.System.File_Format_Metadata.File_Format_Metadata= -> Standard.Base.Any.Any + - resolve constructor:Standard.Base.Any.Any -> Standard.Base.Any.Any + - with_comments self comment_character:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - with_headers self -> Standard.Base.Any.Any + - with_line_endings self line_endings:(Standard.Base.Data.Text.Line_Ending_Style.Line_Ending_Style|Standard.Base.System.File_Format.Infer)= -> Standard.Base.Any.Any + - with_parsing self value_formatter:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - with_quotes self quote:Standard.Base.Any.Any= quote_escape:Standard.Base.Any.Any= always_quote:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - without_comments self -> Standard.Base.Any.Any + - without_headers self -> Standard.Base.Any.Any + - without_parsing self -> Standard.Base.Any.Any + - without_quotes self -> Standard.Base.Any.Any + - write_table self file:Standard.Base.Any.Any table:Standard.Base.Any.Any on_existing_file:Standard.Base.Any.Any match_columns:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any +- Standard.Table.Delimited.Delimited_Format.Delimited_Format.from that:Standard.Base.Data.Json.JS_Object -> Standard.Table.Delimited.Delimited_Format.Delimited_Format diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Delimited/Invalid_Rows.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Delimited/Invalid_Rows.md new file mode 100644 index 000000000000..f79f2ca351cb --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Delimited/Invalid_Rows.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Table.Delimited.Invalid_Rows +- type Invalid_Rows + - Add_Extra_Columns + - Drop_Invalid_Rows + - Keep_Invalid_Rows +- Standard.Table.Delimited.Invalid_Rows.Invalid_Rows.from that:Standard.Base.Data.Boolean.Boolean -> Standard.Table.Delimited.Invalid_Rows.Invalid_Rows diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Delimited/Quote_Style.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Delimited/Quote_Style.md new file mode 100644 index 000000000000..79a8c0808751 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Delimited/Quote_Style.md @@ -0,0 +1,6 @@ +## Enso Signatures 1.0 +## module Standard.Table.Delimited.Quote_Style +- type Quote_Style + - No_Quotes + - With_Quotes always_quote:Standard.Base.Data.Boolean.Boolean= quote:Standard.Base.Data.Text.Text= quote_escape:Standard.Base.Data.Text.Text= +- Standard.Table.Delimited.Quote_Style.Quote_Style.from that:Standard.Base.Data.Json.JS_Object -> Standard.Table.Delimited.Quote_Style.Quote_Style diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Errors.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Errors.md new file mode 100644 index 000000000000..6352ad69cdb7 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Errors.md @@ -0,0 +1,181 @@ +## Enso Signatures 1.0 +## module Standard.Table.Errors +- type Additional_Invalid_Rows + - Error count:Standard.Base.Data.Numbers.Integer + - to_display_text self -> Standard.Base.Any.Any +- type Ambiguous_Column_Rename + - Error column_name:Standard.Base.Data.Text.Text new_names:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) + - to_display_text self -> Standard.Base.Any.Any +- type Arithmetic_Overflow + - Warning target_type:Standard.Table.Value_Type.Value_Type affected_rows_count:(Standard.Base.Nothing.Nothing|Standard.Base.Data.Numbers.Integer) example_operands:(Standard.Base.Nothing.Nothing|Standard.Base.Any.Any) + - to_display_text self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Any.Any +- type Clashing_Column_Name + - Error provided_name:Standard.Base.Data.Text.Text clashing_name:Standard.Base.Data.Text.Text + - to_display_text self -> Standard.Base.Any.Any +- type Column_Count_Exceeded + - Error limit:Standard.Base.Data.Numbers.Integer column_count:Standard.Base.Data.Numbers.Integer + - to_display_text self -> Standard.Base.Any.Any +- type Column_Count_Mismatch + - Error expected:Standard.Base.Any.Any actual:Standard.Base.Any.Any + - handle_java_exception -> Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any +- type Column_Name_Mismatch + - Error missing:Standard.Base.Any.Any extras:Standard.Base.Any.Any message:Standard.Base.Any.Any + - handle_java_exception -> Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any +- type Column_Type_Mismatch + - Error column_name:Standard.Base.Data.Text.Text expected_type:(Standard.Base.Data.Text.Text|Standard.Table.Value_Type.Value_Type) got_type:(Standard.Base.Data.Text.Text|Standard.Table.Value_Type.Value_Type) + - to_display_text self -> Standard.Base.Any.Any +- type Conversion_Failure + - Error target_type:Standard.Table.Value_Type.Value_Type related_column:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing) affected_rows_count:(Standard.Base.Nothing.Nothing|Standard.Base.Data.Numbers.Integer) example_values:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any) + - Out_Of_Range target_type:Standard.Table.Value_Type.Value_Type related_column:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing) affected_rows_count:(Standard.Base.Nothing.Nothing|Standard.Base.Data.Numbers.Integer) example_values:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Numbers.Integer) + - Text_Too_Long target_type:Standard.Table.Value_Type.Value_Type related_column:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing) affected_rows_count:(Standard.Base.Nothing.Nothing|Standard.Base.Data.Numbers.Integer) example_values:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) + - to_display_text self -> Standard.Base.Any.Any +- type Cross_Join_Row_Limit_Exceeded + - Error limit:Standard.Base.Data.Numbers.Integer existing_rows:Standard.Base.Data.Numbers.Integer + - to_display_text self -> Standard.Base.Any.Any +- type Duplicate_Output_Column_Names + - Error column_names:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) + - to_display_text self -> Standard.Base.Any.Any +- type Empty_File_Error + - handle_java_exception -> Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any +- type Empty_Sheet + - Error + - handle_java_exception -> Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any +- type Existing_Column + - Error column_name:Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any +- type Existing_Data + - Error message:Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any +- type Ignored_NaN_Values + - Warning column:Standard.Base.Data.Text.Text rows:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Numbers.Integer) + - to_display_text self -> Standard.Base.Any.Any +- type Ignored_Nothing_Values + - Warning column:Standard.Base.Data.Text.Text rows:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Numbers.Integer) + - to_display_text self -> Standard.Base.Any.Any +- type Inexact_Type_Coercion + - Warning requested_type:Standard.Table.Value_Type.Value_Type actual_type:Standard.Table.Value_Type.Value_Type unavailable:Standard.Base.Data.Boolean.Boolean= + - to_display_text self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Any.Any +- type Invalid_Aggregate_Column + - Error name:Standard.Base.Data.Text.Text expression_error:(Standard.Table.Expression.Expression_Error|Standard.Table.Errors.No_Such_Column|Standard.Base.Nothing.Nothing) + - to_display_text self -> Standard.Base.Any.Any +- type Invalid_Aggregation + - Error column:Standard.Base.Data.Text.Text rows:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Numbers.Integer) message:Standard.Base.Data.Text.Text + - to_display_text self -> Standard.Base.Any.Any +- type Invalid_Column_Names + - Error column_names:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) extra_message:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= + - handle_java_exception ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any +- type Invalid_Format + - Error column:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing) value_type:(Standard.Table.Value_Type.Value_Type|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Numbers.Number|Standard.Base.Data.Time.Date.Date|Standard.Base.Data.Time.Date_Time.Date_Time|Standard.Base.Data.Time.Time_Of_Day.Time_Of_Day|Standard.Base.Data.Boolean.Boolean|Standard.Base.Any.Any) count:Standard.Base.Data.Numbers.Integer cells:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) + - to_display_text self -> Standard.Base.Any.Any +- type Invalid_JSON_Format + - Error input:Standard.Base.Any.Any message:Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any +- type Invalid_Location + - Error location:(Standard.Base.Data.Text.Text|Standard.Base.Any.Any) message:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= + - to_display_text self -> Standard.Base.Any.Any +- type Invalid_Row + - Error source_file_line_number:Standard.Base.Data.Numbers.Integer index:(Standard.Base.Data.Numbers.Integer|Standard.Base.Nothing.Nothing) row:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) expected_columns:Standard.Base.Data.Numbers.Integer + - to_display_text self -> Standard.Base.Any.Any +- type Invalid_Value_For_Type + - Error value:Standard.Base.Any.Any value_type:Standard.Table.Value_Type.Value_Type + - to_display_text self -> Standard.Base.Any.Any +- type Invalid_Value_Type + - Column expected:(Standard.Table.Value_Type.Value_Type|Standard.Base.Data.Text.Text) actual:Standard.Table.Value_Type.Value_Type related_column:Standard.Base.Data.Text.Text + - Incomparable type_1:Standard.Table.Value_Type.Value_Type type_2:Standard.Table.Value_Type.Value_Type + - Not_Ordered actual:Standard.Table.Value_Type.Value_Type + - Value expected:(Standard.Table.Value_Type.Value_Type|Standard.Base.Data.Text.Text) actual:Standard.Table.Value_Type.Value_Type value:Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Data.Text.Text +- type Loss_Of_Decimal_Precision + - Warning affected_rows_count:Standard.Base.Data.Numbers.Integer example_value:Standard.Base.Data.Decimal.Decimal example_value_converted:Standard.Base.Data.Numbers.Float + - to_display_text self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Any.Any +- type Loss_Of_Integer_Precision + - Warning affected_rows_count:Standard.Base.Data.Numbers.Integer example_value:Standard.Base.Data.Numbers.Integer example_value_converted:Standard.Base.Data.Numbers.Float + - to_display_text self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Any.Any +- type Mismatched_Quote + - Error cell_text:Standard.Base.Data.Text.Text + - to_display_text self -> Standard.Base.Any.Any +- type Missing_Column + - Error column_name:Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any +- type Missing_Input_Columns + - Error criteria:Standard.Base.Any.Any where:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= + - to_display_text self -> Standard.Base.Any.Any +- type Mixing_Date_Time_Types + - Date_To_Date_Time related_column_name:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing) + - Implicit_Time_Zone related_column_name:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing) + - to_display_text self -> Standard.Base.Data.Text.Text +- type Name_Too_Long + - Error entity_kind:Standard.Base.Data.Text.Text name:Standard.Base.Data.Text.Text extra_message:Standard.Base.Data.Text.Text + - to_display_text self -> Standard.Base.Any.Any +- type No_Common_Type + - Error types:(Standard.Base.Data.Vector.Vector Standard.Table.Value_Type.Value_Type) related_column_name:(Standard.Base.Nothing.Nothing|Standard.Base.Data.Text.Text) + - Warning_Convert_To_Text types:(Standard.Base.Data.Vector.Vector Standard.Table.Value_Type.Value_Type) related_column_name:Standard.Base.Data.Text.Text + - to_display_text self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Data.Text.Text +- type No_Index_Set_Error + - to_display_text self -> Standard.Base.Any.Any +- type No_Input_Columns_Selected + - to_display_text self -> Standard.Base.Any.Any +- type No_Output_Columns + - Error cause:(Standard.Base.Any.Any|Standard.Base.Nothing.Nothing)= + - to_display_text self -> Standard.Base.Any.Any +- type No_Rows + - to_display_text self -> Standard.Base.Data.Text.Text +- type No_Such_Column + - Error column_name:Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any +- type Non_Unique_Key + - Error key_column_names:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) clashing_example_key_values:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any) clashing_example_row_count:Standard.Base.Data.Numbers.Integer + - to_display_text self -> Standard.Base.Any.Any +- type Not_All_Rows_Downloaded + - Warning max_rows:Standard.Base.Data.Numbers.Integer + - to_display_text self -> Standard.Base.Any.Any +- type Nothing_Value_In_Filter_Condition + - Error filter_condition:Standard.Base.Data.Filter_Condition.Filter_Condition + - to_display_text self -> Standard.Base.Any.Any +- type Null_Values_In_Key_Columns + - Error example_row:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any) add_sql_suffix:Standard.Base.Data.Boolean.Boolean= + - to_display_text self -> Standard.Base.Any.Any +- type Parser_Error + - Error cause:Standard.Base.Any.Any +- type Range_Exceeded + - Error message:Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any +- type Row_Count_Mismatch + - Error left_rows:Standard.Base.Data.Numbers.Integer right_rows:Standard.Base.Data.Numbers.Integer + - to_display_text self -> Standard.Base.Any.Any +- type Too_Many_Column_Names_Provided + - Error column_names:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) + - to_display_text self -> Standard.Base.Any.Any +- type Truncated_Column_Names + - Warning names_map:(Standard.Base.Data.Dictionary.Dictionary Standard.Base.Data.Text.Text Standard.Base.Data.Text.Text) + - find_truncated_name self name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - original_names self -> Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any + - truncated_names self -> Standard.Base.Any.Any +- type Unexpected_Extra_Columns + - Warning columns:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) + - to_display_text self -> Standard.Base.Any.Any +- type Unmatched_Columns + - Error column_names:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) + - to_display_text self -> Standard.Base.Any.Any +- type Unmatched_Rows_In_Lookup + - Error example_key_values:Standard.Base.Data.Vector.Vector + - to_display_text self -> Standard.Base.Any.Any +- type Unquoted_Characters_In_Output + - Warning column:Standard.Base.Data.Text.Text rows:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Numbers.Integer) + - to_display_text self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Any.Any +- type Unquoted_Delimiter + - Error column:Standard.Base.Data.Text.Text rows:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Numbers.Integer) + - to_display_text self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Excel/Excel_Format.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Excel/Excel_Format.md new file mode 100644 index 000000000000..f108b16f3e6f --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Excel/Excel_Format.md @@ -0,0 +1,18 @@ +## Enso Signatures 1.0 +## module Standard.Table.Excel.Excel_Format +- type Excel_Format + - Range address:(Standard.Base.Data.Text.Text|Standard.Table.Excel.Excel_Range.Excel_Range)= headers:Standard.Table.Headers.Headers= skip_rows:Standard.Base.Data.Numbers.Integer= row_limit:Standard.Table.Rows_To_Read.Rows_To_Read= xls_format:(Standard.Base.Data.Boolean.Boolean|Standard.Base.System.File_Format.Infer)= + - Sheet sheet:(Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Text)= headers:Standard.Table.Headers.Headers= skip_rows:Standard.Base.Data.Numbers.Integer= row_limit:Standard.Table.Rows_To_Read.Rows_To_Read= xls_format:(Standard.Base.Data.Boolean.Boolean|Standard.Base.System.File_Format.Infer)= + - Workbook xls_format:(Standard.Base.Data.Boolean.Boolean|Standard.Base.System.File_Format.Infer)= default_sheet:Standard.Base.Data.Text.Text= + - for_file_write file:Standard.Base.Any.Any -> Standard.Base.Any.Any + - for_read file:Standard.Base.System.File_Format_Metadata.File_Format_Metadata -> Standard.Base.Any.Any + - get_dropdown_options -> Standard.Base.Any.Any + - get_name_patterns -> (Standard.Base.Data.Vector.Vector Standard.Base.System.File_Format.File_Name_Pattern) + - read self file:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any + - read_stream self stream:Standard.Base.System.Input_Stream.Input_Stream metadata:Standard.Base.System.File_Format_Metadata.File_Format_Metadata= -> Standard.Base.Any.Any + - resolve constructor:Standard.Base.Any.Any -> Standard.Base.Any.Any + - write_table self file:Standard.Base.Any.Any table:Standard.Base.Any.Any on_existing_file:Standard.Base.Any.Any match_columns:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any +- as_section format:Standard.Table.Excel.Excel_Format.Excel_Format -> Standard.Table.Internal.Excel_Section.Excel_Section +- should_treat_as_xls_format xls_format:Standard.Base.Any.Any file:Standard.Base.System.File_Format_Metadata.File_Format_Metadata -> Standard.Base.Any.Any +- xls_format_from_metadata metadata:Standard.Base.System.File_Format_Metadata.File_Format_Metadata -> Standard.Base.Any.Any +- Standard.Table.Excel.Excel_Format.Excel_Format.from that:Standard.Base.Data.Json.JS_Object -> Standard.Table.Excel.Excel_Format.Excel_Format diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Excel/Excel_Range.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Excel/Excel_Range.md new file mode 100644 index 000000000000..10210df72bc3 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Excel/Excel_Range.md @@ -0,0 +1,22 @@ +## Enso Signatures 1.0 +## module Standard.Table.Excel.Excel_Range +- type Excel_Range + - address self -> Standard.Base.Any.Any + - bottom_row self -> Standard.Base.Any.Any + - column_index column:Standard.Base.Any.Any -> Standard.Base.Any.Any + - for_cell sheet:Standard.Base.Any.Any column:Standard.Base.Any.Any row:Standard.Base.Any.Any -> Standard.Base.Any.Any + - for_columns sheet:Standard.Base.Any.Any left:Standard.Base.Any.Any right:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - for_range sheet:Standard.Base.Any.Any left:Standard.Base.Any.Any top:Standard.Base.Any.Any right:Standard.Base.Any.Any bottom:Standard.Base.Any.Any -> Standard.Base.Any.Any + - for_rows sheet:Standard.Base.Any.Any top:Standard.Base.Any.Any bottom:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - from_address address:Standard.Base.Any.Any -> Standard.Base.Any.Any + - is_single_cell self -> Standard.Base.Any.Any + - is_valid_column column:Standard.Base.Any.Any -> Standard.Base.Any.Any + - is_valid_row row:Standard.Base.Any.Any -> Standard.Base.Any.Any + - left_column self -> Standard.Base.Any.Any + - right_column self -> Standard.Base.Any.Any + - sheet_name self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Any.Any + - top_row self -> Standard.Base.Any.Any +- excel_2007_column_limit -> Standard.Base.Any.Any +- excel_2007_row_limit -> Standard.Base.Any.Any +- validate validation:Standard.Base.Any.Any ~error_message:Standard.Base.Any.Any ~wrapped:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Excel/Excel_Workbook.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Excel/Excel_Workbook.md new file mode 100644 index 000000000000..276506c07e48 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Excel/Excel_Workbook.md @@ -0,0 +1,34 @@ +## Enso Signatures 1.0 +## module Standard.Table.Excel.Excel_Workbook +- type Excel_Workbook + - close self -> Standard.Base.Any.Any + - database self -> Standard.Base.Any.Any + - databases self -> Standard.Base.Any.Any + - from_stream stream:Standard.Base.Any.Any xls_format:Standard.Base.Data.Boolean.Boolean= file:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - named_ranges self -> Standard.Base.Any.Any + - named_ranges_count self -> Standard.Base.Any.Any + - new file:(Standard.Base.System.File.File|Standard.Base.System.File.Advanced.Temporary_File.Temporary_File) xls_format:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any + - query self query:Standard.Base.Data.Text.Text alias:Standard.Base.Data.Text.Text= headers:Standard.Table.Headers.Headers= -> Standard.Base.Any.Any + - read self query:(Standard.Base.Data.Text.Text|Standard.Table.Excel.Excel_Range.Excel_Range|Standard.Base.Data.Numbers.Integer) headers:Standard.Table.Headers.Headers= limit:Standard.Table.Rows_To_Read.Rows_To_Read= skip_rows:Standard.Base.Data.Numbers.Integer= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - read_many self sheet_names:Standard.Base.Data.Vector.Vector= headers:Standard.Table.Headers.Headers= return:Standard.Base.Any.Any= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - read_section self section:Standard.Base.Any.Any -> Standard.Base.Any.Any + - schema self -> Standard.Base.Any.Any + - schemas self -> Standard.Base.Any.Any + - set_database self database:(Standard.Base.Data.Text.Text|Standard.Base.System.File.File) -> Standard.Base.Any.Any + - set_schema self schema:Standard.Base.Any.Any -> Standard.Base.Any.Any + - sheet self name:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer) headers:Standard.Table.Headers.Headers= -> Standard.Base.Any.Any + - sheet_count self -> Standard.Base.Any.Any + - sheet_names self -> Standard.Base.Any.Any + - table_types self -> Standard.Base.Any.Any + - tables self name_like:Standard.Base.Any.Any= database:Standard.Base.Any.Any= schema:Standard.Base.Any.Any= types:Standard.Base.Any.Any= all_fields:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any + - to_js_object self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Any.Any + - with_java_workbook self f:Standard.Base.Any.Any -> Standard.Base.Any.Any + - xls_format self -> Standard.Base.Any.Any +- type Return_As + - Merged_Table columns_to_keep:Standard.Table.Columns_To_Keep.Columns_To_Keep= match:Standard.Table.Match_Columns.Match_Columns= + - Table_Of_Tables +- build_sheet_selector workbook:Standard.Table.Excel.Excel_Workbook.Excel_Workbook display:Standard.Base.Metadata.Display= -> Standard.Base.Metadata.Widget +- close_connection c:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Table.Internal.Read_Many_As_Merged_Table_Strategy.Read_Many_As_Merged_Table_Strategy.from that:Standard.Table.Excel.Excel_Workbook.Excel_Workbook -> Standard.Table.Internal.Read_Many_As_Merged_Table_Strategy.Read_Many_As_Merged_Table_Strategy diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Expression.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Expression.md new file mode 100644 index 000000000000..f4a48b1fa423 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Expression.md @@ -0,0 +1,12 @@ +## Enso Signatures 1.0 +## module Standard.Table.Expression +- type Expression + - Value expression:Standard.Base.Data.Text.Text + - evaluate expression:Standard.Table.Expression.Expression get_column:Standard.Base.Any.Any make_constant:Standard.Base.Any.Any is_column:Standard.Base.Any.Any module_name:Standard.Base.Any.Any type_name:Standard.Base.Any.Any var_args_functions:Standard.Base.Any.Any -> Standard.Base.Any.Any +- type Expression_Error + - Argument_Mismatch message:Standard.Base.Data.Text.Text + - Syntax_Error message:Standard.Base.Data.Text.Text line:Standard.Base.Data.Numbers.Integer column:Standard.Base.Data.Numbers.Integer + - Unsupported_Operation name:Standard.Base.Data.Text.Text + - to_display_text self -> Standard.Base.Any.Any +- expr expression:Standard.Base.Data.Text.Text -> Standard.Table.Expression.Expression +- handle_java_error java_type:Standard.Base.Any.Any enso_constructor:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Expression_Statics.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Expression_Statics.md new file mode 100644 index 000000000000..5f34f81d38f8 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Expression_Statics.md @@ -0,0 +1,19 @@ +## Enso Signatures 1.0 +## module Standard.Table.Expression_Statics +- type Expression_Statics + - != this:Standard.Base.Any.Any that:Standard.Base.Any.Any -> Standard.Base.Any.Any + - % this:Standard.Base.Any.Any that:Standard.Base.Any.Any -> Standard.Base.Any.Any + - * this:Standard.Base.Any.Any that:Standard.Base.Any.Any -> Standard.Base.Any.Any + - + this:Standard.Base.Any.Any that:Standard.Base.Any.Any -> Standard.Base.Any.Any + - - this:Standard.Base.Any.Any that:Standard.Base.Any.Any -> Standard.Base.Any.Any + - / this:Standard.Base.Any.Any that:Standard.Base.Any.Any -> Standard.Base.Any.Any + - < this:Standard.Base.Any.Any that:Standard.Base.Any.Any -> Standard.Base.Any.Any + - <= this:Standard.Base.Any.Any that:Standard.Base.Any.Any -> Standard.Base.Any.Any + - == this:Standard.Base.Any.Any that:Standard.Base.Any.Any -> Standard.Base.Any.Any + - > this:Standard.Base.Any.Any that:Standard.Base.Any.Any -> Standard.Base.Any.Any + - >= this:Standard.Base.Any.Any that:Standard.Base.Any.Any -> Standard.Base.Any.Any + - ^ this:Standard.Base.Any.Any that:Standard.Base.Any.Any -> Standard.Base.Any.Any + - now -> Standard.Base.Data.Time.Date_Time.Date_Time + - regex expression:Standard.Base.Any.Any -> Standard.Base.Any.Any + - time -> Standard.Base.Data.Time.Time_Of_Day.Time_Of_Day + - today -> Standard.Base.Data.Time.Date.Date diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Extensions/Column_Vector_Extensions.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Extensions/Column_Vector_Extensions.md new file mode 100644 index 000000000000..1f5d51696883 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Extensions/Column_Vector_Extensions.md @@ -0,0 +1,8 @@ +## Enso Signatures 1.0 +## module Standard.Table.Extensions.Column_Vector_Extensions +- Standard.Base.Data.Time.Date_Range.Date_Range.to_column self name:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Data.Time.Date_Range.Date_Range.to_column self name:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Data.Range.Range.to_column self name:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Data.Range.Range.to_column self name:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Data.Vector.Vector.to_column self name:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Data.Vector.Vector.to_column self name:Standard.Base.Any.Any= -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Extensions/Excel_Extensions.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Extensions/Excel_Extensions.md new file mode 100644 index 000000000000..a93599fec793 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Extensions/Excel_Extensions.md @@ -0,0 +1,4 @@ +## Enso Signatures 1.0 +## module Standard.Table.Extensions.Excel_Extensions +- Standard.Base.Data.Time.Date.Date.from_excel excel_date:Standard.Base.Data.Numbers.Integer -> Standard.Base.Any.Any +- Standard.Base.Data.Time.Date_Time.Date_Time.from_excel excel_date:Standard.Base.Data.Numbers.Number -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Extensions/Table_Conversions.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Extensions/Table_Conversions.md new file mode 100644 index 000000000000..aa37a2c02072 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Extensions/Table_Conversions.md @@ -0,0 +1,19 @@ +## Enso Signatures 1.0 +## module Standard.Table.Extensions.Table_Conversions +- append_to_json_table file:Standard.Base.System.File.File table:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any +- Standard.Base.Data.Time.Date_Range.Date_Range.to_table self name:Standard.Base.Data.Text.Text= -> Standard.Base.Any.Any +- Standard.Base.Data.Time.Date_Range.Date_Range.to_table self name:Standard.Base.Data.Text.Text= -> Standard.Base.Any.Any +- Standard.Base.System.File_Format.JSON_Format.write_table self file:Standard.Base.System.File.Generic.Writable_File.Writable_File table:Standard.Base.Any.Any on_existing_file:Standard.Base.Any.Any match_columns:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any +- Standard.Base.Data.Json.JS_Object.to_table self fields:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Data.Json.JS_Object.to_table self fields:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Data.Range.Range.to_table self name:Standard.Base.Data.Text.Text= -> Standard.Base.Any.Any +- Standard.Base.Data.Range.Range.to_table self name:Standard.Base.Data.Text.Text= -> Standard.Base.Any.Any +- Standard.Table.Table.Table.from_objects value:Standard.Base.Any.Any fields:(Standard.Base.Data.Vector.Vector|Standard.Base.Nothing.Nothing)= -> Standard.Base.Any.Any +- Standard.Base.Data.Text.Text.parse_to_table self pattern:(Standard.Base.Data.Text.Text|Standard.Base.Data.Text.Regex.Regex) case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= parse_values:Standard.Base.Any.Any= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any +- Standard.Base.Data.Text.Text.parse_to_table self pattern:(Standard.Base.Data.Text.Text|Standard.Base.Data.Text.Regex.Regex) case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= parse_values:Standard.Base.Any.Any= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any +- Standard.Base.Data.Vector.Vector.to_table self fields:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Data.Vector.Vector.to_table self fields:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Data.XML.XML_Document.to_table self -> Standard.Base.Any.Any +- Standard.Base.Data.XML.XML_Document.to_table self -> Standard.Base.Any.Any +- Standard.Base.Data.XML.XML_Element.to_table self -> Standard.Base.Any.Any +- Standard.Base.Data.XML.XML_Element.to_table self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Fill_With.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Fill_With.md new file mode 100644 index 000000000000..e80e05c4ad44 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Fill_With.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Table.Fill_With +- type Fill_With + - Closest_Value + - Nothing + - Wrap_Around + - to_java self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Grouping_Method.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Grouping_Method.md new file mode 100644 index 000000000000..0f886e4bbb21 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Grouping_Method.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Table.Grouping_Method +- type Grouping_Method + - Equal_Count group_count:Standard.Base.Data.Numbers.Integer= order_by:(Standard.Base.Data.Vector.Vector|Standard.Base.Data.Text.Text)= + - Unique on:(Standard.Base.Data.Vector.Vector|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Headers.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Headers.md new file mode 100644 index 000000000000..28668b7d47ef --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Headers.md @@ -0,0 +1,8 @@ +## Enso Signatures 1.0 +## module Standard.Table.Headers +- type Headers + - Detect_Headers + - Has_Headers + - No_Headers +- Standard.Table.Headers.Headers.from that:Standard.Base.System.File_Format.Infer -> Standard.Table.Headers.Headers +- Standard.Table.Headers.Headers.from that:Standard.Base.Data.Boolean.Boolean -> Standard.Table.Headers.Headers diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Add_Row_Number.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Add_Row_Number.md new file mode 100644 index 000000000000..be7e30432771 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Add_Row_Number.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Add_Row_Number +- add_row_number table:Standard.Base.Any.Any name:Standard.Base.Any.Any from:Standard.Base.Any.Any step:Standard.Base.Any.Any group_by:Standard.Base.Any.Any order_by:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any +- create_column table:Standard.Base.Any.Any name:Standard.Base.Any.Any from:Standard.Base.Any.Any step:Standard.Base.Any.Any grouping_columns:Standard.Base.Any.Any ordering:Standard.Base.Any.Any on_problems:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_range_column name:Standard.Base.Any.Any start:Standard.Base.Any.Any step:Standard.Base.Any.Any length:Standard.Base.Any.Any -> Standard.Base.Any.Any +- nth_index start:Standard.Base.Any.Any step:Standard.Base.Any.Any n:Standard.Base.Any.Any -> Standard.Base.Any.Any +- rename_columns_if_needed table:Standard.Base.Any.Any name:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior build_table_from_columns:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Aggregate_Column_Helper.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Aggregate_Column_Helper.md new file mode 100644 index 000000000000..330f30e2583d --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Aggregate_Column_Helper.md @@ -0,0 +1,12 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Aggregate_Column_Helper +- type Internal_Missing_Column_Error +- type Internal_Order_By_Column_Reference + - Value column:Standard.Base.Any.Any direction:Standard.Base.Any.Any +- type Validated_Aggregate_Columns + - Value key_columns:(Standard.Base.Data.Vector.Vector Standard.Table.Column.Column) valid_columns:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any) problems:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any) old_style:Standard.Base.Data.Boolean.Boolean +- all_same_column aggregates:Standard.Base.Any.Any -> Standard.Base.Any.Any +- default_aggregate_column_name aggregate_column:Standard.Base.Any.Any include_column:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- java_aggregator name:Standard.Base.Any.Any column:Standard.Base.Any.Any -> Standard.Base.Any.Any +- prepare_aggregate_columns naming_helper:Standard.Base.Any.Any group_by:Standard.Base.Any.Any aggregates:Standard.Base.Any.Any table:Standard.Base.Any.Any error_on_missing_columns:Standard.Base.Any.Any -> Standard.Base.Any.Any +- resolve_aggregate table:Standard.Base.Any.Any problem_builder:Standard.Base.Any.Any aggregate_column:Standard.Table.Aggregate_Column.Aggregate_Column -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Cast_Helpers.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Cast_Helpers.md new file mode 100644 index 000000000000..252183738b12 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Cast_Helpers.md @@ -0,0 +1,3 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Cast_Helpers +- check_cast_compatibility source_type:Standard.Base.Any.Any target_type:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Column_Format.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Column_Format.md new file mode 100644 index 000000000000..f5a2306397f2 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Column_Format.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Column_Format +- handle_illegal_argument_exception format_string:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_boolean_formatter format:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing) -> Standard.Base.Any.Any +- make_datetime_formatter locale_override:Standard.Base.Data.Locale.Locale format:(Standard.Base.Data.Text.Text|Standard.Base.Data.Time.Date_Time_Formatter.Date_Time_Formatter|Standard.Base.Nothing.Nothing) -> Standard.Base.Any.Any +- make_value_formatter locale:Standard.Base.Any.Any format:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing) -> Standard.Base.Any.Any +- make_value_formatter_for_value_type value_type:Standard.Base.Any.Any locale:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Column_Naming_Helper.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Column_Naming_Helper.md new file mode 100644 index 000000000000..88057ac8bca0 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Column_Naming_Helper.md @@ -0,0 +1,16 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Column_Naming_Helper +- type Column_Naming_Helper + - Value naming_properties:Standard.Base.Any.Any generated_name_properties:Standard.Base.Any.Any= + - binary_operation_name self operation_name:Standard.Base.Any.Any left:Standard.Base.Any.Any right:Standard.Base.Any.Any -> Standard.Base.Any.Any + - check_ambiguity self existing_names:Standard.Base.Any.Any new_name:Standard.Base.Any.Any ~continuation:Standard.Base.Any.Any -> Standard.Base.Any.Any + - concat self texts:Standard.Base.Any.Any add_spaces:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - create_unique_name_strategy self -> Standard.Base.Any.Any + - ensure_name_is_valid self name:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any + - function_name self function_name:Standard.Base.Any.Any arguments:Standard.Base.Any.Any -> Standard.Base.Any.Any + - has_length_limit self -> Standard.Base.Any.Any + - in_memory -> Standard.Base.Any.Any + - make_temp_column_name self existing_column_names:Standard.Base.Any.Any -> Standard.Base.Any.Any + - sanitize_name self name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - to_expression_text self value:Standard.Base.Any.Any -> Standard.Base.Any.Any + - validate_many_column_names self names:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Column_Ops.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Column_Ops.md new file mode 100644 index 000000000000..ffcad65f536c --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Column_Ops.md @@ -0,0 +1,4 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Column_Ops +- map_2_over_storage input_column_0:Standard.Base.Any.Any input_column_1:Standard.Base.Any.Any function:Standard.Base.Any.Any builder:Standard.Base.Any.Any skip_nothing:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- map_over_storage input_column:Standard.Base.Any.Any function:Standard.Base.Any.Any builder:Standard.Base.Any.Any skip_nothing:Standard.Base.Any.Any= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Constant_Column.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Constant_Column.md new file mode 100644 index 000000000000..f77c0674ebef --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Constant_Column.md @@ -0,0 +1,9 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Constant_Column +- type Constant_Column + - Value value:Standard.Base.Any.Any +- Standard.Table.Internal.Constant_Column.Constant_Column.from that:Standard.Base.Data.Numbers.Number -> Standard.Table.Internal.Constant_Column.Constant_Column +- Standard.Table.Internal.Constant_Column.Constant_Column.from that:Standard.Base.Data.Time.Date_Time.Date_Time -> Standard.Table.Internal.Constant_Column.Constant_Column +- Standard.Table.Internal.Constant_Column.Constant_Column.from that:Standard.Base.Data.Time.Date.Date -> Standard.Table.Internal.Constant_Column.Constant_Column +- Standard.Table.Internal.Constant_Column.Constant_Column.from that:Standard.Base.Data.Time.Time_Of_Day.Time_Of_Day -> Standard.Table.Internal.Constant_Column.Constant_Column +- Standard.Table.Internal.Constant_Column.Constant_Column.from that:Standard.Base.Data.Boolean.Boolean -> Standard.Table.Internal.Constant_Column.Constant_Column diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Date_Time_Helpers.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Date_Time_Helpers.md new file mode 100644 index 000000000000..fc7a6d6ea35a --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Date_Time_Helpers.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Date_Time_Helpers +- align_period_with_value_type value_type:Standard.Base.Any.Any period:(Standard.Base.Data.Time.Date_Period.Date_Period|Standard.Base.Data.Time.Time_Period.Time_Period) -> Standard.Base.Any.Any +- make_date_part_function column:Standard.Base.Any.Any period:Standard.Base.Any.Any make_unary_op:Standard.Base.Any.Any naming_helper:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_period_selector_for_column column:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Delimited_Reader.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Delimited_Reader.md new file mode 100644 index 000000000000..defb6409c2db --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Delimited_Reader.md @@ -0,0 +1,18 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Delimited_Reader +- type Detected_File_Metadata + - Value headers:(Standard.Table.Internal.Delimited_Reader.Detected_Headers|Standard.Base.Nothing.Nothing) line_separator:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing) ends_with_newline:Standard.Base.Data.Boolean.Boolean has_any_content:Standard.Base.Data.Boolean.Boolean detected_encoding:Standard.Base.Data.Text.Encoding.Encoding +- type Detected_Headers + - Existing column_names:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) + - None column_count:Standard.Base.Data.Numbers.Integer +- default_max_columns -> Standard.Base.Any.Any +- detect_metadata file:Standard.Base.Any.Any format:Standard.Base.Any.Any -> Standard.Base.Any.Any +- handle_io_exception related_file:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any +- handle_parsing_exception -> Standard.Base.Any.Any +- handle_parsing_failure ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any +- newline_at_eof file:Standard.Base.Any.Any encoding:Standard.Base.Any.Any -> Standard.Base.Any.Any +- prepare_reader format:Standard.Table.Delimited.Delimited_Format.Delimited_Format max_columns:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior java_problem_aggregator:Standard.Base.Any.Any newline_override:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- read_file format:Standard.Base.Any.Any file:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any +- read_from_reader format:Standard.Base.Any.Any java_reader:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior max_columns:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- read_stream format:Standard.Base.Any.Any stream:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior max_columns:Standard.Base.Any.Any= related_file:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- read_text text:Standard.Base.Any.Any format:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Delimited_Writer.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Delimited_Writer.md new file mode 100644 index 000000000000..3a588f770363 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Delimited_Writer.md @@ -0,0 +1,10 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Delimited_Writer +- append_to_file table:Standard.Base.Any.Any format:Standard.Base.Any.Any file:Standard.Base.System.File.Generic.Writable_File.Writable_File match_columns:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any +- append_to_local_file table:Standard.Base.Any.Any format:Standard.Base.Any.Any file:Standard.Base.System.File.File match_columns:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any +- default_line_separator_for_writing -> Standard.Base.Any.Any +- should_write_headers headers:Standard.Table.Headers.Headers -> Standard.Base.Any.Any +- write_file table:Standard.Base.Any.Any format:Standard.Base.Any.Any file:Standard.Base.System.File.Generic.Writable_File.Writable_File on_existing_file:Standard.Base.Any.Any match_columns:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any +- write_text table:Standard.Base.Any.Any format:Standard.Base.Any.Any -> Standard.Base.Any.Any +- write_to_stream table:Standard.Base.Any.Any format:Standard.Base.Any.Any stream:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior related_file:Standard.Base.Any.Any= separator_override:Standard.Base.Any.Any= needs_leading_newline:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- write_to_writer table:Standard.Base.Any.Any format:Standard.Base.Any.Any java_writer:Standard.Base.Any.Any separator_override:Standard.Base.Any.Any= needs_leading_newline:Standard.Base.Any.Any= -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Display_Helpers.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Display_Helpers.md new file mode 100644 index 000000000000..92dc57bf264e --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Display_Helpers.md @@ -0,0 +1,6 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Display_Helpers +- ansi_bold enabled:Standard.Base.Any.Any txt:Standard.Base.Any.Any -> Standard.Base.Any.Any +- display_table table:Standard.Table.Table.Table add_row_index:Standard.Base.Data.Boolean.Boolean max_rows_to_show:Standard.Base.Data.Numbers.Integer all_rows_count:Standard.Base.Data.Numbers.Integer format_terminal:Standard.Base.Data.Boolean.Boolean -> Standard.Base.Data.Text.Text +- pad txt:Standard.Base.Any.Any len:Standard.Base.Any.Any -> Standard.Base.Any.Any +- print_table header:Standard.Base.Any.Any rows:Standard.Base.Any.Any indices_count:Standard.Base.Any.Any format_term:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Excel_Writer.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Excel_Writer.md new file mode 100644 index 000000000000..f51054bf5bc8 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Excel_Writer.md @@ -0,0 +1,10 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Excel_Writer +- find_bak_file base_file:Standard.Base.Any.Any -> Standard.Base.Any.Any +- find_temp_file base_file:Standard.Base.Any.Any -> Standard.Base.Any.Any +- handle_writer ~writer:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_java_existing_data_mode on_existing_file:Standard.Base.Any.Any match_columns:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_java_existing_file_behavior on_existing_file:Standard.Base.Any.Any -> Standard.Base.Any.Any +- prepare_file_modification_strategy table:Standard.Base.Any.Any section:Standard.Base.Any.Any on_existing_file:Standard.Base.Any.Any match_columns:Standard.Base.Any.Any -> Standard.Base.Any.Any +- write_file file:Standard.Base.System.File.Generic.Writable_File.Writable_File table:Standard.Table.Table.Table on_existing_file:Standard.Base.System.File.Existing_File_Behavior.Existing_File_Behavior section:Standard.Table.Internal.Excel_Section.Excel_Section match_columns:Standard.Table.Match_Columns.Match_Columns on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior xls_format:Standard.Base.Data.Boolean.Boolean -> Standard.Base.Any.Any +- write_local_file file:Standard.Base.System.File.File table:Standard.Base.Any.Any on_existing_file:Standard.Base.Any.Any section:Standard.Base.Any.Any match_columns:Standard.Base.Any.Any xls_format:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Fan_Out.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Fan_Out.md new file mode 100644 index 000000000000..f112137985bc --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Fan_Out.md @@ -0,0 +1,13 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Fan_Out +- fan_out_to_columns table:Standard.Base.Any.Any input_column_id:Standard.Base.Any.Any function:Standard.Base.Any.Any column_count:Standard.Base.Any.Any column_builder:Standard.Base.Any.Any= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any +- fan_out_to_rows table:Standard.Base.Any.Any input_column_id:Standard.Base.Data.Text.Text function:Standard.Base.Any.Any column_names:Standard.Base.Any.Any= at_least_one_row:Standard.Base.Any.Any= column_builder:Standard.Base.Any.Any= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any +- fan_out_to_rows_and_columns table:Standard.Base.Any.Any input_column_id:Standard.Base.Any.Any function:Standard.Base.Any.Any column_names:Standard.Base.Any.Any at_least_one_row:Standard.Base.Any.Any= column_builder:Standard.Base.Any.Any= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any +- fan_out_to_rows_and_columns_dynamic input_storage:Standard.Base.Any.Any function:Standard.Base.Any.Any at_least_one_row:Standard.Base.Any.Any column_names_for_row:Standard.Base.Any.Any column_builder:Standard.Base.Any.Any problem_builder:Standard.Base.Any.Any -> Standard.Base.Any.Any +- fan_out_to_rows_and_columns_fixed input_storage:Standard.Base.Any.Any function:Standard.Base.Any.Any at_least_one_row:Standard.Base.Data.Boolean.Boolean column_names:Standard.Base.Data.Vector.Vector column_builder:Standard.Base.Any.Any problem_builder:Standard.Base.Any.Any -> Standard.Base.Any.Any +- map_columns_to_multiple input_column:Standard.Base.Any.Any function:Standard.Base.Any.Any column_count:Standard.Base.Any.Any column_builder:Standard.Base.Any.Any= problem_builder:Standard.Base.Any.Any -> Standard.Base.Any.Any +- maximum vec:Standard.Base.Any.Any -> Standard.Base.Any.Any +- rename_new_columns table:Standard.Base.Any.Any removed_column_name:Standard.Base.Any.Any columns:Standard.Base.Any.Any problem_builder:Standard.Base.Any.Any -> Standard.Base.Any.Any +- repeat_each n:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any +- replace_column_with_columns table:Standard.Base.Any.Any old_column:Standard.Base.Any.Any new_columns:Standard.Base.Any.Any -> Standard.Base.Any.Any +- uniform_length target_length:Standard.Base.Any.Any v:Standard.Base.Any.Any problem_builder:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Filter_Condition_Helpers.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Filter_Condition_Helpers.md new file mode 100644 index 000000000000..ec029f8b0bad --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Filter_Condition_Helpers.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Filter_Condition_Helpers +- make_filter_column source_column:Standard.Base.Any.Any filter_condition:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any +- warn_on_nothing_in_comparison filter_condition:Standard.Base.Any.Any value:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any +- warn_on_nothing_in_comparison_vector filter_condition:Standard.Base.Any.Any values:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Java_Exports.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Java_Exports.md new file mode 100644 index 000000000000..2f56858eccdd --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Java_Exports.md @@ -0,0 +1,8 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Java_Exports +- make_bool_builder initial_size:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_builder_for_type value_type:Standard.Base.Any.Any initial_size:Standard.Base.Any.Any java_problem_aggregator:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- make_double_builder initial_size:Standard.Base.Any.Any java_problem_aggregator:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- make_inferred_builder initial_size:Standard.Base.Any.Any java_problem_aggregator:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- make_long_builder initial_size:Standard.Base.Any.Any bits:Standard.Base.Any.Any java_problem_aggregator:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- make_string_builder initial_size:Standard.Base.Any.Any value_type:Standard.Base.Any.Any= -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Java_Problems.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Java_Problems.md new file mode 100644 index 000000000000..7b0623c82855 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Java_Problems.md @@ -0,0 +1,6 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Java_Problems +- translate_problem p:Standard.Base.Any.Any -> Standard.Base.Any.Any +- unpack_problem_summary problem_summary:Standard.Base.Any.Any -> Standard.Base.Any.Any +- with_map_operation_problem_aggregator location:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing) on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior f:Standard.Base.Any.Any -> Standard.Base.Any.Any +- with_problem_aggregator on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior f:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Join_Helpers.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Join_Helpers.md new file mode 100644 index 000000000000..346ec5020afe --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Join_Helpers.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Join_Helpers +- type Join_Condition_Resolution + - Result conditions:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any) redundant_column_names:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) +- type Join_Condition_Resolver + - Value left_at:Standard.Base.Any.Any right_at:Standard.Base.Any.Any make_equals:Standard.Base.Any.Any make_equals_ignore_case:Standard.Base.Any.Any make_between:Standard.Base.Any.Any + - resolve self conditions:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Join_Kind_Cross.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Join_Kind_Cross.md new file mode 100644 index 000000000000..9c5fe4a5f044 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Join_Kind_Cross.md @@ -0,0 +1,4 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Join_Kind_Cross +- type Join_Kind_Cross + - to_sql self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Lookup_Helpers.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Lookup_Helpers.md new file mode 100644 index 000000000000..21de41c6f2c8 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Lookup_Helpers.md @@ -0,0 +1,11 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Lookup_Helpers +- type Lookup_Column + - Add_Column lookup_column:Standard.Base.Any.Any + - Keep_Column base_column:Standard.Base.Any.Any + - Key_Column base_column:Standard.Base.Any.Any lookup_column:Standard.Base.Any.Any + - Replace_Column base_column:Standard.Base.Any.Any lookup_column:Standard.Base.Any.Any common_type:Standard.Table.Value_Type.Value_Type + - is_key self -> Standard.Base.Any.Any +- make_java_lookup_column_description lookup_column:Standard.Base.Any.Any -> Standard.Base.Any.Any +- merge_columns base_column:Standard.Base.Any.Any lookup_column:Standard.Base.Any.Any allow_unmatched_rows:Standard.Base.Any.Any -> Standard.Base.Any.Any +- prepare_columns_for_lookup base_table:Standard.Base.Any.Any lookup_table:Standard.Base.Any.Any key_columns_selector:Standard.Base.Any.Any add_new_columns:Standard.Base.Any.Any allow_unmatched_rows:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Match_Columns_Helpers.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Match_Columns_Helpers.md new file mode 100644 index 000000000000..ecbf2b1f39c5 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Match_Columns_Helpers.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Match_Columns_Helpers +- type Column_Set + - Value name:Standard.Base.Data.Text.Text column_indices:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Numbers.Integer) +- match_columns tables:Standard.Base.Any.Any matching_mode:Standard.Base.Any.Any columns_to_keep:Standard.Base.Any.Any problem_builder:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Multi_Value_Key.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Multi_Value_Key.md new file mode 100644 index 000000000000..fb8dac2e864f --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Multi_Value_Key.md @@ -0,0 +1,17 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Multi_Value_Key +- type Ordered_Multi_Value_Key + - Key columns:(Standard.Base.Data.Vector.Vector Standard.Table.Column.Column) flip_direction:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Boolean.Boolean) row_index:Standard.Base.Data.Numbers.Integer + - from_row columns:Standard.Base.Any.Any flip_directions:Standard.Base.Any.Any row_index:Standard.Base.Any.Any -> Standard.Base.Any.Any +- type Ordered_Multi_Value_Key_Comparator + - compare x:Standard.Base.Any.Any y:Standard.Base.Any.Any -> Standard.Base.Any.Any + - hash x:Standard.Base.Any.Any -> Standard.Base.Any.Any +- type Unordered_Multi_Value_Key + - Key hash_code:Standard.Base.Data.Numbers.Integer columns:(Standard.Base.Data.Vector.Vector Standard.Table.Column.Column) row_index:Standard.Base.Data.Numbers.Integer + - from_row columns:Standard.Base.Any.Any row_index:Standard.Base.Any.Any -> Standard.Base.Any.Any + - validate_grouping_columns columns:Standard.Base.Any.Any problem_builder:Standard.Base.Any.Any -> Standard.Base.Any.Any +- type Unordered_Multi_Value_Key_Comparator + - compare x:Standard.Base.Any.Any y:Standard.Base.Any.Any -> Standard.Base.Any.Any + - hash x:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Data.Ordering.Comparable.from that:Standard.Table.Internal.Multi_Value_Key.Unordered_Multi_Value_Key -> Standard.Base.Data.Ordering.Comparable +- Standard.Base.Data.Ordering.Comparable.from that:Standard.Table.Internal.Multi_Value_Key.Ordered_Multi_Value_Key -> Standard.Base.Data.Ordering.Comparable diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Naming_Properties.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Naming_Properties.md new file mode 100644 index 000000000000..65ace8fcc710 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Naming_Properties.md @@ -0,0 +1,21 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Naming_Properties +- type Enso_Length_Limited_Naming_Properties + - Instance limit:Standard.Base.Data.Numbers.Integer is_case_sensitive:Standard.Base.Data.Boolean.Boolean= + - encoded_size self name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - raise_name_too_long_error self entity_kind:Standard.Base.Any.Any name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - size_limit self -> Standard.Base.Any.Any + - truncate self name:Standard.Base.Any.Any size:Standard.Base.Any.Any -> Standard.Base.Any.Any +- type Naming_Properties + - encoded_size name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - is_case_sensitive -> Standard.Base.Any.Any + - raise_name_too_long_error entity_kind:Standard.Base.Any.Any name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - size_limit -> Standard.Base.Any.Any + - truncate name:Standard.Base.Any.Any size:Standard.Base.Any.Any -> Standard.Base.Any.Any +- type Unlimited_Naming_Properties + - Instance is_case_sensitive:Standard.Base.Data.Boolean.Boolean= + - encoded_size self name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - raise_name_too_long_error self entity_kind:Standard.Base.Any.Any name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - size_limit self -> Standard.Base.Any.Any + - truncate self name:Standard.Base.Any.Any size:Standard.Base.Any.Any -> Standard.Base.Any.Any +- recover_panics ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Parse_To_Table.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Parse_To_Table.md new file mode 100644 index 000000000000..592c609f9220 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Parse_To_Table.md @@ -0,0 +1,3 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Parse_To_Table +- parse_text_to_table text:Standard.Base.Any.Any regex_or_pattern:Standard.Base.Any.Any= case_sensitivity:Standard.Base.Any.Any= parse_values:Standard.Base.Any.Any= on_problems:Standard.Base.Any.Any= -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Parse_Values_Helper.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Parse_Values_Helper.md new file mode 100644 index 000000000000..54f8e2f8c4b9 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Parse_Values_Helper.md @@ -0,0 +1,4 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Parse_Values_Helper +- is_a_valid_parse_target target_type:Standard.Table.Value_Type.Value_Type -> Standard.Base.Data.Boolean.Boolean +- valid_parse_targets -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Problem_Builder.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Problem_Builder.md new file mode 100644 index 000000000000..fbe95c1f4829 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Problem_Builder.md @@ -0,0 +1,15 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Problem_Builder +- type Problem_Builder + - Value types_to_always_throw:Standard.Base.Any.Any oob_indices:Standard.Base.Any.Any missing_input_columns:Standard.Base.Any.Any missing_input_columns_location:Standard.Base.Any.Any other:Standard.Base.Any.Any + - attach_problems_after self problem_behavior:Standard.Base.Any.Any result:Standard.Base.Any.Any -> Standard.Base.Any.Any + - attach_problems_before self problem_behavior:Standard.Base.Errors.Problem_Behavior.Problem_Behavior ~computation:Standard.Base.Any.Any -> Standard.Base.Any.Any + - build_problemset self -> Standard.Base.Any.Any + - get_problemset_throwing_distinguished_errors self -> Standard.Base.Any.Any + - new types_to_always_throw:Standard.Base.Any.Any= error_on_missing_columns:Standard.Base.Any.Any= missing_input_columns_location:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - raise_no_output_columns_with_cause self -> Standard.Base.Any.Any + - report_missing_input_columns self columns:Standard.Base.Any.Any -> Standard.Base.Any.Any + - report_oob_indices self indices:Standard.Base.Any.Any -> Standard.Base.Any.Any + - report_other_warning self warning:Standard.Base.Any.Any -> Standard.Base.Any.Any + - report_unique_name_strategy self unique_name_strategy:Standard.Base.Any.Any -> Standard.Base.Any.Any +- append_to_ref ref:Standard.Base.Any.Any vector:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Read_Many_As_Merged_Table_Strategy.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Read_Many_As_Merged_Table_Strategy.md new file mode 100644 index 000000000000..cc7df63fee15 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Read_Many_As_Merged_Table_Strategy.md @@ -0,0 +1,11 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Read_Many_As_Merged_Table_Strategy +- type Read_Many_As_Merged_Table_Strategy + - Value into_table:Standard.Base.Any.Any +- Standard.Table.Internal.Read_Many_As_Merged_Table_Strategy.Read_Many_As_Merged_Table_Strategy.from that:Standard.Table.Table.Table -> Standard.Table.Internal.Read_Many_As_Merged_Table_Strategy.Read_Many_As_Merged_Table_Strategy +- Standard.Table.Internal.Read_Many_As_Merged_Table_Strategy.Read_Many_As_Merged_Table_Strategy.from that:Standard.Base.Data.Vector.Vector -> Standard.Table.Internal.Read_Many_As_Merged_Table_Strategy.Read_Many_As_Merged_Table_Strategy +- Standard.Table.Internal.Read_Many_As_Merged_Table_Strategy.Read_Many_As_Merged_Table_Strategy.from that:Standard.Base.Errors.Common.Failed_To_Load -> Standard.Table.Internal.Read_Many_As_Merged_Table_Strategy.Read_Many_As_Merged_Table_Strategy +- Standard.Table.Internal.Read_Many_As_Merged_Table_Strategy.Read_Many_As_Merged_Table_Strategy.from that:Standard.Base.Any.Any -> Standard.Table.Internal.Read_Many_As_Merged_Table_Strategy.Read_Many_As_Merged_Table_Strategy +- type Read_Many_As_Table_Result + - No_Data + - Table metadata:(Standard.Base.Nothing.Nothing|Standard.Table.Table.Table) data:Standard.Table.Table.Table diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Replace_Helpers.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Replace_Helpers.md new file mode 100644 index 000000000000..22002e08b31e --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Replace_Helpers.md @@ -0,0 +1,3 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Replace_Helpers +- replace base_table:Standard.Base.Any.Any lookup_table:Standard.Base.Any.Any columns:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Table.Value_Type.By_Type|Standard.Base.Any.Any) from_column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Nothing.Nothing)= to_column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Nothing.Nothing)= allow_unmatched_rows:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Rows_View.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Rows_View.md new file mode 100644 index 000000000000..b5208dc9a34c --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Rows_View.md @@ -0,0 +1,6 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Rows_View +- type Rows_View + - Value table:Standard.Table.Table.Table + - at self index:Standard.Base.Data.Numbers.Integer= -> Standard.Base.Any.Any + - length self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Split_Tokenize.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Split_Tokenize.md new file mode 100644 index 000000000000..878bc06f3804 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Split_Tokenize.md @@ -0,0 +1,10 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Split_Tokenize +- handle_nothing function:Standard.Base.Any.Any x:Standard.Base.Any.Any -> Standard.Base.Any.Any +- parse_to_columns table:Standard.Base.Any.Any input_column_id:Standard.Base.Any.Any pattern:(Standard.Base.Data.Text.Text|Standard.Base.Data.Text.Regex.Regex)= case_sensitivity:Standard.Base.Any.Any= parse_values:Standard.Base.Any.Any= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any +- regex_parse_to_vectors pattern:Standard.Base.Any.Any input:Standard.Base.Any.Any -> Standard.Base.Any.Any +- regex_to_column_names pattern:Standard.Base.Any.Any original_column_name:Standard.Base.Any.Any -> Standard.Base.Any.Any +- split_to_columns table:Standard.Base.Any.Any input_column_id:Standard.Base.Any.Any delimiter:Standard.Base.Any.Any= column_count:Standard.Table.Columns_To_Add.Columns_To_Add= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any +- split_to_rows table:Standard.Base.Any.Any input_column_id:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer) delimiter:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- tokenize_to_columns table:Standard.Base.Any.Any input_column_id:Standard.Base.Any.Any pattern:Standard.Base.Any.Any case_sensitivity:Standard.Base.Any.Any column_count:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any +- tokenize_to_rows table:Standard.Base.Any.Any input_column_id:Standard.Base.Any.Any pattern:Standard.Base.Any.Any= case_sensitivity:Standard.Base.Any.Any= at_least_one_row:Standard.Base.Any.Any= -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Storage.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Storage.md new file mode 100644 index 000000000000..10ca8138896b --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Storage.md @@ -0,0 +1,10 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Storage +- closest_storage_type value_type:Standard.Base.Any.Any -> Standard.Base.Any.Any +- enso_to_java x:Standard.Base.Any.Any -> Standard.Base.Any.Any +- from_value_type value_type:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any +- from_value_type_strict value_type:Standard.Base.Any.Any -> Standard.Base.Any.Any +- get_storage_for_column column:Standard.Table.Column.Column -> Standard.Base.Any.Any +- java_to_enso x:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_builder storage:Standard.Base.Any.Any initial_size:Standard.Base.Any.Any java_problem_aggregator:Standard.Base.Any.Any -> Standard.Base.Any.Any +- to_value_type storage_type:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Table_Helpers.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Table_Helpers.md new file mode 100644 index 000000000000..aa33881db4e9 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Table_Helpers.md @@ -0,0 +1,34 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Table_Helpers +- type Column_Transform_Element + - Value column:Standard.Base.Any.Any associated_selector:Standard.Base.Any.Any +- type Not_Renamed +- type Table_Column_Helper + - Value columns:Standard.Base.Any.Any internal_columns:Standard.Base.Any.Any make_column:Standard.Base.Any.Any table:Standard.Base.Any.Any materialize:Standard.Base.Any.Any + - remove_by_type self types:Standard.Base.Data.Vector.Vector strict:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any + - remove_columns self selectors:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Base.Data.Vector.Vector) case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity error_on_missing_columns:Standard.Base.Data.Boolean.Boolean on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any + - reorder_columns self selectors:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Base.Data.Vector.Vector) position:Standard.Table.Position.Position case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity error_on_missing_columns:Standard.Base.Data.Boolean.Boolean on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any + - resolve_column_or_expression self selector:Standard.Base.Any.Any problem_builder:Standard.Base.Any.Any -> Standard.Base.Any.Any + - select_blank_columns_helper self when:Standard.Table.Blank_Selector.Blank_Selector= treat_nans_as_blank:Standard.Base.Data.Boolean.Boolean invert_selection:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any + - select_by_type self types:Standard.Base.Data.Vector.Vector strict:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any + - select_columns self selectors:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type|Standard.Base.Data.Vector.Vector) case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity reorder:Standard.Base.Data.Boolean.Boolean error_on_missing_columns:Standard.Base.Data.Boolean.Boolean on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior error_on_empty:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any + - select_columns_helper self selectors:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type|Standard.Base.Data.Vector.Vector) case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity reorder:Standard.Base.Data.Boolean.Boolean problem_builder:Standard.Table.Internal.Problem_Builder.Problem_Builder -> Standard.Base.Any.Any +- type Union_Result_Type + - Common_Type value_type:Standard.Table.Value_Type.Value_Type + - Fallback_To_Text + - No_Types_To_Unify +- duplicate_rows table:Standard.Table.Table.Table counts:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Numbers.Integer) -> Standard.Table.Table.Table +- filter_blank_rows table:Standard.Base.Any.Any when:Standard.Base.Any.Any treat_nans_as_blank:Standard.Base.Any.Any -> Standard.Base.Any.Any +- is_column obj:Standard.Base.Any.Any -> Standard.Base.Any.Any +- is_index_valid length:Standard.Base.Any.Any ix:Standard.Base.Any.Any -> Standard.Base.Any.Any +- match_columns name:(Standard.Base.Data.Text.Text|Standard.Base.Data.Text.Regex.Regex) case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity columns:Standard.Base.Data.Vector.Vector -> Standard.Base.Any.Any +- prepare_order_by internal_columns:Standard.Base.Any.Any column_selectors:Standard.Base.Any.Any problem_builder:Standard.Base.Any.Any -> Standard.Base.Any.Any +- read_name_mapping_from_table column_map:Standard.Table.Table.Table -> Standard.Base.Any.Any +- rename_columns naming_helper:Standard.Table.Internal.Column_Naming_Helper.Column_Naming_Helper internal_columns:Standard.Base.Data.Vector.Vector mapping:(Standard.Base.Data.Dictionary.Dictionary|Standard.Base.Data.Vector.Vector) case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity error_on_missing_columns:Standard.Base.Data.Boolean.Boolean on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any +- replace_columns_with_columns table:Standard.Base.Any.Any old_columns:Standard.Base.Any.Any new_columns:Standard.Base.Any.Any -> Standard.Base.Any.Any +- replace_columns_with_transformed_columns table:Standard.Base.Any.Any selectors:Standard.Base.Any.Any transformer:Standard.Base.Any.Any error_on_missing_columns:Standard.Base.Any.Any= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any +- resolve_order_by internal_columns:Standard.Base.Any.Any column_selectors:Standard.Base.Any.Any problem_builder:Standard.Base.Any.Any -> Standard.Base.Any.Any +- select_indices_preserving_order vector:Standard.Base.Any.Any indices:Standard.Base.Any.Any -> Standard.Base.Any.Any +- select_indices_reordering vector:Standard.Base.Any.Any indices:Standard.Base.Any.Any -> Standard.Base.Any.Any +- sort_columns internal_columns:Standard.Base.Any.Any order:Standard.Base.Any.Any text_ordering:Standard.Base.Any.Any -> Standard.Base.Any.Any +- unify_result_type_for_union column_set:Standard.Table.Internal.Match_Columns_Helpers.Column_Set all_tables:Standard.Base.Data.Vector.Vector problem_builder:Standard.Table.Internal.Problem_Builder.Problem_Builder -> Standard.Table.Internal.Table_Helpers.Union_Result_Type diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Table_Ref.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Table_Ref.md new file mode 100644 index 000000000000..8f76f932b089 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Table_Ref.md @@ -0,0 +1,13 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Table_Ref +- type Table_Ref + - Value underlying:Standard.Base.Any.Any + - at self selector:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - column_names self -> Standard.Base.Any.Any + - evaluate_expression self expression:Standard.Table.Expression.Expression on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - resolve self value:Standard.Base.Any.Any -> Standard.Base.Any.Any + - resolve_as_column self value:Standard.Base.Any.Any -> Standard.Base.Any.Any + - resolve_condition self condition:Standard.Base.Any.Any -> Standard.Base.Any.Any + - set self column:Standard.Base.Any.Any as:Standard.Base.Data.Text.Text set_mode:Standard.Table.Set_Mode.Set_Mode= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any +- check_is_in_values operation_name:Standard.Base.Any.Any values:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Table.Internal.Table_Ref.Table_Ref.from that:Standard.Table.Table.Table -> Standard.Table.Internal.Table_Ref.Table_Ref diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Unique_Name_Strategy.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Unique_Name_Strategy.md new file mode 100644 index 000000000000..4314ee3d139f --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Unique_Name_Strategy.md @@ -0,0 +1,14 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Unique_Name_Strategy +- type Unique_Name_Strategy + - Value deduplicator:Standard.Base.Any.Any + - combine_with_prefix self first:Standard.Base.Any.Any second:Standard.Base.Any.Any second_prefix:Standard.Base.Any.Any -> Standard.Base.Any.Any + - invalid_names self -> Standard.Base.Any.Any + - is_unique self name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - make_all_unique self names:Standard.Base.Any.Any -> Standard.Base.Any.Any + - make_unique self name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - make_valid_name self input:Standard.Base.Any.Any -> Standard.Base.Any.Any + - mark_used self names:Standard.Base.Any.Any -> Standard.Base.Any.Any + - new naming_properties:Standard.Base.Any.Any -> Standard.Base.Any.Any + - renames self -> Standard.Base.Any.Any + - truncated_names self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Value_Type_Helpers.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Value_Type_Helpers.md new file mode 100644 index 000000000000..98822464d0f6 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Value_Type_Helpers.md @@ -0,0 +1,22 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Value_Type_Helpers +- type Addition_Kind + - Numeric_Add + - Text_Concat +- type Subtraction_Kind + - Date_Time_Difference + - Numeric_Subtract +- check_binary_boolean_op arg1:Standard.Base.Any.Any arg2:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any +- check_binary_numeric_op arg1:Standard.Base.Any.Any arg2:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any +- check_multi_argument_comparable_op column:Standard.Base.Any.Any arg_or_args:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any +- find_argument_type value:Standard.Base.Any.Any infer_precise_type:Standard.Base.Data.Boolean.Boolean= -> Standard.Table.Value_Type.Value_Type +- find_common_date_types types:(Standard.Base.Data.Vector.Vector Standard.Table.Value_Type.Value_Type) related_column_name:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing) problem_builder:Standard.Table.Internal.Problem_Builder.Problem_Builder -> (Standard.Table.Value_Type.Value_Type|Standard.Base.Nothing.Nothing) +- find_common_numeric_boolean_type types:(Standard.Base.Data.Vector.Vector Standard.Table.Value_Type.Value_Type) -> (Standard.Table.Value_Type.Value_Type|Standard.Base.Nothing.Nothing) +- find_common_type types:(Standard.Base.Data.Vector.Vector Standard.Table.Value_Type.Value_Type) strict:Standard.Base.Data.Boolean.Boolean -> (Standard.Table.Value_Type.Value_Type|Standard.Base.Nothing.Nothing) +- find_common_type_for_arguments arguments:Standard.Base.Any.Any -> Standard.Base.Any.Any +- max_size a:Standard.Base.Any.Any b:Standard.Base.Any.Any -> Standard.Base.Any.Any +- most_specific_value_type value:Standard.Base.Any.Any use_smallest:Standard.Base.Data.Boolean.Boolean= -> Standard.Table.Value_Type.Value_Type +- raise_unexpected_type expected_type:Standard.Base.Any.Any argument:Standard.Base.Any.Any -> Standard.Base.Any.Any +- reconcile_types current:Standard.Table.Value_Type.Value_Type new:Standard.Table.Value_Type.Value_Type -> Standard.Table.Value_Type.Value_Type +- resolve_addition_kind arg1:Standard.Base.Any.Any arg2:Standard.Base.Any.Any -> (Standard.Table.Internal.Value_Type_Helpers.Addition_Kind|Standard.Base.Nothing.Nothing) +- resolve_subtraction_kind arg1:Standard.Base.Any.Any arg2:Standard.Base.Any.Any -> (Standard.Table.Internal.Value_Type_Helpers.Subtraction_Kind|Standard.Base.Nothing.Nothing) diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Vector_Builder.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Vector_Builder.md new file mode 100644 index 000000000000..27fedf3f5166 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Vector_Builder.md @@ -0,0 +1,12 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Vector_Builder +- type Vector_Builder + - Append left:Standard.Base.Any.Any right:Standard.Base.Any.Any len:Standard.Base.Any.Any + - Leaf vec:Standard.Base.Any.Any + - ++ self other:Standard.Base.Any.Any -> Standard.Base.Any.Any + - build self -> Standard.Base.Any.Any + - empty -> Standard.Base.Any.Any + - from_vector vec:Standard.Base.Any.Any -> Standard.Base.Any.Any + - is_empty self -> Standard.Base.Any.Any + - length self -> Standard.Base.Any.Any + - not_empty self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Widget_Helpers.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Widget_Helpers.md new file mode 100644 index 000000000000..01b7c8fabbfe --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Internal/Widget_Helpers.md @@ -0,0 +1,27 @@ +## Enso Signatures 1.0 +## module Standard.Table.Internal.Widget_Helpers +- type Types_To_Include + - boolean self -> Standard.Base.Any.Any + - date self -> Standard.Base.Any.Any + - date_time self -> Standard.Base.Any.Any + - number self -> Standard.Base.Any.Any + - text self -> Standard.Base.Any.Any + - time self -> Standard.Base.Any.Any +- make_aggregate_column_selector table:Standard.Base.Any.Any display:Standard.Base.Metadata.Display= -> Standard.Base.Any.Any +- make_aggregate_column_vector_selector table:Standard.Base.Any.Any display:Standard.Base.Metadata.Display= -> Standard.Base.Any.Any +- make_column_name_multi_selector table:Standard.Base.Any.Any display:Standard.Base.Metadata.Display= add_regex:Standard.Base.Data.Boolean.Boolean= add_by_type:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any +- make_column_name_selector table:Standard.Base.Any.Any add_expression:Standard.Base.Data.Boolean.Boolean= display:Standard.Base.Metadata.Display= -> Standard.Base.Any.Any +- make_column_name_vector_selector table:Standard.Base.Any.Any display:Standard.Base.Metadata.Display= -> Standard.Base.Any.Any +- make_column_ref_by_name_selector table:Standard.Base.Any.Any display:Standard.Base.Metadata.Display= add_text:Standard.Base.Data.Boolean.Boolean= add_regex:Standard.Base.Data.Boolean.Boolean= add_number:Standard.Base.Data.Boolean.Boolean= add_boolean:Standard.Base.Data.Boolean.Boolean= add_named_pattern:Standard.Base.Data.Boolean.Boolean= add_date:Standard.Base.Data.Boolean.Boolean= add_time:Standard.Base.Data.Boolean.Boolean= add_date_time:Standard.Base.Data.Boolean.Boolean= add_nothing:Standard.Base.Data.Boolean.Boolean= columns_first:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any +- make_column_ref_by_name_selector_for_type table:Standard.Base.Any.Any display:Standard.Base.Metadata.Display= value_type:Standard.Table.Value_Type.Value_Type add_nothing:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any +- make_fill_default_value_selector column_source:Standard.Base.Any.Any= display:Standard.Base.Metadata.Display= value_types:Standard.Base.Any.Any= add_nothing:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any +- make_filter_condition_selector table:Standard.Base.Any.Any display:Standard.Base.Metadata.Display= cache:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- make_format_chooser_for_type value_type:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_grouping_method_selector table:Standard.Table.Table.Table display:Standard.Base.Metadata.Display= -> Standard.Base.Metadata.Widget +- make_join_condition_selector table:Standard.Base.Any.Any display:Standard.Base.Metadata.Display= cache:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- make_order_by_selector table:Standard.Base.Any.Any display:Standard.Base.Metadata.Display= name_only:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any +- make_rename_name_vector_selector table:Standard.Base.Any.Any display:Standard.Base.Metadata.Display= cache:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- make_replace_selector display:Standard.Base.Metadata.Display= -> Standard.Base.Any.Any +- make_value_type_vector_selector -> Standard.Base.Any.Any +- parse_type_selector include_auto:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- write_table_selector -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Join_Condition.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Join_Condition.md new file mode 100644 index 000000000000..3ba278c44777 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Join_Condition.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Table.Join_Condition +- type Join_Condition + - Between left:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer)= right_lower:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer)= right_upper:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer)= + - Equals left:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer)= right:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer)= + - Equals_Ignore_Case left:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer)= right:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer)= locale:Standard.Base.Data.Locale.Locale= +- Standard.Table.Join_Condition.Join_Condition.from that:Standard.Base.Data.Text.Text -> Standard.Table.Join_Condition.Join_Condition diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Join_Kind.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Join_Kind.md new file mode 100644 index 000000000000..bbc20dce004f --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Join_Kind.md @@ -0,0 +1,10 @@ +## Enso Signatures 1.0 +## module Standard.Table.Join_Kind +- type Join_Kind + - Full + - Inner + - Left_Exclusive + - Left_Outer + - Right_Exclusive + - Right_Outer + - to_java self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Main.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Main.md new file mode 100644 index 000000000000..c822617fa59f --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Main.md @@ -0,0 +1,2 @@ +## Enso Signatures 1.0 +## module Standard.Table.Main diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Match_Columns.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Match_Columns.md new file mode 100644 index 000000000000..1e274a0834a0 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Match_Columns.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Table.Match_Columns +- type Match_Columns + - By_Name + - By_Position diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Position.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Position.md new file mode 100644 index 000000000000..be05771505fb --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Position.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Table.Position +- type Position + - After_Other_Columns + - Before_Other_Columns diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Prefix_Name.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Prefix_Name.md new file mode 100644 index 000000000000..4c564e9f8723 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Prefix_Name.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Table.Prefix_Name +- type Prefix_Name + - Column_Name + - Custom value:Standard.Base.Data.Text.Text + - None +- Standard.Table.Prefix_Name.Prefix_Name.from that:Standard.Base.Data.Text.Text -> Standard.Table.Prefix_Name.Prefix_Name diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Return_As_Table.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Return_As_Table.md new file mode 100644 index 000000000000..4c3a8472f87b --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Return_As_Table.md @@ -0,0 +1,9 @@ +## Enso Signatures 1.0 +## module Standard.Table.Return_As_Table +- type Return_As_Table + - As_Merged_Table columns_to_keep:Standard.Table.Columns_To_Keep.Columns_To_Keep= match:Standard.Table.Match_Columns.Match_Columns= + - With_New_Column + - get_dropdown_options -> Standard.Base.Any.Any + - make_return self input:Standard.Base.Data.Read.Many_Files_List.Many_Files_List objects:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any) on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any + - resolve value:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Data.Read.Return_As.Return_As.from that:Standard.Table.Return_As_Table.Return_As_Table -> Standard.Base.Data.Read.Return_As.Return_As diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Row.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Row.md new file mode 100644 index 000000000000..02cca670c071 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Row.md @@ -0,0 +1,11 @@ +## Enso Signatures 1.0 +## module Standard.Table.Row +- type Row + - Value table:Standard.Table.Table.Table index:Standard.Base.Data.Numbers.Integer + - at self column:(Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Text)= -> Standard.Base.Any.Any + - column_names self -> Standard.Base.Any.Any + - get self column:(Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Text)= ~if_missing:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - length self -> Standard.Base.Any.Any + - to_dictionary self -> Standard.Base.Any.Any + - to_js_object self -> Standard.Base.Any.Any + - to_vector self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Row_Limit.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Row_Limit.md new file mode 100644 index 000000000000..053694273e83 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Row_Limit.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Table.Row_Limit +- type Row_Limit + - Limit n:Standard.Base.Data.Numbers.Integer= + - No_Limit +- Standard.Table.Row_Limit.Row_Limit.from that:Standard.Base.Nothing.Nothing -> Standard.Table.Row_Limit.Row_Limit +- Standard.Table.Row_Limit.Row_Limit.from that:Standard.Base.Data.Numbers.Integer -> Standard.Table.Row_Limit.Row_Limit diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Rows_To_Read.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Rows_To_Read.md new file mode 100644 index 000000000000..09744250eee2 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Rows_To_Read.md @@ -0,0 +1,13 @@ +## Enso Signatures 1.0 +## module Standard.Table.Rows_To_Read +- type Rows_To_Read + - All_Rows + - First rows:Standard.Base.Data.Numbers.Integer= + - First_With_Warning rows:Standard.Base.Data.Numbers.Integer= + - attach_warning self input:Standard.Table.Table.Table -> Standard.Table.Table.Table + - attach_warning_vector self input:Standard.Base.Data.Vector.Vector -> Standard.Base.Data.Vector.Vector + - default_widget display:Standard.Base.Metadata.Display= -> Standard.Base.Metadata.Widget + - rows_to_read self -> (Standard.Base.Data.Numbers.Integer|Standard.Base.Nothing.Nothing) + - rows_to_write self -> (Standard.Base.Data.Numbers.Integer|Standard.Base.Nothing.Nothing) +- Standard.Table.Rows_To_Read.Rows_To_Read.from that:Standard.Base.Nothing.Nothing -> Standard.Table.Rows_To_Read.Rows_To_Read +- Standard.Table.Rows_To_Read.Rows_To_Read.from that:Standard.Base.Data.Numbers.Integer -> Standard.Table.Rows_To_Read.Rows_To_Read diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Set_Mode.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Set_Mode.md new file mode 100644 index 000000000000..7100eb5dba23 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Set_Mode.md @@ -0,0 +1,6 @@ +## Enso Signatures 1.0 +## module Standard.Table.Set_Mode +- type Set_Mode + - Add + - Add_Or_Update + - Update diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Simple_Expression.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Simple_Expression.md new file mode 100644 index 000000000000..92404d34b1a6 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Simple_Expression.md @@ -0,0 +1,79 @@ +## Enso Signatures 1.0 +## module Standard.Table.Simple_Expression +- type Date_Operation + - Add length:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Integer)= period:(Standard.Base.Data.Time.Date_Period.Date_Period|Standard.Base.Data.Time.Time_Period.Time_Period)= + - Day + - Diff end:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Time.Date_Time.Date_Time|Standard.Base.Data.Time.Date.Date|Standard.Base.Data.Time.Time_Of_Day.Time_Of_Day)= period:(Standard.Base.Data.Time.Date_Period.Date_Period|Standard.Base.Data.Time.Time_Period.Time_Period)= + - Hour + - Minute + - Month + - Part period:(Standard.Base.Data.Time.Date_Period.Date_Period|Standard.Base.Data.Time.Time_Period.Time_Period)= + - Second + - Truncate + - Year + - create_widget table:Standard.Table.Internal.Table_Ref.Table_Ref display:Standard.Base.Metadata.Display= -> Standard.Base.Any.Any + - evaluate self column:Standard.Base.Any.Any table:Standard.Table.Internal.Table_Ref.Table_Ref -> Standard.Base.Any.Any +- type Logical_Operation + - And rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Boolean.Boolean)= + - Not + - Or rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Boolean.Boolean)= + - create_widget table:Standard.Table.Internal.Table_Ref.Table_Ref display:Standard.Base.Metadata.Display= -> Standard.Base.Any.Any + - evaluate self column:Standard.Base.Any.Any table:Standard.Table.Internal.Table_Ref.Table_Ref -> Standard.Base.Any.Any +- type Math_Operation + - Ceil + - Divide rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number)= + - Floor + - Mod rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number)= + - Multiply rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number)= + - Negate + - Power rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number)= + - Round precision:Standard.Base.Data.Numbers.Integer= use_bankers:Standard.Base.Data.Boolean.Boolean= + - Subtract rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number)= + - Truncate + - create_widget table:Standard.Table.Internal.Table_Ref.Table_Ref display:Standard.Base.Metadata.Display= -> Standard.Base.Any.Any + - evaluate self column:Standard.Base.Any.Any table:Standard.Table.Internal.Table_Ref.Table_Ref -> Standard.Base.Any.Any +- type Simple_Calculation + - Add rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number|Standard.Base.Data.Text.Text)= + - And rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Boolean.Boolean)= + - Ceil + - Copy + - Date operation:Standard.Table.Simple_Expression.Date_Operation= + - Date_Add length:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Integer)= period:(Standard.Base.Data.Time.Date_Period.Date_Period|Standard.Base.Data.Time.Time_Period.Time_Period)= + - Date_Diff end:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Time.Date_Time.Date_Time|Standard.Base.Data.Time.Date.Date|Standard.Base.Data.Time.Time_Of_Day.Time_Of_Day)= period:(Standard.Base.Data.Time.Date_Period.Date_Period|Standard.Base.Data.Time.Time_Period.Time_Period)= + - Date_Part period:(Standard.Base.Data.Time.Date_Period.Date_Period|Standard.Base.Data.Time.Time_Period.Time_Period)= + - Divide rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number)= + - Floor + - Format format:Standard.Base.Data.Text.Text= + - If condition:Standard.Base.Data.Filter_Condition.Filter_Condition= true_value:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Any.Any)= false_value:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Any.Any)= + - Logical operation:Standard.Table.Simple_Expression.Logical_Operation= + - Math operation:Standard.Table.Simple_Expression.Math_Operation= + - Max rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Any.Any)= + - Min rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Any.Any)= + - Mod rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number)= + - Multiply rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number)= + - Not + - Or rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Boolean.Boolean)= + - Power rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number)= + - Round precision:Standard.Base.Data.Numbers.Integer= use_bankers:Standard.Base.Data.Boolean.Boolean= + - Subtract rhs:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Number)= + - Text operation:Standard.Table.Simple_Expression.Text_Operation= + - Text_Left length:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Integer)= + - Text_Length + - Text_Right length:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Integer)= + - Trim where:Standard.Base.Data.Text.Location.Location= what:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Text.Text)= + - Truncate +- type Simple_Expression + - From input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Any.Any)= operation:Standard.Table.Simple_Expression.Simple_Calculation= + - Simple_Expr input:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Any.Any)= operation:Standard.Table.Simple_Expression.Simple_Calculation= + - default_widget table:Standard.Table.Internal.Table_Ref.Table_Ref display:Standard.Base.Metadata.Display= -> Standard.Base.Metadata.Widget + - evaluate self table:Standard.Table.Internal.Table_Ref.Table_Ref use_input_name:Standard.Base.Data.Boolean.Boolean on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any +- type Text_Operation + - Contains substring:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Text.Text)= + - Ends_With suffix:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Text.Text)= + - Left length:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Integer)= + - Length + - Right length:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Numbers.Integer)= + - Starts_With prefix:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Text.Text)= + - Trim where:Standard.Base.Data.Text.Location.Location= what:(Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Text.Text)= + - create_widget table:Standard.Table.Internal.Table_Ref.Table_Ref display:Standard.Base.Metadata.Display= -> Standard.Base.Any.Any + - evaluate self column:Standard.Base.Any.Any table:Standard.Table.Internal.Table_Ref.Table_Ref -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Sort_Column.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Sort_Column.md new file mode 100644 index 000000000000..cd78c1000e3f --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Sort_Column.md @@ -0,0 +1,8 @@ +## Enso Signatures 1.0 +## module Standard.Table.Sort_Column +- type Sort_Column + - Index index:Standard.Base.Data.Numbers.Integer= direction:Standard.Base.Data.Sort_Direction.Sort_Direction= + - Name name:Standard.Base.Data.Text.Text= direction:Standard.Base.Data.Sort_Direction.Sort_Direction= + - Select_By_Name name:(Standard.Base.Data.Text.Text|Standard.Base.Data.Text.Regex.Regex)= direction:Standard.Base.Data.Sort_Direction.Sort_Direction= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= +- Standard.Table.Sort_Column.Sort_Column.from that:Standard.Base.Data.Text.Text -> Standard.Table.Sort_Column.Sort_Column +- Standard.Table.Sort_Column.Sort_Column.from that:Standard.Base.Data.Numbers.Integer -> Standard.Table.Sort_Column.Sort_Column diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Table.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Table.md new file mode 100644 index 000000000000..4bced28a932a --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Table.md @@ -0,0 +1,104 @@ +## Enso Signatures 1.0 +## module Standard.Table.Table +- type Table + - add_group_number self grouping_method:Standard.Table.Grouping_Method.Grouping_Method= name:Standard.Base.Data.Text.Text= from:Standard.Base.Data.Numbers.Integer= step:Standard.Base.Data.Numbers.Integer= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Table.Table.Table + - add_row_number self name:Standard.Base.Data.Text.Text= from:Standard.Base.Data.Numbers.Integer= step:Standard.Base.Data.Numbers.Integer= group_by:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= order_by:(Standard.Base.Data.Vector.Vector|Standard.Base.Data.Text.Text)= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Table.Table.Table + - aggregate self group_by:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= columns:(Standard.Base.Data.Vector.Vector Standard.Table.Aggregate_Column.Aggregate_Column)= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - at self selector:(Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Text)= -> Standard.Base.Any.Any + - auto_cast self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type)= shrink_types:Standard.Base.Data.Boolean.Boolean= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Table.Table.Table + - auto_value_types self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type)= shrink_types:Standard.Base.Data.Boolean.Boolean= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - cast self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type)= value_type:Standard.Table.Value_Type.Value_Type error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - column_count self -> Standard.Base.Data.Numbers.Integer + - column_info self -> Standard.Table.Table.Table + - column_names self -> (Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) + - column_naming_helper self -> Standard.Base.Any.Any + - columns self -> Standard.Base.Data.Vector.Vector + - columns_helper self -> Standard.Base.Any.Any + - cross_join self right:Standard.Table.Table.Table= right_row_limit:Standard.Table.Row_Limit.Row_Limit= right_prefix:Standard.Base.Data.Text.Text= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Table.Table.Table + - cross_tab self group_by:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= names:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer)= values:(Standard.Table.Aggregate_Column.Aggregate_Column|Standard.Base.Any.Any)= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - display self show_rows:Standard.Base.Data.Numbers.Integer= format_terminal:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Data.Text.Text + - distinct self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - drop self range:(Standard.Base.Data.Index_Sub_Range.Index_Sub_Range|Standard.Base.Data.Range.Range|Standard.Base.Data.Numbers.Integer)= -> Standard.Table.Table.Table + - duplicates self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - evaluate_expression self expression:(Standard.Base.Data.Text.Text|Standard.Table.Expression.Expression) on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - expand_column self column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer) fields:(Standard.Base.Any.Any|Standard.Base.Nothing.Nothing)= prefix:Standard.Table.Prefix_Name.Prefix_Name= -> Standard.Base.Any.Any + - expand_to_rows self column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer) at_least_one_row:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any + - fill_empty self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type) default:(Standard.Table.Column.Column|Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Table.Constants.Previous_Value|Standard.Base.Any.Any) -> Standard.Table.Table.Table + - fill_nothing self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type) default:(Standard.Table.Column.Column|Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Table.Constants.Previous_Value|Standard.Base.Any.Any) -> Standard.Table.Table.Table + - filter self column:(Standard.Table.Column.Column|Standard.Table.Expression.Expression|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer)= filter:(Standard.Base.Data.Filter_Condition.Filter_Condition|Standard.Base.Any.Any)= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - filter_blank_rows self when:Standard.Table.Blank_Selector.Blank_Selector= treat_nans_as_blank:Standard.Base.Data.Boolean.Boolean= -> Standard.Table.Table.Table + - filter_by_expression self expression:Standard.Base.Data.Text.Text on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - first_column self -> Standard.Base.Any.Any + - first_row self -> Standard.Base.Any.Any + - first_value self -> Standard.Base.Any.Any + - format self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type) format:(Standard.Base.Data.Text.Text|Standard.Base.Data.Time.Date_Time_Formatter.Date_Time_Formatter|Standard.Table.Column.Column)= locale:Standard.Base.Data.Locale.Locale= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - from_rows header:Standard.Base.Data.Vector.Vector rows:Standard.Base.Data.Vector.Vector -> Standard.Table.Table.Table + - from_union tables:(Standard.Base.Data.Vector.Vector Standard.Table.Table.Table) columns_to_keep:Standard.Table.Columns_To_Keep.Columns_To_Keep= match_columns:Standard.Table.Match_Columns.Match_Columns= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - get self selector:(Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Text)= ~if_missing:Standard.Base.Any.Any= -> (Standard.Table.Column.Column|Standard.Base.Any.Any) + - get_row self index:Standard.Base.Data.Numbers.Integer= ~if_missing:Standard.Base.Any.Any= -> (Standard.Table.Row.Row|Standard.Base.Any.Any) + - get_value self selector:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer)= index:Standard.Base.Data.Numbers.Integer= ~if_missing:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - input columns:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any) -> Standard.Table.Table.Table + - join self right:Standard.Table.Table.Table= join_kind:Standard.Table.Join_Kind.Join_Kind= on:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Table.Join_Condition.Join_Condition)= right_prefix:Standard.Base.Data.Text.Text= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Table.Table.Table + - last_column self -> Standard.Base.Any.Any + - last_row self -> Standard.Base.Any.Any + - last_value self -> Standard.Base.Any.Any + - make_constant_column self value:Standard.Base.Any.Any -> Standard.Base.Any.Any + - make_table_from_dictionary self dict:Standard.Base.Any.Any key_column_name:Standard.Base.Any.Any value_column_name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - make_table_from_vectors self column_vectors:Standard.Base.Any.Any column_names:Standard.Base.Any.Any -> Standard.Base.Any.Any + - make_temp_column_name self -> Standard.Base.Any.Any + - merge self lookup_table:Standard.Table.Table.Table= key_columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= add_new_columns:Standard.Base.Data.Boolean.Boolean= allow_unmatched_rows:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - new columns:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any) -> Standard.Table.Table.Table + - offset self columns:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any)= n:Standard.Base.Data.Numbers.Integer= fill_with:Standard.Table.Fill_With.Fill_With= group_by:(Standard.Base.Data.Vector.Vector|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= order_by:(Standard.Base.Data.Vector.Vector|Standard.Base.Data.Text.Text)= set_mode:Standard.Table.Set_Mode.Set_Mode= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Table.Table.Table + - order_by self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text)= text_ordering:Standard.Base.Data.Text.Text_Ordering.Text_Ordering= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - parse self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= type:(Standard.Table.Value_Type.Value_Type|Standard.Table.Value_Type.Auto)= format:(Standard.Base.Data.Text.Text|Standard.Table.Data_Formatter.Data_Formatter)= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Table.Table.Table + - parse_to_columns self column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer) pattern:(Standard.Base.Data.Text.Text|Standard.Base.Data.Text.Regex.Regex)= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= parse_values:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Table.Table.Table + - pretty self -> Standard.Base.Any.Any + - print self show_rows:Standard.Base.Data.Numbers.Integer= -> Standard.Base.Nothing.Nothing + - read self max_rows:Standard.Table.Rows_To_Read.Rows_To_Read= -> Standard.Table.Table.Table + - remove_all_rows self -> Standard.Base.Any.Any + - remove_blank_columns self when:Standard.Table.Blank_Selector.Blank_Selector= treat_nans_as_blank:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any + - remove_columns self columns:(Standard.Base.Data.Vector.Vector|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type)= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - remove_columns_by_type self types:(Standard.Base.Data.Vector.Vector Standard.Table.Value_Type.Value_Type) strict:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any + - rename_columns self column_map:(Standard.Table.Table.Table|Standard.Base.Any.Any|Standard.Base.Any.Any|Standard.Base.Any.Any)= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - reorder_columns self columns:(Standard.Base.Data.Vector.Vector|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type)= position:Standard.Table.Position.Position= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - replace self lookup_table:(Standard.Table.Table.Table|Standard.Base.Data.Dictionary.Dictionary) columns:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type|Standard.Base.Any.Any) from_column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Nothing.Nothing)= to_column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Nothing.Nothing)= allow_unmatched_rows:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - reverse self -> Standard.Table.Table.Table + - row_count self -> Standard.Base.Data.Numbers.Integer + - rows self max_rows:Standard.Table.Rows_To_Read.Rows_To_Read= -> (Standard.Base.Data.Vector.Vector Standard.Table.Row.Row) + - running self statistic:Standard.Base.Data.Statistics.Statistic= of:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer)= as:Standard.Base.Data.Text.Text= set_mode:Standard.Table.Set_Mode.Set_Mode= group_by:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= order_by:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text)= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Table.Table.Table + - select_blank_columns self when:Standard.Table.Blank_Selector.Blank_Selector= treat_nans_as_blank:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any + - select_columns self columns:(Standard.Base.Data.Vector.Vector|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type)= reorder:Standard.Base.Data.Boolean.Boolean= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - select_columns_by_type self types:(Standard.Base.Data.Vector.Vector Standard.Table.Value_Type.Value_Type) strict:Standard.Base.Data.Boolean.Boolean= -> Standard.Table.Table.Table + - set self value:(Standard.Base.Data.Text.Text|Standard.Table.Expression.Expression|Standard.Table.Column.Column|Standard.Table.Internal.Constant_Column.Constant_Column|Standard.Table.Simple_Expression.Simple_Expression) as:Standard.Base.Data.Text.Text= set_mode:Standard.Table.Set_Mode.Set_Mode= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - slice self start:Standard.Base.Any.Any end:Standard.Base.Any.Any -> Standard.Base.Any.Any + - sort self columns:(Standard.Base.Any.Any|Standard.Table.Sort_Column.Sort_Column)= text_ordering:Standard.Base.Data.Text.Text_Ordering.Text_Ordering= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - sort_columns self order:Standard.Base.Data.Sort_Direction.Sort_Direction= text_ordering:Standard.Base.Data.Text.Text_Ordering.Text_Ordering= -> Standard.Table.Table.Table + - split_to_columns self column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer) delimiter:Standard.Base.Data.Text.Text= column_count:Standard.Table.Columns_To_Add.Columns_To_Add= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Table.Table.Table + - split_to_rows self column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer) delimiter:Standard.Base.Data.Text.Text= -> Standard.Table.Table.Table + - take self range:(Standard.Base.Data.Index_Sub_Range.Index_Sub_Range|Standard.Base.Data.Range.Range|Standard.Base.Data.Numbers.Integer)= -> Standard.Table.Table.Table + - text_cleanse self from:(Standard.Base.Data.Vector.Vector Standard.Base.Any.Any) remove:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Regex.Named_Pattern.Named_Pattern)= -> Standard.Table.Table.Table + - text_replace self columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex|Standard.Table.Value_Type.By_Type) term:(Standard.Base.Data.Text.Text|Standard.Table.Column.Column|Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression|Standard.Base.Data.Text.Regex.Regex)= new_text:(Standard.Base.Data.Text.Text|Standard.Table.Column.Column|Standard.Table.Column_Ref.Column_Ref|Standard.Table.Expression.Expression)= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= only_first:Standard.Base.Data.Boolean.Boolean= -> Standard.Table.Table.Table + - to_csv self -> Standard.Base.Data.Text.Text + - to_delimited self format:Standard.Table.Delimited.Delimited_Format.Delimited_Format= -> Standard.Base.Data.Text.Text + - to_js_object self -> Standard.Base.Any.Any + - to_xml self element_columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= attribute_columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= value_column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Nothing.Nothing)= root_name:Standard.Base.Data.Text.Text= row_name:Standard.Base.Data.Text.Text= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Data.XML.XML_Document + - tokenize_to_columns self column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer) pattern:Standard.Base.Data.Text.Text= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= column_count:Standard.Table.Columns_To_Add.Columns_To_Add= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Table.Table.Table + - tokenize_to_rows self column:(Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer) pattern:Standard.Base.Data.Text.Text= case_sensitivity:Standard.Base.Data.Text.Case_Sensitivity.Case_Sensitivity= at_least_one_row:Standard.Base.Data.Boolean.Boolean= -> Standard.Table.Table.Table + - transpose self key_columns:(Standard.Base.Any.Any|Standard.Base.Data.Text.Text|Standard.Base.Data.Numbers.Integer|Standard.Base.Data.Text.Regex.Regex)= attribute_column_name:Standard.Base.Data.Text.Text= value_column_name:Standard.Base.Data.Text.Text= error_on_missing_columns:Standard.Base.Data.Boolean.Boolean= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - union self tables:(Standard.Table.Table.Table|Standard.Base.Data.Vector.Vector) columns_to_keep:Standard.Table.Columns_To_Keep.Columns_To_Keep= match_columns:Standard.Table.Match_Columns.Match_Columns= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Table.Table.Table + - use_first_row_as_names self on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Table.Table.Table + - write self path:Standard.Base.System.File.Generic.Writable_File.Writable_File format:Standard.Base.Any.Any= on_existing_file:Standard.Base.System.File.Existing_File_Behavior.Existing_File_Behavior= match_columns:Standard.Table.Match_Columns.Match_Columns= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Base.Any.Any + - zip self right:Standard.Table.Table.Table= keep_unmatched:(Standard.Base.Data.Boolean.Boolean|Standard.Table.Constants.Report_Unmatched)= right_prefix:Standard.Base.Data.Text.Text= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Table.Table.Table +- from_java_table java_table:Standard.Base.Any.Any -> Standard.Table.Table.Table +- make_fill_nothing_default_widget table:Standard.Base.Any.Any cache:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- make_join_helpers left_table:Standard.Base.Any.Any right_table:Standard.Base.Any.Any -> Standard.Base.Any.Any +- slice_ranges table:Standard.Base.Any.Any ranges:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Table.Table.Table.from that:Standard.Table.Column.Column -> Standard.Table.Table.Table +- Standard.Table.Table.Table.from that:Standard.Base.Data.Text.Text format:Standard.Base.Any.Any= on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior= -> Standard.Table.Table.Table +- Standard.Table.Table.Table.from that:Standard.Base.Data.Vector.Vector fields:(Standard.Base.Data.Vector.Vector|Standard.Base.Nothing.Nothing)= -> Standard.Table.Table.Table +- Standard.Table.Table.Table.from that:Standard.Base.Data.Json.JS_Object fields:(Standard.Base.Data.Vector.Vector|Standard.Base.Nothing.Nothing)= -> Standard.Table.Table.Table +- Standard.Table.Table.Table.from that:Standard.Base.Data.Range.Range name:Standard.Base.Data.Text.Text= -> Standard.Table.Table.Table +- Standard.Table.Table.Table.from that:Standard.Base.Data.Time.Date_Range.Date_Range name:Standard.Base.Data.Text.Text= -> Standard.Table.Table.Table +- Standard.Table.Table.Table.from that:Standard.Base.Data.XML.XML_Element -> Standard.Table.Table.Table +- Standard.Table.Table.Table.from that:Standard.Base.Data.XML.XML_Document -> Standard.Table.Table.Table +- Standard.Base.Data.Read.Many_Files_List.Many_Files_List.from that:Standard.Table.Table.Table -> Standard.Base.Data.Read.Many_Files_List.Many_Files_List diff --git a/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Value_Type.md b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Value_Type.md new file mode 100644 index 000000000000..23eac97a66f9 --- /dev/null +++ b/distribution/lib/Standard/Table/0.0.0-dev/docs/api/Value_Type.md @@ -0,0 +1,59 @@ +## Enso Signatures 1.0 +## module Standard.Table.Value_Type +- type Auto +- type Bits + - Bits_16 + - Bits_32 + - Bits_64 + - from_integer bits:Standard.Base.Any.Any -> Standard.Base.Any.Any + - to_integer self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Any.Any +- type Bits_Comparator + - compare x:Standard.Base.Any.Any y:Standard.Base.Any.Any -> Standard.Base.Any.Any + - hash x:Standard.Base.Any.Any -> Standard.Base.Any.Any +- type By_Type + - By_Type type:Standard.Table.Value_Type.Value_Type +- type Value_Type + - Binary size:(Standard.Base.Data.Numbers.Integer|Standard.Base.Nothing.Nothing)= variable_length:Standard.Base.Data.Boolean.Boolean= + - Boolean + - Byte + - Char size:(Standard.Base.Data.Numbers.Positive_Integer|Standard.Base.Nothing.Nothing)= variable_length:Standard.Base.Data.Boolean.Boolean= + - Date + - Date_Time with_timezone:Standard.Base.Data.Boolean.Boolean= + - Decimal precision:(Standard.Base.Data.Numbers.Integer|Standard.Base.Nothing.Nothing)= scale:(Standard.Base.Data.Numbers.Integer|Standard.Base.Nothing.Nothing)= + - Float size:Standard.Table.Value_Type.Bits= + - Integer size:Standard.Table.Value_Type.Bits= + - Mixed + - Null + - Time + - Unsupported_Data_Type type_name:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= underlying_type:(Standard.Base.Any.Any|Standard.Base.Nothing.Nothing)= + - are_comparable type_1:Standard.Base.Any.Any type_2:Standard.Base.Any.Any -> Standard.Base.Any.Any + - can_be_widened_to self target_type:Standard.Base.Any.Any -> Standard.Base.Any.Any + - expect_boolean argument:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any + - expect_comparable arg1:Standard.Base.Any.Any arg2:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any + - expect_floating_point argument:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any + - expect_has_date argument:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any + - expect_has_time argument:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any + - expect_integer argument:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any + - expect_numeric argument:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any + - expect_text argument:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any + - expect_type value:Standard.Base.Any.Any predicate:Standard.Base.Any.Any type_kind:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any + - has_date self -> Standard.Base.Any.Any + - has_ordering self -> Standard.Base.Any.Any + - has_time self -> Standard.Base.Any.Any + - is_boolean self -> Standard.Base.Any.Any + - is_date self -> Standard.Base.Any.Any + - is_date_or_time self -> Standard.Base.Any.Any + - is_date_time self -> Standard.Base.Any.Any + - is_decimal self -> Standard.Base.Any.Any + - is_floating_point self -> Standard.Base.Any.Any + - is_integer self -> Standard.Base.Any.Any + - is_null self -> Standard.Base.Any.Any + - is_numeric self -> Standard.Base.Any.Any + - is_same_type self other:Standard.Table.Value_Type.Value_Type -> Standard.Base.Any.Any + - is_text self -> Standard.Base.Any.Any + - is_time self -> Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any + - to_js_object self -> Standard.Base.Any.Any + - to_name self -> Standard.Base.Any.Any +- Standard.Base.Data.Ordering.Comparable.from that:Standard.Table.Value_Type.Bits -> Standard.Base.Data.Ordering.Comparable diff --git a/distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Hyper_Column.md b/distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Hyper_Column.md new file mode 100644 index 000000000000..660bba495fa6 --- /dev/null +++ b/distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Hyper_Column.md @@ -0,0 +1,6 @@ +## Enso Signatures 1.0 +## module Standard.Tableau.Hyper_Column +- type Hyper_Column + - Value name:Standard.Base.Data.Text.Text value_type:Standard.Table.Value_Type.Value_Type nullable:Standard.Base.Data.Boolean.Boolean + - to_display_text self -> Standard.Base.Any.Any + - to_js_object self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Hyper_Errors.md b/distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Hyper_Errors.md new file mode 100644 index 000000000000..1ae93b5f8194 --- /dev/null +++ b/distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Hyper_Errors.md @@ -0,0 +1,6 @@ +## Enso Signatures 1.0 +## module Standard.Tableau.Hyper_Errors +- type Hyper_Table_Not_Found + - Error schema:Standard.Base.Data.Text.Text name:Standard.Base.Data.Text.Text +- type Query_Failed + - Error message:Standard.Base.Data.Text.Text query:Standard.Base.Data.Text.Text diff --git a/distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Hyper_File.md b/distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Hyper_File.md new file mode 100644 index 000000000000..d5173be7cca1 --- /dev/null +++ b/distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Hyper_File.md @@ -0,0 +1,11 @@ +## Enso Signatures 1.0 +## module Standard.Tableau.Hyper_File +- type Hyper_File + - new file:Standard.Base.System.File.File schema:Standard.Base.Data.Text.Text= -> Standard.Base.Any.Any + - read self table:Standard.Base.Data.Text.Text schema:Standard.Base.Data.Text.Text= limit:Standard.Table.Rows_To_Read.Rows_To_Read= -> Standard.Base.Any.Any + - schema self -> Standard.Base.Any.Any + - schemas self -> Standard.Base.Any.Any + - set_schema self schema:Standard.Base.Any.Any -> Standard.Base.Any.Any + - tables self schema:Standard.Base.Data.Text.Text= -> Standard.Base.Any.Any +- make_schema_selector hyper_file:Standard.Tableau.Hyper_File.Hyper_File include_any:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any +- make_table_selector hyper_file:Standard.Tableau.Hyper_File.Hyper_File cache:Standard.Base.Any.Any= -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Hyper_Table.md b/distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Hyper_Table.md new file mode 100644 index 000000000000..5d891d7f7c69 --- /dev/null +++ b/distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Hyper_Table.md @@ -0,0 +1,10 @@ +## Enso Signatures 1.0 +## module Standard.Tableau.Hyper_Table +- type Hyper_Table + - column_info self -> Standard.Base.Any.Any + - column_metadata self -> Standard.Base.Any.Any + - read self max_rows:Standard.Table.Rows_To_Read.Rows_To_Read= -> Standard.Base.Any.Any + - schema self -> Standard.Base.Any.Any + - table self -> Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any + - to_js_object self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Main.md b/distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Main.md new file mode 100644 index 000000000000..723827cdcc7f --- /dev/null +++ b/distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Main.md @@ -0,0 +1,2 @@ +## Enso Signatures 1.0 +## module Standard.Tableau.Main diff --git a/distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Tableau_Format.md b/distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Tableau_Format.md new file mode 100644 index 000000000000..0e7cfccf4d98 --- /dev/null +++ b/distribution/lib/Standard/Tableau/0.0.0-dev/docs/api/Tableau_Format.md @@ -0,0 +1,11 @@ +## Enso Signatures 1.0 +## module Standard.Tableau.Tableau_Format +- type Tableau_Format + - Hyper_File schema:Standard.Base.Data.Text.Text= + - for_file_write file:Standard.Base.System.File.Generic.Writable_File.Writable_File -> Standard.Base.Any.Any + - for_read file:Standard.Base.System.File_Format_Metadata.File_Format_Metadata -> Standard.Base.Any.Any + - get_dropdown_options -> Standard.Base.Any.Any + - get_name_patterns -> (Standard.Base.Data.Vector.Vector Standard.Base.System.File_Format.File_Name_Pattern) + - read self file:Standard.Base.Any.Any on_problems:Standard.Base.Errors.Problem_Behavior.Problem_Behavior -> Standard.Base.Any.Any + - read_stream self stream:Standard.Base.System.Input_Stream.Input_Stream metadata:Standard.Base.System.File_Format_Metadata.File_Format_Metadata -> Standard.Base.Any.Any + - resolve constructor:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Bench.md b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Bench.md new file mode 100644 index 000000000000..7c449c606119 --- /dev/null +++ b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Bench.md @@ -0,0 +1,36 @@ +## Enso Signatures 1.0 +## module Standard.Test.Bench +- type Bench + - All groups:(Standard.Base.Data.Vector.Vector Standard.Test.Bench.Bench) + - Group name:Standard.Base.Data.Text.Text configuration:Standard.Test.Bench.Bench_Options specs:(Standard.Base.Data.Vector.Vector Standard.Test.Bench.Bench) + - Spec name:Standard.Base.Data.Text.Text code:Standard.Base.Any.Any + - build fn:Standard.Base.Any.Any -> Standard.Base.Any.Any + - estimated_runtime self -> Standard.Base.Any.Any + - fold self value:Standard.Base.Any.Any fn:Standard.Base.Any.Any -> Standard.Base.Any.Any + - measure label:Standard.Base.Data.Text.Text warmup_conf:Standard.Test.Bench.Phase_Conf measure_conf:Standard.Test.Bench.Phase_Conf ~act:Standard.Base.Any.Any -> Standard.Base.Any.Any + - options -> Standard.Base.Any.Any + - phase_conf iterations:Standard.Base.Any.Any= seconds:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - run_main self filter:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= -> Standard.Base.Any.Any + - run_phase label:Standard.Base.Data.Text.Text phase_name:Standard.Base.Data.Text.Text conf:Standard.Test.Bench.Phase_Conf ~act:Standard.Base.Any.Any -> Standard.Base.Any.Any + - single_call ~act:Standard.Base.Any.Any -> Standard.Base.Any.Any + - summarize_phase label:Standard.Base.Data.Text.Text phase_name:Standard.Base.Data.Text.Text invocations:Standard.Base.Data.Numbers.Integer average_time:Standard.Base.Data.Numbers.Float time_stddev:Standard.Base.Data.Numbers.Float phase_duration:Standard.Base.Data.Time.Duration.Duration -> Standard.Base.Any.Any + - total_specs self -> Standard.Base.Any.Any + - validate self -> Standard.Base.Any.Any +- type Bench_Builder + - Impl builder:Standard.Base.Any.Any + - group self name:Standard.Base.Data.Text.Text configuration:Standard.Test.Bench.Bench_Options fn:Standard.Base.Any.Any -> Standard.Base.Any.Any +- type Bench_Options + - Impl warmup:Standard.Test.Bench.Phase_Conf measure:Standard.Test.Bench.Phase_Conf + - set_measure self meas:Standard.Test.Bench.Phase_Conf -> Standard.Base.Any.Any + - set_warmup self warm:Standard.Test.Bench.Phase_Conf -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Any.Any + - validate self -> Standard.Base.Any.Any +- type Group_Builder + - Impl name:Standard.Base.Any.Any builder:Standard.Base.Any.Any + - specify self name:Standard.Base.Data.Text.Text ~benchmark:Standard.Base.Any.Any -> Standard.Base.Any.Any +- type Phase_Conf + - Impl iterations:Standard.Base.Data.Numbers.Integer seconds:Standard.Base.Data.Numbers.Integer + - to_text self -> Standard.Base.Any.Any + - validate self -> Standard.Base.Any.Any +- get_benchmark_report_path -> Standard.Base.Any.Any +- validate_name name:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Execution_Context_Helpers.md b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Execution_Context_Helpers.md new file mode 100644 index 000000000000..1ad2f9b1bbb9 --- /dev/null +++ b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Execution_Context_Helpers.md @@ -0,0 +1,3 @@ +## Enso Signatures 1.0 +## module Standard.Test.Execution_Context_Helpers +- run_with_and_without_output ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Extensions.md b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Extensions.md new file mode 100644 index 000000000000..565b7d0cc1a4 --- /dev/null +++ b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Extensions.md @@ -0,0 +1,66 @@ +## Enso Signatures 1.0 +## module Standard.Test.Extensions +- Standard.Base.Any.Any.should_be_a self typ:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_be_a self typ:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_contain self element:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_contain self element:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_end_with self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_end_with self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_equal self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_equal self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_equal_ignoring_order self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_equal_ignoring_order self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_equal_type self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_equal_type self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_fail_with self matcher:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= unwrap_errors:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_fail_with self matcher:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= unwrap_errors:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_not_contain self element:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_not_contain self element:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_not_equal self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_not_equal self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_not_equal_type self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_not_equal_type self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_only_contain_elements_in self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_only_contain_elements_in self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_start_with self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_start_with self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_succeed self frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.should_succeed self frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Data.Boolean.Boolean.should_be_false self -> Standard.Base.Any.Any +- Standard.Base.Data.Boolean.Boolean.should_be_false self -> Standard.Base.Any.Any +- Standard.Base.Data.Boolean.Boolean.should_be_true self -> Standard.Base.Any.Any +- Standard.Base.Data.Boolean.Boolean.should_be_true self -> Standard.Base.Any.Any +- Standard.Base.Data.Decimal.Decimal.should_equal self that:Standard.Base.Any.Any epsilon:Standard.Base.Any.Any= frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Data.Decimal.Decimal.should_equal self that:Standard.Base.Any.Any epsilon:Standard.Base.Any.Any= frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_be_a self typ:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_be_a self typ:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_be_false self -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_be_false self -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_be_true self -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_be_true self -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_contain self element:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_contain self element:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_end_with self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_end_with self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_equal self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_equal self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_equal_ignoring_order self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_equal_ignoring_order self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_equal_type self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_equal_type self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_fail_with self matcher:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= unwrap_errors:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_fail_with self matcher:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= unwrap_errors:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_not_contain self element:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_not_contain self element:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_not_equal self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_not_equal self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_not_equal_type self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_not_equal_type self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_only_contain_elements_in self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_only_contain_elements_in self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_start_with self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_start_with self that:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_succeed self frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Error.Error.should_succeed self frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Data.Numbers.Number.should_equal self that:Standard.Base.Any.Any epsilon:Standard.Base.Any.Any= frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Data.Numbers.Number.should_equal self that:Standard.Base.Any.Any epsilon:Standard.Base.Any.Any= frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Faker.md b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Faker.md new file mode 100644 index 000000000000..5a8642b76d11 --- /dev/null +++ b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Faker.md @@ -0,0 +1,20 @@ +## Enso Signatures 1.0 +## module Standard.Test.Faker +- type Faker + - Value generator:Standard.Base.Any.Any + - alpha self length:Standard.Base.Any.Any= upper_case:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - alpha_numeric self length:Standard.Base.Any.Any= upper_case:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - boolean self -> Standard.Base.Any.Any + - decimal self bit_length:Standard.Base.Any.Any -> Standard.Base.Any.Any + - digits -> Standard.Base.Any.Any + - float self minimum:Standard.Base.Any.Any= maximum:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - float_full_range_exp self -> Standard.Base.Any.Any + - hexadecimal self length:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - integer self minimum:Standard.Base.Any.Any= maximum:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - large_integer self bit_length:Standard.Base.Any.Any -> Standard.Base.Any.Any + - lower_case_letters -> Standard.Base.Any.Any + - make_some_nothing self value:Standard.Base.Any.Any chance:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - new seed:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - text_value self template:Standard.Base.Any.Any -> Standard.Base.Any.Any + - upper_case_letters -> Standard.Base.Any.Any + - vector_item self items:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Main.md b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Main.md new file mode 100644 index 000000000000..569550f2571a --- /dev/null +++ b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Main.md @@ -0,0 +1,2 @@ +## Enso Signatures 1.0 +## module Standard.Test.Main diff --git a/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Problems.md b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Problems.md new file mode 100644 index 000000000000..42681c90de8c --- /dev/null +++ b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Problems.md @@ -0,0 +1,9 @@ +## Enso Signatures 1.0 +## module Standard.Test.Problems +- assume_no_problems result:Standard.Base.Any.Any -> Standard.Base.Any.Any +- expect_only_warning expected_warning:Standard.Base.Any.Any result:Standard.Base.Any.Any unwrap_errors:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- expect_warning expected_warning:Standard.Base.Any.Any result:Standard.Base.Any.Any unwrap_errors:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- get_attached_warnings v:Standard.Base.Any.Any -> Standard.Base.Any.Any +- not_expect_warning expected_warning_type:Standard.Base.Any.Any result:Standard.Base.Any.Any -> Standard.Base.Any.Any +- test_advanced_problem_handling action:Standard.Base.Any.Any error_checker:Standard.Base.Any.Any warnings_checker:Standard.Base.Any.Any result_checker:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- test_problem_handling action:Standard.Base.Any.Any expected_problems:Standard.Base.Any.Any result_checker:Standard.Base.Any.Any unwrap_errors:Standard.Base.Data.Boolean.Boolean= ignore_warning_cardinality:Standard.Base.Data.Boolean.Boolean= -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Should_Reach.md b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Should_Reach.md new file mode 100644 index 000000000000..3afcfab9e932 --- /dev/null +++ b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Should_Reach.md @@ -0,0 +1,6 @@ +## Enso Signatures 1.0 +## module Standard.Test.Should_Reach +- type Should_Reach + - new -> Standard.Base.Any.Any + - reached self -> Standard.Base.Nothing.Nothing + - should_have_reached self frames_to_skip:Standard.Base.Data.Numbers.Integer= -> Standard.Test.Spec_Result.Spec_Result diff --git a/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Spec_Result.md b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Spec_Result.md new file mode 100644 index 000000000000..a4a02047be1c --- /dev/null +++ b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Spec_Result.md @@ -0,0 +1,10 @@ +## Enso Signatures 1.0 +## module Standard.Test.Spec_Result +- type Spec_Result + - Failure message:Standard.Base.Any.Any details:Standard.Base.Any.Any= + - Pending reason:Standard.Base.Any.Any + - Success + - is_fail self -> Standard.Base.Any.Any + - is_pending self -> Standard.Base.Any.Any + - is_success self -> Standard.Base.Any.Any + - to_display_text self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Suite.md b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Suite.md new file mode 100644 index 000000000000..0dfed0f7b526 --- /dev/null +++ b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Suite.md @@ -0,0 +1,11 @@ +## Enso Signatures 1.0 +## module Standard.Test.Suite +- type Suite + - Impl groups:(Standard.Base.Data.Vector.Vector Standard.Test.Group.Group) + - group_names self -> Standard.Base.Any.Any + - print_all self -> Standard.Base.Any.Any + - run_with_filter self filter:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= should_exit:Standard.Base.Data.Boolean.Boolean= -> (Standard.Base.Data.Boolean.Boolean|Standard.Base.Nothing.Nothing) +- type Suite_Builder + - Impl builder:Standard.Base.Any.Any + - group self name:Standard.Base.Data.Text.Text fn:Standard.Base.Any.Any pending:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing)= -> Standard.Base.Any.Any +- name_matches name:Standard.Base.Data.Text.Text filter:(Standard.Base.Data.Text.Text|Standard.Base.Nothing.Nothing) -> Standard.Base.Data.Boolean.Boolean diff --git a/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Test.md b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Test.md new file mode 100644 index 000000000000..15805f15579e --- /dev/null +++ b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Test.md @@ -0,0 +1,13 @@ +## Enso Signatures 1.0 +## module Standard.Test.Test +- type Test + - assert_no_problems value:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - build fn:Standard.Base.Any.Any -> Standard.Base.Any.Any + - enrich_message_with_clue message:Standard.Base.Any.Any -> Standard.Base.Any.Any + - expect_panic matcher:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any + - expect_panic_with ~action:Standard.Base.Any.Any matcher:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - fail message:Standard.Base.Any.Any details:Standard.Base.Any.Any= -> Standard.Base.Any.Any + - fail_match_on_unexpected_error error:Standard.Base.Any.Any frames_to_skip:Standard.Base.Any.Any -> Standard.Base.Any.Any + - get_source_location skip_frames:Standard.Base.Data.Numbers.Integer -> Standard.Base.Data.Text.Text + - with_clue ~clue:Standard.Base.Any.Any ~behavior:Standard.Base.Any.Any -> Standard.Base.Any.Any + - with_retries ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Test_Environment.md b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Test_Environment.md new file mode 100644 index 000000000000..ee49e1c66a58 --- /dev/null +++ b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Test_Environment.md @@ -0,0 +1,3 @@ +## Enso Signatures 1.0 +## module Standard.Test.Test_Environment +- unsafe_with_environment_override key:Standard.Base.Any.Any value:Standard.Base.Any.Any ~action:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Test_Result.md b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Test_Result.md new file mode 100644 index 000000000000..2b2231b73657 --- /dev/null +++ b/distribution/lib/Standard/Test/0.0.0-dev/docs/api/Test_Result.md @@ -0,0 +1,8 @@ +## Enso Signatures 1.0 +## module Standard.Test.Test_Result +- type Test_Result + - Impl group_name:Standard.Base.Data.Text.Text spec_name:Standard.Base.Data.Text.Text spec_result:Standard.Test.Spec_Result.Spec_Result time_taken:Standard.Base.Data.Time.Duration.Duration + - is_fail self -> Standard.Base.Any.Any + - is_pending self -> Standard.Base.Any.Any + - is_success self -> Standard.Base.Any.Any + - to_text self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/AI.md b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/AI.md new file mode 100644 index 000000000000..c59b9def1e02 --- /dev/null +++ b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/AI.md @@ -0,0 +1,7 @@ +## Enso Signatures 1.0 +## module Standard.Visualization.AI +- build_ai_prompt subject:Standard.Base.Any.Any -> Standard.Base.Any.Any +- goal_placeholder -> Standard.Base.Any.Any +- print subject:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Table.Table.Table.build_ai_prompt self -> Standard.Base.Any.Any +- Standard.Table.Table.Table.build_ai_prompt self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/File_Upload.md b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/File_Upload.md new file mode 100644 index 000000000000..36f52c4ca9c0 --- /dev/null +++ b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/File_Upload.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Visualization.File_Upload +- type File_Being_Uploaded + - Value file_path:Standard.Base.Data.Text.Text +- file_uploading path:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Geo_Map.md b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Geo_Map.md new file mode 100644 index 000000000000..e571ec7e06a8 --- /dev/null +++ b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Geo_Map.md @@ -0,0 +1,4 @@ +## Enso Signatures 1.0 +## module Standard.Visualization.Geo_Map +- json_from_table table:Standard.Base.Any.Any -> Standard.Base.Any.Any +- process_to_json_text value:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Helpers.md b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Helpers.md new file mode 100644 index 000000000000..40e367447089 --- /dev/null +++ b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Helpers.md @@ -0,0 +1,62 @@ +## Enso Signatures 1.0 +## module Standard.Visualization.Helpers +- make_lazy_visualization_data text:Standard.Base.Any.Any text_window_position:Standard.Base.Any.Any text_window_size:Standard.Base.Any.Any chunk_size:Standard.Base.Any.Any -> Standard.Base.Any.Any +- render_vector object:Standard.Base.Any.Any depth:Standard.Base.Any.Any= max_depth:Standard.Base.Any.Any= max_length:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- truncate message:Standard.Base.Any.Any max_length:Standard.Base.Any.Any= suffix:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Base.Any.Any.catch_ self ~val:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Any.Any.catch_ self ~val:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Any.Any.default_visualization self -> Standard.Base.Any.Any +- Standard.Base.Any.Any.default_visualization self -> Standard.Base.Any.Any +- Standard.Base.Any.Any.is_valid self -> Standard.Base.Any.Any +- Standard.Base.Any.Any.is_valid self -> Standard.Base.Any.Any +- Standard.Base.Any.Any.map_valid self f:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Any.Any.map_valid self f:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Any.Any.to_default_visualization_data self -> Standard.Base.Any.Any +- Standard.Base.Any.Any.to_default_visualization_data self -> Standard.Base.Any.Any +- Standard.Base.Any.Any.to_lazy_visualization_data self text_window_position:Standard.Base.Any.Any text_window_size:Standard.Base.Any.Any chunk_size:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Any.Any.to_lazy_visualization_data self text_window_position:Standard.Base.Any.Any text_window_size:Standard.Base.Any.Any chunk_size:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Any.Any.when_valid self ~val:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Any.Any.when_valid self ~val:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Data.Array.Array.default_visualization self -> Standard.Base.Any.Any +- Standard.Base.Data.Array.Array.default_visualization self -> Standard.Base.Any.Any +- Standard.Base.Data.Array.Array.to_default_visualization_data self -> Standard.Base.Any.Any +- Standard.Base.Data.Array.Array.to_default_visualization_data self -> Standard.Base.Any.Any +- Standard.Table.Column.Column.default_visualization self -> Standard.Base.Any.Any +- Standard.Table.Column.Column.default_visualization self -> Standard.Base.Any.Any +- Standard.Table.Column.Column.is_numeric self -> Standard.Base.Any.Any +- Standard.Table.Column.Column.is_numeric self -> Standard.Base.Any.Any +- Standard.Table.Column.Column.to_default_visualization_data self -> Standard.Base.Any.Any +- Standard.Table.Column.Column.to_default_visualization_data self -> Standard.Base.Any.Any +- Standard.Base.Error.Error.catch_ self ~val:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Error.Error.catch_ self ~val:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Error.Error.is_valid self -> Standard.Base.Any.Any +- Standard.Base.Error.Error.is_valid self -> Standard.Base.Any.Any +- Standard.Base.Error.Error.map_valid self f:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Error.Error.map_valid self f:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Error.Error.to_default_visualization_data self -> Standard.Base.Any.Any +- Standard.Base.Error.Error.to_default_visualization_data self -> Standard.Base.Any.Any +- Standard.Base.Error.Error.when_valid self ~val:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Error.Error.when_valid self ~val:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Data.Json.JS_Object.default_visualization self -> Standard.Base.Any.Any +- Standard.Base.Data.Json.JS_Object.default_visualization self -> Standard.Base.Any.Any +- Standard.Base.Nothing.Nothing.to_default_visualization_data self -> Standard.Base.Any.Any +- Standard.Table.Row.Row.default_visualization self -> Standard.Base.Any.Any +- Standard.Table.Row.Row.default_visualization self -> Standard.Base.Any.Any +- Standard.Table.Row.Row.to_default_visualization_data self -> Standard.Base.Any.Any +- Standard.Table.Row.Row.to_default_visualization_data self -> Standard.Base.Any.Any +- Standard.Table.Table.Table.default_visualization self -> Standard.Base.Any.Any +- Standard.Table.Table.Table.default_visualization self -> Standard.Base.Any.Any +- Standard.Table.Table.Table.lookup_ignore_case self name:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Table.Table.Table.lookup_ignore_case self name:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Table.Table.Table.to_default_visualization_data self -> Standard.Base.Any.Any +- Standard.Table.Table.Table.to_default_visualization_data self -> Standard.Base.Any.Any +- Standard.Table.Table.Table.to_lazy_visualization_data self table_cell_position:Standard.Base.Any.Any text_window_position:Standard.Base.Any.Any text_window_size:Standard.Base.Any.Any chunk_size:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Table.Table.Table.to_lazy_visualization_data self table_cell_position:Standard.Base.Any.Any text_window_position:Standard.Base.Any.Any text_window_size:Standard.Base.Any.Any chunk_size:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Data.Text.Text.to_default_visualization_data self -> Standard.Base.Any.Any +- Standard.Base.Data.Text.Text.to_default_visualization_data self -> Standard.Base.Any.Any +- Standard.Base.Data.Text.Text.to_lazy_visualization_data self text_window_position:Standard.Base.Any.Any text_window_size:Standard.Base.Any.Any chunk_size:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Data.Text.Text.to_lazy_visualization_data self text_window_position:Standard.Base.Any.Any text_window_size:Standard.Base.Any.Any chunk_size:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Data.Vector.Vector.default_visualization self -> Standard.Base.Any.Any +- Standard.Base.Data.Vector.Vector.default_visualization self -> Standard.Base.Any.Any +- Standard.Base.Data.Vector.Vector.to_default_visualization_data self -> Standard.Base.Any.Any +- Standard.Base.Data.Vector.Vector.to_default_visualization_data self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Histogram.md b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Histogram.md new file mode 100644 index 000000000000..bf24ef7ba55b --- /dev/null +++ b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Histogram.md @@ -0,0 +1,11 @@ +## Enso Signatures 1.0 +## module Standard.Visualization.Histogram +- type Update + - Value values:Standard.Base.Any.Any label:Standard.Base.Any.Any + - to_js_object self -> Standard.Base.Any.Any +- from_table table:Standard.Base.Any.Any -> Standard.Base.Any.Any +- from_value value:Standard.Base.Any.Any -> Standard.Base.Any.Any +- from_vector vector:Standard.Base.Any.Any -> Standard.Base.Any.Any +- process_to_json_text value:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Table.Table.Table.first_numeric self -> Standard.Base.Any.Any +- Standard.Table.Table.Table.value_column self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Id.md b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Id.md new file mode 100644 index 000000000000..6d5bf5e7cf8b --- /dev/null +++ b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Id.md @@ -0,0 +1,15 @@ +## Enso Signatures 1.0 +## module Standard.Visualization.Id +- type Id + - Builtin name:Standard.Base.Any.Any + - Library project:Standard.Base.Any.Any name:Standard.Base.Any.Any + - from_module module:Standard.Base.Any.Any visualization_name:Standard.Base.Any.Any -> Standard.Base.Any.Any + - geo_map -> Standard.Base.Any.Any + - heatmap -> Standard.Base.Any.Any + - histogram -> Standard.Base.Any.Any + - image -> Standard.Base.Any.Any + - json -> Standard.Base.Any.Any + - scatter_plot -> Standard.Base.Any.Any + - sql_query -> Standard.Base.Any.Any + - table -> Standard.Base.Any.Any + - to_js_object self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Main.md b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Main.md new file mode 100644 index 000000000000..667d85367c96 --- /dev/null +++ b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Main.md @@ -0,0 +1,2 @@ +## Enso Signatures 1.0 +## module Standard.Visualization.Main diff --git a/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Preprocessor.md b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Preprocessor.md new file mode 100644 index 000000000000..65653a674f1b --- /dev/null +++ b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Preprocessor.md @@ -0,0 +1,5 @@ +## Enso Signatures 1.0 +## module Standard.Visualization.Preprocessor +- default_preprocessor x:Standard.Base.Any.Any -> Standard.Base.Any.Any +- error_preprocessor x:Standard.Base.Any.Any -> Standard.Base.Any.Any +- lazy_preprocessor x:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/SQL/Visualization.md b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/SQL/Visualization.md new file mode 100644 index 000000000000..0e2696d5af0f --- /dev/null +++ b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/SQL/Visualization.md @@ -0,0 +1,3 @@ +## Enso Signatures 1.0 +## module Standard.Visualization.SQL.Visualization +- prepare_visualization x:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Scatter_Plot.md b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Scatter_Plot.md new file mode 100644 index 000000000000..b352d6315d36 --- /dev/null +++ b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Scatter_Plot.md @@ -0,0 +1,37 @@ +## Enso Signatures 1.0 +## module Standard.Visualization.Scatter_Plot +- type Extreme + - Value min_x:Standard.Base.Any.Any max_x:Standard.Base.Any.Any min_y:Standard.Base.Any.Any max_y:Standard.Base.Any.Any +- type No_Fallback_Column + - to_display_text self -> Standard.Base.Any.Any +- type Point_Data + - Color + - Label + - Row_Number + - Shape + - Size + - X + - Y + - Y_multi number:Standard.Base.Data.Numbers.Integer= + - all_fields -> Standard.Base.Any.Any + - fallback_column self table:Standard.Base.Any.Any -> Standard.Base.Any.Any + - iota count:Standard.Base.Any.Any -> Standard.Base.Any.Any + - is_recognized self column:Standard.Base.Any.Any -> Standard.Base.Any.Any + - lookup_in self table:Standard.Base.Any.Any -> Standard.Base.Any.Any + - name self -> Standard.Base.Any.Any + - recognized_names -> Standard.Base.Any.Any +- axis_field -> Standard.Base.Any.Any +- bound_data bounds:Standard.Base.Any.Any data:Standard.Base.Any.Any -> Standard.Base.Any.Any +- data_field -> Standard.Base.Any.Any +- get_axes_field number_of_numeric:Standard.Base.Any.Any -> Standard.Base.Any.Any +- get_x_value_type table:Standard.Base.Any.Any -> Standard.Base.Any.Any +- index_name -> Standard.Base.Any.Any +- json_from_table table:Standard.Base.Any.Any bounds:Standard.Base.Any.Any limit:Standard.Base.Any.Any -> Standard.Base.Any.Any +- json_from_vector vec:Standard.Base.Any.Any bounds:Standard.Base.Any.Any limit:Standard.Base.Any.Any -> Standard.Base.Any.Any +- label_field -> Standard.Base.Any.Any +- limit_data limit:Standard.Base.Any.Any data:Standard.Base.Any.Any -> Standard.Base.Any.Any +- process_to_json_text value:Standard.Base.Any.Any bounds:Standard.Base.Any.Any= limit:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- Standard.Table.Table.Table.axes self all_fields:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Table.Table.Table.numeric_column_count self -> Standard.Base.Any.Any +- Standard.Table.Table.Table.point_data self all_fields:Standard.Base.Any.Any -> Standard.Base.Any.Any +- Standard.Base.Data.Vector.Vector.point_data self -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Table.md b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Table.md new file mode 100644 index 000000000000..f5fda2865ea3 --- /dev/null +++ b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Table.md @@ -0,0 +1,22 @@ +## Enso Signatures 1.0 +## module Standard.Visualization.Table +- type Table_Specification_Update + - Value row_heights:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Numbers.Number) column_widths:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Numbers.Number) column_names:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) row_names:(Standard.Base.Data.Vector.Vector Standard.Base.Data.Text.Text) +- type Table_Update + - Value chunks:Standard.Base.Any.Any table_specification_update:Standard.Base.Any.Any + - to_json self -> Standard.Base.Any.Any +- compute_table_update table:Standard.Base.Any.Any table_cell_position:Standard.Base.Any.Any text_window_position:Standard.Base.Any.Any text_window_size:Standard.Base.Any.Any chunk_size:Standard.Base.Any.Any -> Standard.Base.Any.Any +- compute_vertical_indices table:Standard.Base.Any.Any start_row:Standard.Base.Any.Any end_row:Standard.Base.Any.Any start_line:Standard.Base.Any.Any lines_to_get:Standard.Base.Any.Any -> Standard.Base.Any.Any +- enumerate vector:Standard.Base.Any.Any -> Standard.Base.Any.Any +- find_end_column table:Standard.Base.Any.Any start_column_ix:Standard.Base.Any.Any chunks:Standard.Base.Any.Any chunk_size:Standard.Base.Any.Any -> Standard.Base.Any.Any +- find_end_row table:Standard.Base.Any.Any start_row_ix:Standard.Base.Any.Any max_height:Standard.Base.Any.Any -> Standard.Base.Any.Any +- find_first_over_cum_sum items:Standard.Base.Any.Any target:Standard.Base.Any.Any -> Standard.Base.Any.Any +- fold_map acc:Standard.Base.Any.Any f:Standard.Base.Any.Any iterable:Standard.Base.Any.Any -> Standard.Base.Any.Any +- fold_map_inner f:Standard.Base.Any.Any acc:Standard.Base.Any.Any item:Standard.Base.Any.Any -> Standard.Base.Any.Any +- get_chunks_for_row table:Standard.Base.Any.Any row_ix:Standard.Base.Any.Any line_ix:Standard.Base.Any.Any initial_chunk_offset:Standard.Base.Any.Any column_range:Standard.Base.Any.Any chunk_size:Standard.Base.Any.Any chunks_to_get:Standard.Base.Any.Any -> Standard.Base.Any.Any +- get_column_width column:Standard.Base.Any.Any -> Standard.Base.Any.Any +- get_lazy_visualization_data table:Standard.Base.Any.Any table_cell_position:Standard.Base.Any.Any text_window_position:Standard.Base.Any.Any text_window_size:Standard.Base.Any.Any chunk_size:Standard.Base.Any.Any -> Standard.Base.Any.Any +- get_longest_line text:Standard.Base.Any.Any -> Standard.Base.Any.Any +- get_row_height table:Standard.Base.Any.Any row_ix:Standard.Base.Any.Any -> Standard.Base.Any.Any +- map_to_cumulative_sum iterable:Standard.Base.Any.Any -> Standard.Base.Any.Any +- max vector:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Table/Visualization.md b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Table/Visualization.md new file mode 100644 index 000000000000..0c3e6739aed4 --- /dev/null +++ b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Table/Visualization.md @@ -0,0 +1,15 @@ +## Enso Signatures 1.0 +## module Standard.Visualization.Table.Visualization +- make_json_for_dictionary dict:Standard.Base.Any.Any max_items:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_json_for_error error:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_json_for_js_object js_object:Standard.Base.Any.Any max_items:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_json_for_matrix current:Standard.Base.Any.Any vector:Standard.Base.Any.Any idx:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- make_json_for_object_matrix current:Standard.Base.Any.Any vector:Standard.Base.Any.Any idx:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- make_json_for_other x:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_json_for_row row:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_json_for_table dataframe:Standard.Base.Any.Any max_rows:Standard.Base.Any.Any all_rows_count:Standard.Base.Any.Any include_index_col:Standard.Base.Any.Any is_db_table:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_json_for_value val:Standard.Base.Any.Any level:Standard.Base.Any.Any= -> Standard.Base.Any.Any +- make_json_for_vector vector:Standard.Base.Any.Any max_rows:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_json_for_xml_element xml_element:Standard.Base.Any.Any max_items:Standard.Base.Any.Any type:Standard.Base.Data.Text.Text= -> Standard.Base.Any.Any +- max_columns -> Standard.Base.Any.Any +- prepare_visualization y:Standard.Base.Any.Any max_rows:Standard.Base.Any.Any= -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Text.md b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Text.md new file mode 100644 index 000000000000..0b73dc927a78 --- /dev/null +++ b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Text.md @@ -0,0 +1,9 @@ +## Enso Signatures 1.0 +## module Standard.Visualization.Text +- type Message + - Value chunks:Standard.Base.Any.Any line_count:Standard.Base.Any.Any max_line_length:Standard.Base.Any.Any + - to_json self -> Standard.Base.Any.Any +- get_chunk_from_line text:Standard.Base.Any.Any chunk_size:Standard.Base.Any.Any ix:Standard.Base.Any.Any -> Standard.Base.Any.Any +- get_item_from text:Standard.Base.Any.Any chunk_size:Standard.Base.Any.Any index:Standard.Base.Any.Any -> Standard.Base.Any.Any +- get_lazy_visualization_text_window text:Standard.Base.Any.Any pos:Standard.Base.Any.Any size:Standard.Base.Any.Any chunk_width:Standard.Base.Any.Any -> Standard.Base.Any.Any +- make_grid_visualization_response chunks:Standard.Base.Any.Any lines:Standard.Base.Any.Any max_line_length:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Warnings.md b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Warnings.md new file mode 100644 index 000000000000..13c05634086a --- /dev/null +++ b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Warnings.md @@ -0,0 +1,3 @@ +## Enso Signatures 1.0 +## module Standard.Visualization.Warnings +- process_to_json_text value:Standard.Base.Any.Any -> Standard.Base.Any.Any diff --git a/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Widgets.md b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Widgets.md new file mode 100644 index 000000000000..5f1c8571e498 --- /dev/null +++ b/distribution/lib/Standard/Visualization/0.0.0-dev/docs/api/Widgets.md @@ -0,0 +1,3 @@ +## Enso Signatures 1.0 +## module Standard.Visualization.Widgets +- get_widget_json value:Standard.Base.Any.Any call_name:Standard.Base.Any.Any argument_names:Standard.Base.Any.Any uuids:Standard.Base.Any.Any= -> Standard.Base.Any.Any From e74db0bd7d382a1fab1f7b74b13fea0a6abf3bd2 Mon Sep 17 00:00:00 2001 From: Jaroslav Tulach Date: Mon, 24 Feb 2025 17:04:30 +0100 Subject: [PATCH 4/4] Removing volatile and synchronization in Text (#12295) --- .../runtime/data/text/ConcatRope.java | 32 ----- .../interpreter/runtime/data/text/Text.java | 130 +++++++----------- 2 files changed, 49 insertions(+), 113 deletions(-) delete mode 100644 engine/runtime/src/main/java/org/enso/interpreter/runtime/data/text/ConcatRope.java diff --git a/engine/runtime/src/main/java/org/enso/interpreter/runtime/data/text/ConcatRope.java b/engine/runtime/src/main/java/org/enso/interpreter/runtime/data/text/ConcatRope.java deleted file mode 100644 index 9c21f1b50fd7..000000000000 --- a/engine/runtime/src/main/java/org/enso/interpreter/runtime/data/text/ConcatRope.java +++ /dev/null @@ -1,32 +0,0 @@ -package org.enso.interpreter.runtime.data.text; - -/** Represents a concatenation of two text values. */ -public class ConcatRope { - private final Object left; - private final Object right; - - /** - * Creates a new rope concatenating the arguments. - * - * @param left the left operand - * @param right the right operand - */ - public ConcatRope(Object left, Object right) { - this.left = left; - this.right = right; - } - - /** - * @return the left operand of this concatenation. - */ - public Object getLeft() { - return left; - } - - /** - * @return the right operand of this concatenation. - */ - public Object getRight() { - return right; - } -} diff --git a/engine/runtime/src/main/java/org/enso/interpreter/runtime/data/text/Text.java b/engine/runtime/src/main/java/org/enso/interpreter/runtime/data/text/Text.java index f0775b00d9f7..119fbf71acbd 100644 --- a/engine/runtime/src/main/java/org/enso/interpreter/runtime/data/text/Text.java +++ b/engine/runtime/src/main/java/org/enso/interpreter/runtime/data/text/Text.java @@ -1,5 +1,12 @@ package org.enso.interpreter.runtime.data.text; +import java.util.ArrayDeque; + +import org.enso.interpreter.dsl.Builtin; +import org.enso.interpreter.node.expression.builtin.text.util.ToJavaStringNode; +import org.enso.interpreter.runtime.builtin.BuiltinObject; +import org.enso.polyglot.common_utils.Core_Text_Utils; + import com.ibm.icu.text.Normalizer2; import com.oracle.truffle.api.CompilerDirectives; import com.oracle.truffle.api.dsl.Cached; @@ -8,29 +15,14 @@ import com.oracle.truffle.api.library.ExportMessage; import com.oracle.truffle.api.strings.TruffleString; import com.oracle.truffle.api.strings.TruffleString.Encoding; -import java.util.ArrayDeque; -import java.util.Deque; -import java.util.concurrent.locks.Lock; -import java.util.concurrent.locks.ReentrantLock; -import org.enso.interpreter.dsl.Builtin; -import org.enso.interpreter.node.expression.builtin.text.util.ToJavaStringNode; -import org.enso.interpreter.runtime.builtin.BuiltinObject; -import org.enso.polyglot.common_utils.Core_Text_Utils; -/** The main runtime type for Enso's Text. */ +/** Runtime representation of Enso's Text. */ @ExportLibrary(InteropLibrary.class) public final class Text extends BuiltinObject { - private static final Lock LOCK = new ReentrantLock(); private static final Text EMPTY = new Text(""); - private volatile Object contents; - private volatile int length = -1; - private volatile FcdNormalized fcdNormalized = FcdNormalized.UNKNOWN; - - private enum FcdNormalized { - YES, - NO, - UNKNOWN - } + private Object contents; + private int length = -1; + private byte fcdNormalized; private Text(String string) { assert string != null; @@ -65,10 +57,10 @@ protected String builtinName() { public long length() { int l = length; if (l == -1) { - l = computeLength(); - length = l; + return computeAndSetLength(); + } else { + return l; } - return l; } @Builtin.Method( @@ -81,23 +73,19 @@ public long length() { "14.95€".is_normalized """) - @CompilerDirectives.TruffleBoundary public boolean is_normalized() { - switch (fcdNormalized) { - case YES -> { - return true; - } - case NO -> { - return false; - } - case UNKNOWN -> { + return switch (fcdNormalized) { + case 1 -> true; + case -1 -> false; + case 0 -> { + CompilerDirectives.transferToInterpreter(); Normalizer2 normalizer = Normalizer2.getNFDInstance(); boolean isNormalized = normalizer.isNormalized(toString()); - setFcdNormalized(isNormalized); - return isNormalized; + fcdNormalized = (byte) (isNormalized ? 1 : -1); + yield isNormalized; } - } - return false; + default -> false; + }; } public static Text empty() { @@ -194,8 +182,10 @@ TruffleString asTruffleString(@Cached TruffleString.FromJavaStringNode fromJavaS } @CompilerDirectives.TruffleBoundary - private int computeLength() { - return Core_Text_Utils.computeGraphemeLength(toString()); + private int computeAndSetLength() { + var l = Core_Text_Utils.computeGraphemeLength(toString()); + length = l; + return l; } @Override @@ -213,63 +203,39 @@ String toDisplayString( return Core_Text_Utils.prettyPrint(str); } - private void setContents(String contents) { - assert length == -1 || length == contents.length(); - this.contents = contents; - } - - private void setFcdNormalized(boolean flag) { - if (flag) { - fcdNormalized = FcdNormalized.YES; - } else { - fcdNormalized = FcdNormalized.NO; - } - } - @Override public String toString() { - Object c = this.contents; - if (c instanceof String s) { - return s; - } else { - return flattenIfNecessary(this); - } + return switch (this.contents) { + case String s -> s; + case ConcatRope r -> flattenAndSetContent(r); + case null, default -> throw new NullPointerException(); + }; } /** * Converts text to a Java String. For use outside of Truffle Nodes. * - * @param text the text to convert. + * @param c the content to flatten * @return the result of conversion. */ @CompilerDirectives.TruffleBoundary - private static String flattenIfNecessary(Text text) { - LOCK.lock(); - String result; - try { - Object c = text.contents; - if (c instanceof String s) { - result = s; - } else { - Deque workStack = new ArrayDeque<>(); - StringBuilder bldr = new StringBuilder(); - workStack.push(c); - while (!workStack.isEmpty()) { - Object item = workStack.pop(); - if (item instanceof String) { - bldr.append((String) item); - } else { - ConcatRope rope = (ConcatRope) item; - workStack.push(rope.getRight()); - workStack.push(rope.getLeft()); + private String flattenAndSetContent(Object c) { + var workStack = new ArrayDeque(); + StringBuilder bldr = new StringBuilder(); + workStack.push(c); + while (!workStack.isEmpty()) { + switch (workStack.pop()) { + case String s -> bldr.append(s); + case ConcatRope rope -> { + workStack.push(rope.right()); + workStack.push(rope.left()); } - } - result = bldr.toString(); - text.setContents(result); + case null, default -> throw new NullPointerException(); } - } finally { - LOCK.unlock(); } + var result = bldr.toString(); + assert length == -1 || length == result.length(); + this.contents = result; return result; } @@ -289,4 +255,6 @@ public boolean equals(Object obj) { } return false; } + + private record ConcatRope(Object left, Object right) {} }