amps-python-client 5.3.4.1__zip → 5.3.4.2__zip
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- amps-python-client-5.3.4.2/PKG-INFO +112 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/ack-messages.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/content-messages.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/intro.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/logon.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/protocol-reference.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/publishing.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/query-delimiters.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/query-subscribe.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/removing.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/utilities.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/.buildinfo +4 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/ack-messages.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/content-messages.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/intro.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/logon.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/protocol-reference.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/publishing.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/query-delimiters.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/query-subscribe.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/removing.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/utilities.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/index.rst.txt +36 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_static/custom.css +161 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/ack-messages.html +95 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/content-messages.html +95 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/intro.html +95 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/logon.html +95 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/protocol-reference.html +93 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/publishing.html +95 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/query-delimiters.html +95 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/query-subscribe.html +95 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/removing.html +95 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/utilities.html +95 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/genindex.html +97 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/index.html +98 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/objects.inv +6 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/search.html +107 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/searchindex.js +1 -0
- amps-python-client-5.3.4.2/docs/html/.buildinfo +4 -0
- amps-python-client-5.3.4.2/docs/html/code.html +6616 -0
- amps-python-client-5.3.4.2/docs/html/genindex.html +1363 -0
- amps-python-client-5.3.4.2/docs/html/index.html +131 -0
- amps-python-client-5.3.4.2/docs/html/objects.inv +0 -0
- amps-python-client-5.3.4.2/docs/html/py-modindex.html +111 -0
- amps-python-client-5.3.4.2/docs/html/search.html +107 -0
- amps-python-client-5.3.4.2/docs/html/searchindex.js +1 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/advanced-topics.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/cpp-compiler-list.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/cpp-feature-table.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/creating-commands.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/deltas.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/error-handling.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/exceptions.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/first-program.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/high-availability.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/installing.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/introduction.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/moving-from-python-lite.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/performance-tips.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/queues.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/sow.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/subscriptions.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/utilities.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/html/.buildinfo +4 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/advanced-topics.rst.txt +398 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/cpp-feature-table.rst.txt +26 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/creating-commands.rst.txt +159 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/deltas.rst.txt +79 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/error-handling.rst.txt +481 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/exceptions.rst.txt +123 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/first-program.rst.txt +168 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/high-availability.rst.txt +879 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/installing.rst.txt +184 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/introduction.rst.txt +50 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/moving-from-python-lite.rst.txt +32 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/performance-tips.rst.txt +432 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/queues.rst.txt +282 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/sow.rst.txt +294 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/subscriptions.rst.txt +374 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/utilities.rst.txt +214 -0
- amps-python-client-5.3.4.2/docs/python/html/_static/custom.css +161 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/advanced-topics.html +447 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/cpp-compiler-list.html +92 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/cpp-feature-table.html +156 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/creating-commands.html +2882 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/deltas.html +169 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/error-handling.html +745 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/exceptions.html +266 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/first-program.html +526 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/high-availability.html +1017 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/installing.html +264 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/introduction.html +245 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/moving-from-python-lite.html +118 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/performance-tips.html +499 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/queues.html +352 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/sow.html +383 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/subscriptions.html +535 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/utilities.html +302 -0
- amps-python-client-5.3.4.2/docs/python/html/genindex.html +351 -0
- amps-python-client-5.3.4.2/docs/python/html/index.html +382 -0
- amps-python-client-5.3.4.2/docs/python/html/objects.inv +0 -0
- amps-python-client-5.3.4.2/docs/python/html/search.html +107 -0
- amps-python-client-5.3.4.2/docs/python/html/searchindex.js +1 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/doctrees/chapters/crankitup.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/doctrees/chapters/equipment.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/html/.buildinfo +4 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/html/_static/custom.css +161 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/html/chapters/crankitup.html +271 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/html/chapters/equipment.html +105 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/html/genindex.html +97 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/html/index.html +381 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/html/objects.inv +0 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/html/search.html +107 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/html/searchindex.js +1 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/acks.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/actions.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/amps-statistics.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/amps_expressions.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/amps_functions.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/auxiliary_modules.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/config-file-shortcuts.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/conflated_topics.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/constructing-fields.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/daemon.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/delta.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/distribution.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/enrichment.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/events.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/file_format_versions.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/glossary.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/ha.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/installing_and_starting.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/intro.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/logging.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/messageTypes.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/monitoring.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/oof.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/operation.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/pub_sub.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/queues.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/replication.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/securing.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/sow.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/sow_queries.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/spark.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/transports.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/troubleshooting.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/txlog.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/usecases.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/utilities.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/views.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/.buildinfo +4 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/acks.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/actions.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/amps-statistics.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/amps_expressions.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/amps_functions.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/auxiliary_modules.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/config-file-shortcuts.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/conflated_topics.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/constructing-fields.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/daemon.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/delta.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/distribution.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/enrichment.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/events.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/file_format_versions.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/glossary.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/ha.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/installing_and_starting.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/intro.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/logging.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/messageTypes.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/monitoring.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/oof.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/operation.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/pub_sub.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/queues.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/replication.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/securing.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/sow.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/sow_queries.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/transports.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/troubleshooting.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/txlog.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/usecases.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/utilities.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/views.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/index.rst.txt +62 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_static/custom.css +161 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/acks.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/actions.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/amps-statistics.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/amps_expressions.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/amps_functions.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/auxiliary_modules.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/config-file-shortcuts.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/conflated_topics.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/constructing-fields.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/daemon.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/delta.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/distribution.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/enrichment.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/events.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/file_format_versions.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/glossary.html +92 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/ha.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/installing_and_starting.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/intro.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/logging.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/messageTypes.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/monitoring.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/oof.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/operation.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/pub_sub.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/queues.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/replication.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/securing.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/sow.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/sow_queries.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/spark.html +819 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/transports.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/troubleshooting.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/txlog.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/usecases.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/utilities.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/views.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/genindex.html +133 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/index.html +96 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/objects.inv +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/search.html +106 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/searchindex.js +1 -0
- amps-python-client-5.3.4.2/include/ampspy_bookmarkstore.hpp +63 -0
- amps-python-client-5.3.4.2/include/ampspy_compat.h +63 -0
- amps-python-client-5.3.4.2/include/ampspy_defs.hpp +181 -0
- amps-python-client-5.3.4.2/include/ampspy_recoverypointadapter.hpp +52 -0
- amps-python-client-5.3.4.2/include/ampspy_shims.hpp +113 -0
- amps-python-client-5.3.4.2/include/ampspy_type_object.hpp +242 -0
- amps-python-client-5.3.4.2/include/ampspy_types.hpp +1139 -0
- amps-python-client-5.3.4.2/include/ampspyver.h +30 -0
- amps-python-client-5.3.4.2/index.html +66 -0
- amps-python-client-5.3.4.2/samples/AMPSConsolePublisher.py +59 -0
- amps-python-client-5.3.4.2/samples/AMPSConsoleSubscriber.py +63 -0
- amps-python-client-5.3.4.2/samples/AMPSFIXBuilderPublisher.py +71 -0
- amps-python-client-5.3.4.2/samples/AMPSFIXShredderSubscriber.py +69 -0
- amps-python-client-5.3.4.2/samples/AMPSNVFIXBuilderPublisher.py +71 -0
- amps-python-client-5.3.4.2/samples/AMPSNVFIXShredderSubscriber.py +67 -0
- amps-python-client-5.3.4.2/samples/AMPSPublishForReplay.py +81 -0
- amps-python-client-5.3.4.2/samples/AMPSQueueConsumer.py +69 -0
- amps-python-client-5.3.4.2/samples/AMPSQueuePublisher.py +59 -0
- amps-python-client-5.3.4.2/samples/AMPSSOWConsolePublisher.py +67 -0
- amps-python-client-5.3.4.2/samples/AMPSSOWConsoleSubscriber.py +77 -0
- amps-python-client-5.3.4.2/samples/AMPSSOWandSubscribeConsoleSubscriber.py +79 -0
- amps-python-client-5.3.4.2/samples/AMPSSOWandSubscribeWithOOF.py +108 -0
- amps-python-client-5.3.4.2/samples/AMPSSubscribeForReplay.py +128 -0
- amps-python-client-5.3.4.2/samples/AMPSUpdateForOOF.py +123 -0
- amps-python-client-5.3.4.2/samples/CompositeMessagePublisher.py +84 -0
- amps-python-client-5.3.4.2/samples/CompositeMessageSubscriber.py +87 -0
- amps-python-client-5.3.4.2/samples/RandomServerChooser.py +66 -0
- amps-python-client-5.3.4.2/samples/sample.xml +335 -0
- amps-python-client-5.3.4.2/setup.py +210 -0
- amps-python-client-5.3.4.2/setup_amps.py +94 -0
- amps-python-client-5.3.4.2/src/ampspy_shims.cpp +214 -0
- amps-python-client-5.3.4.2/src/ampspy_type_object.cpp +495 -0
- amps-python-client-5.3.4.2/src/authenticator.cpp +128 -0
- amps-python-client-5.3.4.2/src/bookmarkstore.cpp +246 -0
- amps-python-client-5.3.4.2/src/client.cpp +2648 -0
- amps-python-client-5.3.4.2/src/client_docs.h +956 -0
- amps-python-client-5.3.4.2/src/cmessagehandler.cpp +161 -0
- amps-python-client-5.3.4.2/src/command.cpp +164 -0
- amps-python-client-5.3.4.2/src/command_docs.h +269 -0
- amps-python-client-5.3.4.2/src/compositemessagebuilder.cpp +113 -0
- amps-python-client-5.3.4.2/src/compositemessageparser.cpp +151 -0
- amps-python-client-5.3.4.2/src/conflatingrecoverypointadapter.cpp +197 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/BlockPublishStore.hpp +2053 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/BlockStore.hpp +677 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/BookmarkStore.hpp +542 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/Buffer.hpp +214 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/CompositeMessageBuilder.hpp +174 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/CompositeMessageParser.hpp +151 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/DefaultServerChooser.hpp +162 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/Field.hpp +719 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/HAClient.hpp +370 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/HAClientImpl.hpp +460 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/HybridPublishStore.hpp +481 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/LoggedBookmarkStore.hpp +1256 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/MMapBookmarkStore.hpp +1283 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/MMapStoreBuffer.hpp +290 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/MemoryBookmarkStore.hpp +1628 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/MemoryPublishStore.hpp +66 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/MemoryStoreBuffer.hpp +244 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/MemorySubscriptionManager.hpp +850 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/Message.hpp +1819 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/MessageRouter.hpp +647 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/PublishStore.hpp +158 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/ReconnectDelayStrategy.hpp +106 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/ReconnectDelayStrategyImpl.hpp +317 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/RecoveryPoint.hpp +323 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/RecoveryPointAdapter.hpp +501 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/RingBookmarkStore.hpp +669 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/SOWRecoveryPointAdapter.hpp +494 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/ServerChooser.hpp +145 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/ServerChooserImpl.hpp +95 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/amps.h +803 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/amps_impl.h +208 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/amps_ssl.h +78 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/ampscrc.hpp +210 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/ampsplusplus.hpp +8850 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/ampsuri.h +84 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/ampsver.h +41 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/ampsver.h.in +41 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/constants.hpp +194 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/util.hpp +1722 -0
- amps-python-client-5.3.4.2/src/cpp/src/amps_protocol.c +693 -0
- amps-python-client-5.3.4.2/src/cpp/src/amps_ssl.c +489 -0
- amps-python-client-5.3.4.2/src/cpp/src/atfork.c +451 -0
- amps-python-client-5.3.4.2/src/cpp/src/client.c +498 -0
- amps-python-client-5.3.4.2/src/cpp/src/message.c +837 -0
- amps-python-client-5.3.4.2/src/cpp/src/message_generated.h +611 -0
- amps-python-client-5.3.4.2/src/cpp/src/tcp.c +1517 -0
- amps-python-client-5.3.4.2/src/cpp/src/tcps.c +1885 -0
- amps-python-client-5.3.4.2/src/cpp/src/transports.c +129 -0
- amps-python-client-5.3.4.2/src/cpp/src/unix.c +1002 -0
- amps-python-client-5.3.4.2/src/cpp/src/uri.c +301 -0
- amps-python-client-5.3.4.2/src/exponentialdelaystrategy.cpp +137 -0
- amps-python-client-5.3.4.2/src/failedwritehandler.cpp +116 -0
- amps-python-client-5.3.4.2/src/fixbuilder.cpp +146 -0
- amps-python-client-5.3.4.2/src/fixeddelaystrategy.cpp +114 -0
- amps-python-client-5.3.4.2/src/fixshredder.cpp +105 -0
- amps-python-client-5.3.4.2/src/fixshredder_docs.h +38 -0
- amps-python-client-5.3.4.2/src/haclient.cpp +691 -0
- amps-python-client-5.3.4.2/src/haclient_docs.h +186 -0
- amps-python-client-5.3.4.2/src/hybridpublishstore.cpp +137 -0
- amps-python-client-5.3.4.2/src/hybridpublishstore_docs.h +31 -0
- amps-python-client-5.3.4.2/src/memorybookmarkstore.cpp +373 -0
- amps-python-client-5.3.4.2/src/memorybookmarkstore_docs.h +39 -0
- amps-python-client-5.3.4.2/src/memorypublishstore.cpp +160 -0
- amps-python-client-5.3.4.2/src/memorypublishstore_docs.h +32 -0
- amps-python-client-5.3.4.2/src/message.cpp +765 -0
- amps-python-client-5.3.4.2/src/message_docs.h +306 -0
- amps-python-client-5.3.4.2/src/messagestream.cpp +630 -0
- amps-python-client-5.3.4.2/src/messagestream_docs.h +45 -0
- amps-python-client-5.3.4.2/src/mmapbookmarkstore.cpp +422 -0
- amps-python-client-5.3.4.2/src/nvfixbuilder.cpp +160 -0
- amps-python-client-5.3.4.2/src/nvfixbuilder_docs.h +35 -0
- amps-python-client-5.3.4.2/src/nvfixshredder.cpp +99 -0
- amps-python-client-5.3.4.2/src/nvfixshredder_docs.h +43 -0
- amps-python-client-5.3.4.2/src/publishstore.cpp +183 -0
- amps-python-client-5.3.4.2/src/raw_wrapper.cpp +765 -0
- amps-python-client-5.3.4.2/src/reason.cpp +71 -0
- amps-python-client-5.3.4.2/src/recoverypoint.cpp +135 -0
- amps-python-client-5.3.4.2/src/recoverypointadapter.cpp +171 -0
- amps-python-client-5.3.4.2/src/ringbookmarkstore.cpp +360 -0
- amps-python-client-5.3.4.2/src/serverchooser.cpp +245 -0
- amps-python-client-5.3.4.2/src/serverchooser_docs.h +41 -0
- amps-python-client-5.3.4.2/src/sowrecoverypointadapter.cpp +248 -0
- amps-python-client-5.3.4.2/src/store.cpp +62 -0
- amps-python-client-5.3.4.2/src/versioninfo.cpp +175 -0
- amps-python-client-5.3.4.1/PKG-INFO +0 -112
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/ack-messages.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/content-messages.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/intro.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/logon.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/protocol-reference.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/publishing.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/query-delimiters.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/query-subscribe.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/removing.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/utilities.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/.buildinfo +0 -4
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/ack-messages.rst.txt +0 -32
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/content-messages.rst.txt +0 -27
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/intro.rst.txt +0 -43
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/logon.rst.txt +0 -231
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/protocol-reference.rst.txt +0 -1474
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/publishing.rst.txt +0 -25
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/query-delimiters.rst.txt +0 -12
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/query-subscribe.rst.txt +0 -23
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/removing.rst.txt +0 -6
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/utilities.rst.txt +0 -13
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/index.rst.txt +0 -56
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/custom.css +0 -192
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/custom.css.backup +0 -161
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/ack-messages.html +0 -417
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/content-messages.html +0 -417
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/intro.html +0 -126
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/logon.html +0 -295
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/protocol-reference.html +0 -1190
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/publishing.html +0 -436
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/query-delimiters.html +0 -173
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/query-subscribe.html +0 -2123
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/removing.html +0 -299
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/utilities.html +0 -287
- amps-python-client-5.3.4.1/docs/command-reference/html/genindex.html +0 -97
- amps-python-client-5.3.4.1/docs/command-reference/html/index.html +0 -138
- amps-python-client-5.3.4.1/docs/command-reference/html/objects.inv +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/search.html +0 -107
- amps-python-client-5.3.4.1/docs/command-reference/html/searchindex.js +0 -1
- amps-python-client-5.3.4.1/docs/html/.buildinfo +0 -4
- amps-python-client-5.3.4.1/docs/html/code.html +0 -6503
- amps-python-client-5.3.4.1/docs/html/genindex.html +0 -1361
- amps-python-client-5.3.4.1/docs/html/index.html +0 -131
- amps-python-client-5.3.4.1/docs/html/objects.inv +0 -0
- amps-python-client-5.3.4.1/docs/html/py-modindex.html +0 -111
- amps-python-client-5.3.4.1/docs/html/search.html +0 -107
- amps-python-client-5.3.4.1/docs/html/searchindex.js +0 -1
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/advanced-topics.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/cpp-compiler-list.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/cpp-feature-table.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/creating-commands.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/deltas.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/error-handling.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/exceptions.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/first-program.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/high-availability.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/installing.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/introduction.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/moving-from-python-lite.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/performance-tips.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/queues.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/sow.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/subscriptions.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/utilities.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/html/.buildinfo +0 -4
- amps-python-client-5.3.4.1/docs/python/html/_images/caution.svg +0 -25
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/advanced-topics.rst.txt +0 -398
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/cpp-feature-table.rst.txt +0 -26
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/creating-commands.rst.txt +0 -159
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/deltas.rst.txt +0 -79
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/error-handling.rst.txt +0 -482
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/exceptions.rst.txt +0 -128
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/first-program.rst.txt +0 -142
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/high-availability.rst.txt +0 -876
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/installing.rst.txt +0 -184
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/introduction.rst.txt +0 -50
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/moving-from-python-lite.rst.txt +0 -32
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/performance-tips.rst.txt +0 -434
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/queues.rst.txt +0 -282
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/sow.rst.txt +0 -292
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/subscriptions.rst.txt +0 -374
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/utilities.rst.txt +0 -214
- amps-python-client-5.3.4.1/docs/python/html/_static/custom.css +0 -192
- amps-python-client-5.3.4.1/docs/python/html/_static/custom.css.backup +0 -161
- amps-python-client-5.3.4.1/docs/python/html/chapters/advanced-topics.html +0 -447
- amps-python-client-5.3.4.1/docs/python/html/chapters/cpp-compiler-list.html +0 -92
- amps-python-client-5.3.4.1/docs/python/html/chapters/cpp-feature-table.html +0 -156
- amps-python-client-5.3.4.1/docs/python/html/chapters/creating-commands.html +0 -2837
- amps-python-client-5.3.4.1/docs/python/html/chapters/deltas.html +0 -169
- amps-python-client-5.3.4.1/docs/python/html/chapters/error-handling.html +0 -746
- amps-python-client-5.3.4.1/docs/python/html/chapters/exceptions.html +0 -272
- amps-python-client-5.3.4.1/docs/python/html/chapters/first-program.html +0 -499
- amps-python-client-5.3.4.1/docs/python/html/chapters/high-availability.html +0 -1014
- amps-python-client-5.3.4.1/docs/python/html/chapters/installing.html +0 -264
- amps-python-client-5.3.4.1/docs/python/html/chapters/introduction.html +0 -245
- amps-python-client-5.3.4.1/docs/python/html/chapters/moving-from-python-lite.html +0 -118
- amps-python-client-5.3.4.1/docs/python/html/chapters/performance-tips.html +0 -499
- amps-python-client-5.3.4.1/docs/python/html/chapters/queues.html +0 -352
- amps-python-client-5.3.4.1/docs/python/html/chapters/sow.html +0 -381
- amps-python-client-5.3.4.1/docs/python/html/chapters/subscriptions.html +0 -535
- amps-python-client-5.3.4.1/docs/python/html/chapters/utilities.html +0 -302
- amps-python-client-5.3.4.1/docs/python/html/genindex.html +0 -351
- amps-python-client-5.3.4.1/docs/python/html/index.html +0 -380
- amps-python-client-5.3.4.1/docs/python/html/objects.inv +0 -0
- amps-python-client-5.3.4.1/docs/python/html/search.html +0 -107
- amps-python-client-5.3.4.1/docs/python/html/searchindex.js +0 -1
- amps-python-client-5.3.4.1/docs/python-quickstart/doctrees/chapters/crankitup.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/doctrees/chapters/equipment.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/.buildinfo +0 -4
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/custom.css +0 -192
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/custom.css.backup +0 -161
- amps-python-client-5.3.4.1/docs/python-quickstart/html/chapters/crankitup.html +0 -271
- amps-python-client-5.3.4.1/docs/python-quickstart/html/chapters/equipment.html +0 -105
- amps-python-client-5.3.4.1/docs/python-quickstart/html/genindex.html +0 -97
- amps-python-client-5.3.4.1/docs/python-quickstart/html/index.html +0 -382
- amps-python-client-5.3.4.1/docs/python-quickstart/html/objects.inv +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/search.html +0 -107
- amps-python-client-5.3.4.1/docs/python-quickstart/html/searchindex.js +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/acks.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/actions.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/amps-statistics.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/amps_expressions.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/amps_functions.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/auxiliary_modules.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/config-file-shortcuts.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/conflated_topics.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/constructing-fields.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/daemon.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/delta.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/distribution.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/enrichment.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/events.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/file_format_versions.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/glossary.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/ha.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/installing_and_starting.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/intro.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/logging.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/messageTypes.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/monitoring.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/oof.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/operation.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/pub_sub.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/queues.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/replication.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/securing.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/sow.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/sow_queries.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/spark.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/transports.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/troubleshooting.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/txlog.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/usecases.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/utilities.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/views.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/.buildinfo +0 -4
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/AMPS-Queues-Intro.svg +0 -1330
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/GeoRepl.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/HA_async_ack.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/HA_sync_ack.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/Hot-Hot-Replication.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/MessageOrdering.svg +0 -235
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/OOF5.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/OOF6.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/OOF7.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/OOF8.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/PubSub1.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/PubSub2.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/SOWAndSubscribeAndReplace.svg +0 -684
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/SOWQuery1.svg +0 -402
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/SOWQuery2.svg +0 -505
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/UseCaseFig1.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/UseCaseFig2.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/UseCaseFig3.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/UseCaseFig4.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/caution.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/caution.svg +0 -25
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/chicago_group.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/delta_original_messages.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/delta_update_message.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/important.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/important.svg +0 -25
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/inline_view_conflation.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/paginated_subs_pub.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/paginated_subs_sub.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/queue_usage_overview.svg +0 -627
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/replication_hub.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/replication_scenario_with_ha.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/sow_overview_1.svg +0 -248
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/sow_overview_2.svg +0 -183
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/sow_update_sequence.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/tip.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/tip.svg +0 -31
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/warning.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/warning.svg +0 -23
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/acks.rst.txt +0 -232
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/actions.rst.txt +0 -111
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/amps-statistics.rst.txt +0 -358
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/amps_expressions.rst.txt +0 -83
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/amps_functions.rst.txt +0 -11
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/auxiliary_modules.rst.txt +0 -86
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/config-file-shortcuts.rst.txt +0 -9
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/conflated_topics.rst.txt +0 -111
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/constructing-fields.rst.txt +0 -269
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/daemon.rst.txt +0 -232
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/delta.rst.txt +0 -556
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/distribution.rst.txt +0 -186
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/enrichment.rst.txt +0 -191
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/events.rst.txt +0 -39
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/file_format_versions.rst.txt +0 -203
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/glossary.rst.txt +0 -101
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/ha.rst.txt +0 -465
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/installing_and_starting.rst.txt +0 -23
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/intro.rst.txt +0 -116
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/logging.rst.txt +0 -34
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/messageTypes.rst.txt +0 -1398
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/monitoring.rst.txt +0 -326
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/oof.rst.txt +0 -312
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/operation.rst.txt +0 -27
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/pub_sub.rst.txt +0 -49
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/queues.rst.txt +0 -1351
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/replication.rst.txt +0 -1228
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/securing.rst.txt +0 -657
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/sow.rst.txt +0 -57
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/sow_queries.rst.txt +0 -25
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/transports.rst.txt +0 -291
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/troubleshooting.rst.txt +0 -517
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/txlog.rst.txt +0 -62
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/usecases.rst.txt +0 -21
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/utilities.rst.txt +0 -62
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/views.rst.txt +0 -175
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/index.rst.txt +0 -110
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/custom.css +0 -192
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/custom.css.backup +0 -161
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/acks.html +0 -289
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/actions.html +0 -3782
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/amps-statistics.html +0 -439
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/amps_expressions.html +0 -1552
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/amps_functions.html +0 -1626
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/auxiliary_modules.html +0 -2548
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/config-file-shortcuts.html +0 -508
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/conflated_topics.html +0 -328
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/constructing-fields.html +0 -447
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/daemon.html +0 -295
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/delta.html +0 -609
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/distribution.html +0 -246
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/enrichment.html +0 -264
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/events.html +0 -449
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/file_format_versions.html +0 -229
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/glossary.html +0 -215
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/ha.html +0 -978
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/installing_and_starting.html +0 -357
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/intro.html +0 -572
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/logging.html +0 -972
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/messageTypes.html +0 -1280
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/monitoring.html +0 -718
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/oof.html +0 -341
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/operation.html +0 -1515
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/pub_sub.html +0 -934
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/queues.html +0 -1767
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/replication.html +0 -1777
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/securing.html +0 -697
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/sow.html +0 -1038
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/sow_queries.html +0 -621
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/spark.html +0 -819
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/transports.html +0 -352
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/troubleshooting.html +0 -530
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/txlog.html +0 -1013
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/usecases.html +0 -288
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/utilities.html +0 -133
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/views.html +0 -1120
- amps-python-client-5.3.4.1/docs/user-guide/html/genindex.html +0 -1261
- amps-python-client-5.3.4.1/docs/user-guide/html/index.html +0 -163
- amps-python-client-5.3.4.1/docs/user-guide/html/objects.inv +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/search.html +0 -106
- amps-python-client-5.3.4.1/docs/user-guide/html/searchindex.js +0 -1
- amps-python-client-5.3.4.1/include/ampspy_bookmarkstore.hpp +0 -63
- amps-python-client-5.3.4.1/include/ampspy_compat.h +0 -63
- amps-python-client-5.3.4.1/include/ampspy_defs.hpp +0 -181
- amps-python-client-5.3.4.1/include/ampspy_recoverypointadapter.hpp +0 -52
- amps-python-client-5.3.4.1/include/ampspy_shims.hpp +0 -113
- amps-python-client-5.3.4.1/include/ampspy_type_object.hpp +0 -242
- amps-python-client-5.3.4.1/include/ampspy_types.hpp +0 -1139
- amps-python-client-5.3.4.1/include/ampspyver.h +0 -30
- amps-python-client-5.3.4.1/index.html +0 -66
- amps-python-client-5.3.4.1/samples/AMPSConsolePublisher.py +0 -59
- amps-python-client-5.3.4.1/samples/AMPSConsoleSubscriber.py +0 -63
- amps-python-client-5.3.4.1/samples/AMPSFIXBuilderPublisher.py +0 -71
- amps-python-client-5.3.4.1/samples/AMPSFIXShredderSubscriber.py +0 -69
- amps-python-client-5.3.4.1/samples/AMPSNVFIXBuilderPublisher.py +0 -71
- amps-python-client-5.3.4.1/samples/AMPSNVFIXShredderSubscriber.py +0 -67
- amps-python-client-5.3.4.1/samples/AMPSPublishForReplay.py +0 -81
- amps-python-client-5.3.4.1/samples/AMPSQueueConsumer.py +0 -69
- amps-python-client-5.3.4.1/samples/AMPSQueuePublisher.py +0 -59
- amps-python-client-5.3.4.1/samples/AMPSSOWConsolePublisher.py +0 -67
- amps-python-client-5.3.4.1/samples/AMPSSOWConsoleSubscriber.py +0 -77
- amps-python-client-5.3.4.1/samples/AMPSSOWandSubscribeConsoleSubscriber.py +0 -79
- amps-python-client-5.3.4.1/samples/AMPSSOWandSubscribeWithOOF.py +0 -108
- amps-python-client-5.3.4.1/samples/AMPSSubscribeForReplay.py +0 -128
- amps-python-client-5.3.4.1/samples/AMPSUpdateForOOF.py +0 -123
- amps-python-client-5.3.4.1/samples/CompositeMessagePublisher.py +0 -84
- amps-python-client-5.3.4.1/samples/CompositeMessageSubscriber.py +0 -87
- amps-python-client-5.3.4.1/samples/RandomServerChooser.py +0 -41
- amps-python-client-5.3.4.1/samples/sample.xml +0 -335
- amps-python-client-5.3.4.1/setup.py +0 -209
- amps-python-client-5.3.4.1/setup_amps.py +0 -94
- amps-python-client-5.3.4.1/src/ampspy_shims.cpp +0 -203
- amps-python-client-5.3.4.1/src/ampspy_type_object.cpp +0 -484
- amps-python-client-5.3.4.1/src/authenticator.cpp +0 -128
- amps-python-client-5.3.4.1/src/bookmarkstore.cpp +0 -238
- amps-python-client-5.3.4.1/src/client.cpp +0 -2430
- amps-python-client-5.3.4.1/src/client_docs.h +0 -956
- amps-python-client-5.3.4.1/src/cmessagehandler.cpp +0 -151
- amps-python-client-5.3.4.1/src/command.cpp +0 -164
- amps-python-client-5.3.4.1/src/command_docs.h +0 -194
- amps-python-client-5.3.4.1/src/compositemessagebuilder.cpp +0 -111
- amps-python-client-5.3.4.1/src/compositemessageparser.cpp +0 -146
- amps-python-client-5.3.4.1/src/conflatingrecoverypointadapter.cpp +0 -194
- amps-python-client-5.3.4.1/src/cpp/include/amps/BlockPublishStore.hpp +0 -2053
- amps-python-client-5.3.4.1/src/cpp/include/amps/BlockStore.hpp +0 -677
- amps-python-client-5.3.4.1/src/cpp/include/amps/BookmarkStore.hpp +0 -542
- amps-python-client-5.3.4.1/src/cpp/include/amps/Buffer.hpp +0 -214
- amps-python-client-5.3.4.1/src/cpp/include/amps/CompositeMessageBuilder.hpp +0 -174
- amps-python-client-5.3.4.1/src/cpp/include/amps/CompositeMessageParser.hpp +0 -151
- amps-python-client-5.3.4.1/src/cpp/include/amps/DefaultServerChooser.hpp +0 -162
- amps-python-client-5.3.4.1/src/cpp/include/amps/Field.hpp +0 -719
- amps-python-client-5.3.4.1/src/cpp/include/amps/HAClient.hpp +0 -370
- amps-python-client-5.3.4.1/src/cpp/include/amps/HAClientImpl.hpp +0 -460
- amps-python-client-5.3.4.1/src/cpp/include/amps/HybridPublishStore.hpp +0 -481
- amps-python-client-5.3.4.1/src/cpp/include/amps/LoggedBookmarkStore.hpp +0 -1255
- amps-python-client-5.3.4.1/src/cpp/include/amps/MMapBookmarkStore.hpp +0 -1283
- amps-python-client-5.3.4.1/src/cpp/include/amps/MMapStoreBuffer.hpp +0 -290
- amps-python-client-5.3.4.1/src/cpp/include/amps/MemoryBookmarkStore.hpp +0 -1622
- amps-python-client-5.3.4.1/src/cpp/include/amps/MemoryPublishStore.hpp +0 -66
- amps-python-client-5.3.4.1/src/cpp/include/amps/MemoryStoreBuffer.hpp +0 -244
- amps-python-client-5.3.4.1/src/cpp/include/amps/MemorySubscriptionManager.hpp +0 -850
- amps-python-client-5.3.4.1/src/cpp/include/amps/Message.hpp +0 -1819
- amps-python-client-5.3.4.1/src/cpp/include/amps/MessageRouter.hpp +0 -618
- amps-python-client-5.3.4.1/src/cpp/include/amps/PublishStore.hpp +0 -158
- amps-python-client-5.3.4.1/src/cpp/include/amps/ReconnectDelayStrategy.hpp +0 -106
- amps-python-client-5.3.4.1/src/cpp/include/amps/ReconnectDelayStrategyImpl.hpp +0 -317
- amps-python-client-5.3.4.1/src/cpp/include/amps/RecoveryPoint.hpp +0 -323
- amps-python-client-5.3.4.1/src/cpp/include/amps/RecoveryPointAdapter.hpp +0 -501
- amps-python-client-5.3.4.1/src/cpp/include/amps/RingBookmarkStore.hpp +0 -669
- amps-python-client-5.3.4.1/src/cpp/include/amps/SOWRecoveryPointAdapter.hpp +0 -490
- amps-python-client-5.3.4.1/src/cpp/include/amps/ServerChooser.hpp +0 -145
- amps-python-client-5.3.4.1/src/cpp/include/amps/ServerChooserImpl.hpp +0 -95
- amps-python-client-5.3.4.1/src/cpp/include/amps/amps.h +0 -775
- amps-python-client-5.3.4.1/src/cpp/include/amps/amps_impl.h +0 -204
- amps-python-client-5.3.4.1/src/cpp/include/amps/amps_ssl.h +0 -78
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampscrc.hpp +0 -210
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampsplusplus.hpp +0 -8817
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampsuri.h +0 -84
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampsver.h +0 -41
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampsver.h.in +0 -41
- amps-python-client-5.3.4.1/src/cpp/include/amps/constants.hpp +0 -194
- amps-python-client-5.3.4.1/src/cpp/include/amps/util.hpp +0 -1692
- amps-python-client-5.3.4.1/src/cpp/src/amps_protocol.c +0 -688
- amps-python-client-5.3.4.1/src/cpp/src/amps_ssl.c +0 -489
- amps-python-client-5.3.4.1/src/cpp/src/atfork.c +0 -446
- amps-python-client-5.3.4.1/src/cpp/src/client.c +0 -483
- amps-python-client-5.3.4.1/src/cpp/src/message.c +0 -837
- amps-python-client-5.3.4.1/src/cpp/src/message_generated.h +0 -611
- amps-python-client-5.3.4.1/src/cpp/src/tcp.c +0 -1489
- amps-python-client-5.3.4.1/src/cpp/src/tcps.c +0 -1894
- amps-python-client-5.3.4.1/src/cpp/src/transports.c +0 -123
- amps-python-client-5.3.4.1/src/cpp/src/unix.c +0 -984
- amps-python-client-5.3.4.1/src/cpp/src/uri.c +0 -301
- amps-python-client-5.3.4.1/src/exponentialdelaystrategy.cpp +0 -137
- amps-python-client-5.3.4.1/src/failedwritehandler.cpp +0 -116
- amps-python-client-5.3.4.1/src/fixbuilder.cpp +0 -146
- amps-python-client-5.3.4.1/src/fixeddelaystrategy.cpp +0 -114
- amps-python-client-5.3.4.1/src/fixshredder.cpp +0 -105
- amps-python-client-5.3.4.1/src/fixshredder_docs.h +0 -38
- amps-python-client-5.3.4.1/src/haclient.cpp +0 -691
- amps-python-client-5.3.4.1/src/haclient_docs.h +0 -132
- amps-python-client-5.3.4.1/src/hybridpublishstore.cpp +0 -137
- amps-python-client-5.3.4.1/src/hybridpublishstore_docs.h +0 -31
- amps-python-client-5.3.4.1/src/memorybookmarkstore.cpp +0 -373
- amps-python-client-5.3.4.1/src/memorybookmarkstore_docs.h +0 -39
- amps-python-client-5.3.4.1/src/memorypublishstore.cpp +0 -160
- amps-python-client-5.3.4.1/src/memorypublishstore_docs.h +0 -32
- amps-python-client-5.3.4.1/src/message.cpp +0 -765
- amps-python-client-5.3.4.1/src/message_docs.h +0 -306
- amps-python-client-5.3.4.1/src/messagestream.cpp +0 -623
- amps-python-client-5.3.4.1/src/messagestream_docs.h +0 -45
- amps-python-client-5.3.4.1/src/mmapbookmarkstore.cpp +0 -422
- amps-python-client-5.3.4.1/src/nvfixbuilder.cpp +0 -160
- amps-python-client-5.3.4.1/src/nvfixbuilder_docs.h +0 -33
- amps-python-client-5.3.4.1/src/nvfixshredder.cpp +0 -99
- amps-python-client-5.3.4.1/src/nvfixshredder_docs.h +0 -39
- amps-python-client-5.3.4.1/src/publishstore.cpp +0 -183
- amps-python-client-5.3.4.1/src/raw_wrapper.cpp +0 -756
- amps-python-client-5.3.4.1/src/reason.cpp +0 -71
- amps-python-client-5.3.4.1/src/recoverypoint.cpp +0 -135
- amps-python-client-5.3.4.1/src/recoverypointadapter.cpp +0 -171
- amps-python-client-5.3.4.1/src/ringbookmarkstore.cpp +0 -360
- amps-python-client-5.3.4.1/src/serverchooser.cpp +0 -245
- amps-python-client-5.3.4.1/src/serverchooser_docs.h +0 -39
- amps-python-client-5.3.4.1/src/sowrecoverypointadapter.cpp +0 -248
- amps-python-client-5.3.4.1/src/store.cpp +0 -62
- amps-python-client-5.3.4.1/src/versioninfo.cpp +0 -175
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/HISTORY +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/LICENSE +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/README.md +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/ajax-loader.gif +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/alabaster.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/basic.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/comment-bright.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/comment-close.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/comment.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/doctools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/down-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/down.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/file.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/flag_logo.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/flag_logo.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/jquery-3.1.0.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/jquery.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/minus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/plus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/pygments.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/searchtools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/underscore-1.3.1.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/underscore.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/up-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/up.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/websupport.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_sources/code.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_sources/index.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/ajax-loader.gif +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/basic.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/classic.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/comment-bright.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/comment-close.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/comment.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/default.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/doctools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/down-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/down.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/file.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/jquery-3.1.0.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/jquery.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/minus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/plus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/pygments.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/searchtools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/sidebar.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/underscore-1.3.1.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/underscore.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/up-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/up.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/websupport.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_images/caution.png +0 -0
- {amps-python-client-5.3.4.1/docs/command-reference → amps-python-client-5.3.4.2/docs/python}/html/_images/caution.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_images/connection_string.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_images/important.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_images/important.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_images/tip.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_images/tip.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_images/warning.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_sources/chapters/cpp-compiler-list.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_sources/index.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/ajax-loader.gif +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/alabaster.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/basic.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/comment-bright.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/comment-close.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/comment.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/doctools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/down-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/down.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/file.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/flag_logo.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/flag_logo.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/jquery-3.1.0.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/jquery.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/minus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/plus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/pygments.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/searchtools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/underscore-1.3.1.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/underscore.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/up-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/up.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/websupport.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_sources/chapters/crankitup.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_sources/chapters/equipment.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_sources/index.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/ajax-loader.gif +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/alabaster.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/basic.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/comment-bright.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/comment-close.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/comment.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/doctools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/down-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/down.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/file.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/flag_logo.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/flag_logo.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/jquery-3.1.0.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/jquery.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/minus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/plus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/pygments.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/searchtools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/underscore-1.3.1.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/underscore.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/up-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/up.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/websupport.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/resources/custom.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/resources/flag_logo.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_sources/chapters/spark.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/ajax-loader.gif +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/alabaster.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/basic.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/comment-bright.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/comment-close.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/comment.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/doctools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/down-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/down.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/file.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/flag_logo.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/flag_logo.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/jquery-3.1.0.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/jquery.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/minus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/plus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/pygments.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/searchtools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/underscore-1.3.1.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/underscore.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/up-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/up.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/websupport.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/src/cpp/include/amps/amps_generated.h +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/src/cpp/src/amps_protocol_generated.h +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/src/cpp/src/makefile +0 -0
|
@@ -1,1626 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
6
|
-
<head>
|
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
8
|
-
|
|
9
|
-
<title>5. AMPS Functions — AMPS User Guide develop documentation</title>
|
|
10
|
-
|
|
11
|
-
<link rel="stylesheet" href="../_static/alabaster.css" type="text/css" />
|
|
12
|
-
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
|
13
|
-
|
|
14
|
-
<script type="text/javascript">
|
|
15
|
-
var DOCUMENTATION_OPTIONS = {
|
|
16
|
-
URL_ROOT: '../',
|
|
17
|
-
VERSION: 'develop',
|
|
18
|
-
COLLAPSE_INDEX: false,
|
|
19
|
-
FILE_SUFFIX: '.html',
|
|
20
|
-
HAS_SOURCE: true,
|
|
21
|
-
SOURCELINK_SUFFIX: '.txt'
|
|
22
|
-
};
|
|
23
|
-
</script>
|
|
24
|
-
<script type="text/javascript" src="../_static/jquery.js"></script>
|
|
25
|
-
<script type="text/javascript" src="../_static/underscore.js"></script>
|
|
26
|
-
<script type="text/javascript" src="../_static/doctools.js"></script>
|
|
27
|
-
<link rel="index" title="Index" href="../genindex.html" />
|
|
28
|
-
<link rel="search" title="Search" href="../search.html" />
|
|
29
|
-
<link rel="next" title="6. Constructing Fields" href="constructing-fields.html" />
|
|
30
|
-
<link rel="prev" title="4. AMPS Expressions" href="amps_expressions.html" />
|
|
31
|
-
|
|
32
|
-
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
|
36
|
-
|
|
37
|
-
</head>
|
|
38
|
-
<body role="document">
|
|
39
|
-
<div class="document">
|
|
40
|
-
|
|
41
|
-
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
|
42
|
-
<div class="sphinxsidebarwrapper">
|
|
43
|
-
<p class="logo"><a href="../index.html">
|
|
44
|
-
<img class="logo" src="../_static/flag_logo.png" alt="Logo"/>
|
|
45
|
-
</a></p>
|
|
46
|
-
<h3><a href="../index.html">Table Of Contents</a></h3>
|
|
47
|
-
<ul>
|
|
48
|
-
<li><a class="reference internal" href="#">5. AMPS Functions</a><ul>
|
|
49
|
-
<li><a class="reference internal" href="#amps-function-overview">AMPS Function Overview</a><ul>
|
|
50
|
-
<li><a class="reference internal" href="#deterministic-and-non-deterministic-functions">Deterministic and Non-Deterministic Functions</a></li>
|
|
51
|
-
</ul>
|
|
52
|
-
</li>
|
|
53
|
-
<li><a class="reference internal" href="#string-comparison-functions">String Comparison Functions</a></li>
|
|
54
|
-
<li><a class="reference internal" href="#concatenating-strings">Concatenating Strings</a></li>
|
|
55
|
-
<li><a class="reference internal" href="#managing-string-case">Managing String Case</a></li>
|
|
56
|
-
<li><a class="reference internal" href="#replacing-text-in-strings">Replacing Text in Strings</a></li>
|
|
57
|
-
<li><a class="reference internal" href="#string-manipulation-functions">String Manipulation Functions</a></li>
|
|
58
|
-
<li><a class="reference internal" href="#date-and-time-functions">Date and Time Functions</a></li>
|
|
59
|
-
<li><a class="reference internal" href="#array-reduce-functions">Array Reduce Functions</a></li>
|
|
60
|
-
<li><a class="reference internal" href="#geospatial-functions">Geospatial Functions</a></li>
|
|
61
|
-
<li><a class="reference internal" href="#numeric-functions">Numeric Functions</a></li>
|
|
62
|
-
<li><a class="reference internal" href="#crc-functions">CRC Functions</a></li>
|
|
63
|
-
<li><a class="reference internal" href="#message-functions">Message Functions</a></li>
|
|
64
|
-
<li><a class="reference internal" href="#client-functions">Client Functions</a></li>
|
|
65
|
-
<li><a class="reference internal" href="#coalesce-function">Coalesce Function</a></li>
|
|
66
|
-
<li><a class="reference internal" href="#amps-information-functions">AMPS Information Functions</a></li>
|
|
67
|
-
<li><a class="reference internal" href="#typed-value-construction-functions">Typed Value Construction Functions</a></li>
|
|
68
|
-
</ul>
|
|
69
|
-
</li>
|
|
70
|
-
</ul>
|
|
71
|
-
<div class="relations">
|
|
72
|
-
<h3>Related Topics</h3>
|
|
73
|
-
<ul>
|
|
74
|
-
<li><a href="../index.html">Documentation overview</a><ul>
|
|
75
|
-
<li>Previous: <a href="amps_expressions.html" title="previous chapter">4. AMPS Expressions</a></li>
|
|
76
|
-
<li>Next: <a href="constructing-fields.html" title="next chapter">6. Constructing Fields</a></li>
|
|
77
|
-
</ul></li>
|
|
78
|
-
</ul>
|
|
79
|
-
</div>
|
|
80
|
-
<div id="searchbox" style="display: none" role="search">
|
|
81
|
-
<h3>Quick search</h3>
|
|
82
|
-
<form class="search" action="../search.html" method="get">
|
|
83
|
-
<div><input type="text" name="q" /></div>
|
|
84
|
-
<div><input type="submit" value="Go" /></div>
|
|
85
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
|
86
|
-
<input type="hidden" name="area" value="default" />
|
|
87
|
-
</form>
|
|
88
|
-
</div>
|
|
89
|
-
<script type="text/javascript">$('#searchbox').show(0);</script>
|
|
90
|
-
</div>
|
|
91
|
-
</div>
|
|
92
|
-
<div class="documentwrapper">
|
|
93
|
-
<div class="bodywrapper">
|
|
94
|
-
<div class="body" role="main">
|
|
95
|
-
|
|
96
|
-
<div class="section" id="amps-functions">
|
|
97
|
-
<span id="ug-amps-functions"></span><span id="index-0"></span><span id="id1"></span><h1>5. AMPS Functions<a class="headerlink" href="#amps-functions" title="Permalink to this headline">¶</a></h1>
|
|
98
|
-
<p>This section describes the functions installed by default in the AMPS
|
|
99
|
-
server. Additional functions that ship with the AMPS server are
|
|
100
|
-
provided in auxiliary modules, as described in the
|
|
101
|
-
<a class="reference internal" href="auxiliary_modules.html#ug-appendix-auxilliary-modules"><span class="std std-ref">Auxiliary Modules Appendix</span></a>.</p>
|
|
102
|
-
<div class="section" id="amps-function-overview">
|
|
103
|
-
<h2>AMPS Function Overview<a class="headerlink" href="#amps-function-overview" title="Permalink to this headline">¶</a></h2>
|
|
104
|
-
<p>In the AMPS expression language, a function can be used in any
|
|
105
|
-
place an <em>identifier</em> or <em>literal value</em> can be used.</p>
|
|
106
|
-
<p>All AMPS functions return a single value. During evaluation
|
|
107
|
-
of an AMPS expression, AMPS calls the functions in the
|
|
108
|
-
expression and uses the results to evaluate the expression.
|
|
109
|
-
A function may perform type conversion as needed to evaluate
|
|
110
|
-
the expression.</p>
|
|
111
|
-
<p>The results of a call to an AMPS function can be used as the parameter to an
|
|
112
|
-
AMPS function. For example, the following is a valid expression:</p>
|
|
113
|
-
<div class="code highlight-default"><div class="highlight"><pre><span></span><span class="n">REVERSE</span><span class="p">(</span><span class="n">SUBSTR</span><span class="p">(</span><span class="s1">'fandango'</span><span class="p">,</span><span class="mi">5</span><span class="p">))</span> <span class="o">==</span> <span class="s1">'ogna'</span>
|
|
114
|
-
</pre></div>
|
|
115
|
-
</div>
|
|
116
|
-
<p>In this case, AMPS first evaluates the <code class="docutils literal"><span class="pre">SUBSTR</span></code> function, which requests
|
|
117
|
-
the subset of the string <code class="docutils literal"><span class="pre">fandango</span></code>, starting at position <code class="docutils literal"><span class="pre">5</span></code>. That
|
|
118
|
-
function returns <code class="docutils literal"><span class="pre">ango</span></code>. AMPS then uses the string <code class="docutils literal"><span class="pre">ango</span></code> as the
|
|
119
|
-
input to the <code class="docutils literal"><span class="pre">REVERSE</span></code> function, which returns the result <code class="docutils literal"><span class="pre">ogna</span></code>.</p>
|
|
120
|
-
<p>The following table lists the available functions by category:</p>
|
|
121
|
-
<table border="1" class="docutils" id="id2">
|
|
122
|
-
<caption><span class="caption-text"><em>AMPS function categories</em></span><a class="headerlink" href="#id2" title="Permalink to this table">¶</a></caption>
|
|
123
|
-
<colgroup>
|
|
124
|
-
<col width="50%" />
|
|
125
|
-
<col width="50%" />
|
|
126
|
-
</colgroup>
|
|
127
|
-
<thead valign="bottom">
|
|
128
|
-
<tr class="row-odd"><th class="head">Category</th>
|
|
129
|
-
<th class="head">Function Types Provided</th>
|
|
130
|
-
</tr>
|
|
131
|
-
</thead>
|
|
132
|
-
<tbody valign="top">
|
|
133
|
-
<tr class="row-even"><td>String</td>
|
|
134
|
-
<td><a class="reference internal" href="#ug-string-comparison-functions"><span class="std std-ref">String Comparison Functions</span></a></td>
|
|
135
|
-
</tr>
|
|
136
|
-
<tr class="row-odd"><td> </td>
|
|
137
|
-
<td><a class="reference internal" href="#ug-string-to-array-functions"><span class="std std-ref">Converting Arrays to Strings</span></a></td>
|
|
138
|
-
</tr>
|
|
139
|
-
<tr class="row-even"><td> </td>
|
|
140
|
-
<td><a class="reference internal" href="#ug-string-concatenation-functions"><span class="std std-ref">Concatenating Strings</span></a></td>
|
|
141
|
-
</tr>
|
|
142
|
-
<tr class="row-odd"><td> </td>
|
|
143
|
-
<td><a class="reference internal" href="#ug-string-case-management-functions"><span class="std std-ref">Managing String Case</span></a></td>
|
|
144
|
-
</tr>
|
|
145
|
-
<tr class="row-even"><td> </td>
|
|
146
|
-
<td><a class="reference internal" href="#ug-string-replace-functions"><span class="std std-ref">Replacing Text in Strings</span></a></td>
|
|
147
|
-
</tr>
|
|
148
|
-
<tr class="row-odd"><td> </td>
|
|
149
|
-
<td><a class="reference internal" href="#ug-string-manipulation-functions"><span class="std std-ref">String Manipulation Functions</span></a></td>
|
|
150
|
-
</tr>
|
|
151
|
-
<tr class="row-even"><td>Date and
|
|
152
|
-
Time</td>
|
|
153
|
-
<td><p class="first"><a class="reference internal" href="#ug-date-and-time-functions"><span class="std std-ref">Date and Time Manipulation</span></a></p>
|
|
154
|
-
<p class="last"><em>see also</em> <a class="reference internal" href="auxiliary_modules.html#ug-legacy-messaging-compatibility"><span class="std std-ref">Legacy Messaging Compatibility Functions</span></a></p>
|
|
155
|
-
</td>
|
|
156
|
-
</tr>
|
|
157
|
-
<tr class="row-odd"><td>Array
|
|
158
|
-
Reduce</td>
|
|
159
|
-
<td><a class="reference internal" href="#ug-string-to-array-functions"><span class="std std-ref">Converting Arrays to Strings</span></a>
|
|
160
|
-
<a class="reference internal" href="#ug-array-reduce-functions"><span class="std std-ref">Array to Scalar Functions</span></a></td>
|
|
161
|
-
</tr>
|
|
162
|
-
<tr class="row-even"><td>Geospatial</td>
|
|
163
|
-
<td><a class="reference internal" href="#ug-geospatial-functions"><span class="std std-ref">Geospatial Functions</span></a></td>
|
|
164
|
-
</tr>
|
|
165
|
-
<tr class="row-odd"><td>Numeric</td>
|
|
166
|
-
<td><a class="reference internal" href="#ug-numeric-functions"><span class="std std-ref">Numeric Functions</span></a></td>
|
|
167
|
-
</tr>
|
|
168
|
-
<tr class="row-even"><td>Checksum</td>
|
|
169
|
-
<td><a class="reference internal" href="#ug-checksum-functions"><span class="std std-ref">CRC Function</span></a></td>
|
|
170
|
-
</tr>
|
|
171
|
-
<tr class="row-odd"><td>Message</td>
|
|
172
|
-
<td><a class="reference internal" href="#ug-message-functions"><span class="std std-ref">Current Message Functions</span></a></td>
|
|
173
|
-
</tr>
|
|
174
|
-
<tr class="row-even"><td>Client</td>
|
|
175
|
-
<td><a class="reference internal" href="#ug-client-functions"><span class="std std-ref">Client Information Functions</span></a></td>
|
|
176
|
-
</tr>
|
|
177
|
-
<tr class="row-odd"><td>Working
|
|
178
|
-
with NULL
|
|
179
|
-
Values</td>
|
|
180
|
-
<td><a class="reference internal" href="#ug-coalesce-function"><span class="std std-ref">Finding Non-NULL Values</span></a></td>
|
|
181
|
-
</tr>
|
|
182
|
-
<tr class="row-even"><td>AMPS
|
|
183
|
-
Information</td>
|
|
184
|
-
<td><a class="reference internal" href="#ug-amps-information-functions"><span class="std std-ref">AMPS Information Functions</span></a></td>
|
|
185
|
-
</tr>
|
|
186
|
-
<tr class="row-odd"><td>Typed
|
|
187
|
-
Value
|
|
188
|
-
Creation</td>
|
|
189
|
-
<td><a class="reference internal" href="#ug-value-construction-functions"><span class="std std-ref">Typed Value Construction Shortcuts</span></a></td>
|
|
190
|
-
</tr>
|
|
191
|
-
</tbody>
|
|
192
|
-
</table>
|
|
193
|
-
<div class="section" id="deterministic-and-non-deterministic-functions">
|
|
194
|
-
<span id="ug-ndf-behavior"></span><h3>Deterministic and Non-Deterministic Functions<a class="headerlink" href="#deterministic-and-non-deterministic-functions" title="Permalink to this headline">¶</a></h3>
|
|
195
|
-
<p>The AMPS server distinguishes between functions that produce a consistent
|
|
196
|
-
value for the same message (<em>deterministic</em> functions) and functions that may
|
|
197
|
-
produce a different value each time it is called, even if the function has the
|
|
198
|
-
same input and is called for the update to the same message (<em>non-deterministic</em>
|
|
199
|
-
functions).</p>
|
|
200
|
-
<p>There are no restrictions on the use of deterministic functions, since each
|
|
201
|
-
time that they are called for a given message (or a given update to a message),
|
|
202
|
-
they will return a consistent result.</p>
|
|
203
|
-
<p>Some features of AMPS rely on being able to evaluate an expression
|
|
204
|
-
in a consistent way for a given message. A function that can produce a
|
|
205
|
-
different value each time that it is called cannot be used in those situations:
|
|
206
|
-
otherwise, AMPS could produce incorrect (or meaningless) results.</p>
|
|
207
|
-
<p>In practice, this means that a non-deterministic function:</p>
|
|
208
|
-
<ul class="simple">
|
|
209
|
-
<li>Cannot be used in the filter of a subscription that requests out of
|
|
210
|
-
focus (oof) notifications.</li>
|
|
211
|
-
<li>Cannot be used in the filter of an aggregated subscription (although
|
|
212
|
-
a non-deterministic function is allowed in the filter of an
|
|
213
|
-
aggregated <em>query</em>, since the filter will only be evaluated once per
|
|
214
|
-
message).</li>
|
|
215
|
-
<li>Cannot be used in an aggregate function (aggregate functions are available
|
|
216
|
-
in views, aggregated subscriptions, and aggregated queries).</li>
|
|
217
|
-
<li>Cannot be used in the filter for a <code class="docutils literal"><span class="pre">sow_and_subscribe</span></code>
|
|
218
|
-
command that uses pagination (that is, a command that specifies
|
|
219
|
-
<code class="docutils literal"><span class="pre">top_n</span></code>/<code class="docutils literal"><span class="pre">skip_n</span></code>/<code class="docutils literal"><span class="pre">OrderBy</span></code>).</li>
|
|
220
|
-
<li>Cannot be used in the filter for a queue or the barrier expression
|
|
221
|
-
for a queue.</li>
|
|
222
|
-
<li>Cannot be used in the filter for a view or conflated topic.</li>
|
|
223
|
-
<li>Cannot be used in a replication filter.</li>
|
|
224
|
-
</ul>
|
|
225
|
-
<p>In this release, <code class="docutils literal"><span class="pre">LAST_READ</span></code>, <code class="docutils literal"><span class="pre">UNIX_TIMESTAMP</span></code> and <code class="docutils literal"><span class="pre">VALUE_LOOKUP</span></code>
|
|
226
|
-
are non-deterministic. The other functions provided with AMPS (both
|
|
227
|
-
built in and provided through auxiliary modules) are deterministic.</p>
|
|
228
|
-
</div>
|
|
229
|
-
</div>
|
|
230
|
-
<div class="section" id="string-comparison-functions">
|
|
231
|
-
<span id="ug-string-comparison-functions"></span><h2>String Comparison Functions<a class="headerlink" href="#string-comparison-functions" title="Permalink to this headline">¶</a></h2>
|
|
232
|
-
<p>AMPS includes several types of string comparison operators:</p>
|
|
233
|
-
<ul class="simple">
|
|
234
|
-
<li><strong>Case-Sensitive Exact Matches</strong> - The <code class="docutils literal"><span class="pre">IN</span></code>, <code class="docutils literal"><span class="pre">=</span></code>, <code class="docutils literal"><span class="pre">BEGINS</span> <span class="pre">WITH</span></code>,
|
|
235
|
-
<code class="docutils literal"><span class="pre">ENDS</span> <span class="pre">WITH</span></code>, and <code class="docutils literal"><span class="pre">INSTR</span></code> operators do literal matching on the
|
|
236
|
-
contents of a string. These operators are case-sensitive.</li>
|
|
237
|
-
<li><strong>Case-Insensitive Exact Matches</strong> - AMPS also provides two
|
|
238
|
-
case-insensitive operators: <code class="docutils literal"><span class="pre">INSTR_I</span></code>, a case-insensitive version
|
|
239
|
-
of <code class="docutils literal"><span class="pre">INSTR</span></code>, and a case-insensitive equality operator,
|
|
240
|
-
<code class="docutils literal"><span class="pre">STREQUAL_I</span></code>.</li>
|
|
241
|
-
<li><strong>Regular Expression Matches</strong> - AMPS also provides full regular
|
|
242
|
-
expression matching using the <code class="docutils literal"><span class="pre">LIKE</span></code> operator, described in
|
|
243
|
-
<a class="reference internal" href="amps_expressions.html#ug-filter-syntax-regular-expression"><span class="std std-ref">Regular Expression Matching</span></a> and
|
|
244
|
-
<a class="reference internal" href="amps_expressions.html#ug-regular-expressions"><span class="std std-ref">Using Regular Expressions in AMPS</span></a>.</li>
|
|
245
|
-
</ul>
|
|
246
|
-
<p>The <code class="docutils literal"><span class="pre">=</span></code> operator tests whether a field exactly matches the literal
|
|
247
|
-
string provided.</p>
|
|
248
|
-
<div class="code highlight-default"><div class="highlight"><pre><span></span><span class="o">/</span><span class="n">status</span> <span class="o">=</span> <span class="s1">'available'</span>
|
|
249
|
-
|
|
250
|
-
<span class="o">/</span><span class="n">orderId</span> <span class="o">=</span> <span class="s1">'F327AC'</span>
|
|
251
|
-
</pre></div>
|
|
252
|
-
</div>
|
|
253
|
-
<p><code class="docutils literal"><span class="pre">BEGINS</span> <span class="pre">WITH</span></code> and <code class="docutils literal"><span class="pre">ENDS</span> <span class="pre">WITH</span></code> test whether a field begins or ends
|
|
254
|
-
with the literal string provided. The operators return <code class="docutils literal"><span class="pre">TRUE</span></code> or
|
|
255
|
-
<code class="docutils literal"><span class="pre">FALSE</span></code>.</p>
|
|
256
|
-
<div class="code highlight-default"><div class="highlight"><pre><span></span><span class="o">/</span><span class="n">Department</span> <span class="n">BEGINS</span> <span class="n">WITH</span> <span class="p">(</span><span class="s1">'Engineering'</span><span class="p">)</span>
|
|
257
|
-
|
|
258
|
-
<span class="o">/</span><span class="n">path</span> <span class="n">NOT</span> <span class="n">BEGINS</span> <span class="n">WITH</span> <span class="p">(</span><span class="s1">'/public/dropbox'</span><span class="p">)</span>
|
|
259
|
-
|
|
260
|
-
<span class="o">/</span><span class="n">filename</span> <span class="n">ENDS</span> <span class="n">WITH</span> <span class="p">(</span><span class="s1">'txt'</span><span class="p">)</span>
|
|
261
|
-
|
|
262
|
-
<span class="o">/</span><span class="n">price</span> <span class="n">NOT</span> <span class="n">ENDS</span> <span class="n">WITH</span> <span class="p">(</span><span class="s1">'99'</span><span class="p">)</span>
|
|
263
|
-
</pre></div>
|
|
264
|
-
</div>
|
|
265
|
-
<p>AMPS allows you to use set comparisons with <code class="docutils literal"><span class="pre">BEGINS</span> <span class="pre">WITH</span></code> and
|
|
266
|
-
<code class="docutils literal"><span class="pre">ENDS</span> <span class="pre">WITH</span></code>. In this case, the filter matches if the string in the
|
|
267
|
-
field begins or ends with any of the strings in the set.</p>
|
|
268
|
-
<div class="code highlight-default"><div class="highlight"><pre><span></span><span class="o">/</span><span class="n">Department</span> <span class="n">BEGINS</span> <span class="n">WITH</span> <span class="p">(</span><span class="s1">'Engineering'</span><span class="p">,</span> <span class="s1">'Research'</span><span class="p">,</span> <span class="s1">'Technical'</span><span class="p">)</span>
|
|
269
|
-
|
|
270
|
-
<span class="o">/</span><span class="n">filename</span> <span class="n">ENDS</span> <span class="n">WITH</span> <span class="p">(</span><span class="s1">'gif'</span><span class="p">,</span> <span class="s1">'png'</span><span class="p">,</span> <span class="s1">'jpg'</span><span class="p">)</span>
|
|
271
|
-
</pre></div>
|
|
272
|
-
</div>
|
|
273
|
-
<p>The <code class="docutils literal"><span class="pre">INSTR</span></code> operator allows you to check to see if one string occurs
|
|
274
|
-
within another string. For this operator, you provide two string values.
|
|
275
|
-
If the second string occurs within the first string, <code class="docutils literal"><span class="pre">INSTR</span></code> returns
|
|
276
|
-
the position at which the second string starts, or 0 if the second
|
|
277
|
-
string does not occur within the first string. Notice that the first
|
|
278
|
-
character of the string is 1 (not 0). For example, the expression below
|
|
279
|
-
tests whether the string <code class="docutils literal"><span class="pre">critical</span></code> occurs within the <code class="docutils literal"><span class="pre">/eventLevels</span></code>
|
|
280
|
-
field.</p>
|
|
281
|
-
<div class="code highlight-default"><div class="highlight"><pre><span></span><span class="n">INSTR</span><span class="p">(</span><span class="o">/</span><span class="n">eventLevels</span><span class="p">,</span> <span class="s2">"critical"</span><span class="p">)</span> <span class="o">!=</span> <span class="mi">0</span>
|
|
282
|
-
</pre></div>
|
|
283
|
-
</div>
|
|
284
|
-
<p>AMPS also provides <code class="docutils literal"><span class="pre">INSTR_I</span></code> and <code class="docutils literal"><span class="pre">STREQUAL_I</span></code> functions for performing
|
|
285
|
-
case-insensitive comparisons.</p>
|
|
286
|
-
<div class="code highlight-default"><div class="highlight"><pre><span></span><span class="n">STREQUAL_I</span><span class="p">(</span><span class="o">/</span><span class="n">couponCode</span><span class="p">,</span> <span class="s1">'QED'</span><span class="p">)</span> <span class="o">==</span> <span class="mi">1</span>
|
|
287
|
-
|
|
288
|
-
<span class="n">INSTR_I</span><span class="p">(</span><span class="o">/</span><span class="n">symbolList</span><span class="p">,</span> <span class="s1">'MSFT'</span><span class="p">)</span> <span class="o">!=</span> <span class="mi">0</span>
|
|
289
|
-
</pre></div>
|
|
290
|
-
</div>
|
|
291
|
-
<p>The following table lists the string comparison functions and operators in AMPS:</p>
|
|
292
|
-
<table border="1" class="docutils" id="id3">
|
|
293
|
-
<caption><span class="caption-text"><em>AMPS string comparison</em></span><a class="headerlink" href="#id3" title="Permalink to this table">¶</a></caption>
|
|
294
|
-
<colgroup>
|
|
295
|
-
<col width="33%" />
|
|
296
|
-
<col width="33%" />
|
|
297
|
-
<col width="33%" />
|
|
298
|
-
</colgroup>
|
|
299
|
-
<thead valign="bottom">
|
|
300
|
-
<tr class="row-odd"><th class="head">Function or Operator</th>
|
|
301
|
-
<th class="head">Parameters</th>
|
|
302
|
-
<th class="head">Description</th>
|
|
303
|
-
</tr>
|
|
304
|
-
</thead>
|
|
305
|
-
<tbody valign="top">
|
|
306
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">=</span></code></td>
|
|
307
|
-
<td><p class="first">The string to be
|
|
308
|
-
compared</p>
|
|
309
|
-
<p class="last">The string to compare</p>
|
|
310
|
-
</td>
|
|
311
|
-
<td><p class="first"><em>Case-sensitive</em></p>
|
|
312
|
-
<p>Returns true if the string to be compared is
|
|
313
|
-
identical to the string to compare.</p>
|
|
314
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="o">/</span><span class="n">state</span> <span class="o">=</span> <span class="s1">'Ohio'</span>
|
|
315
|
-
</pre></div>
|
|
316
|
-
</div>
|
|
317
|
-
</td>
|
|
318
|
-
</tr>
|
|
319
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">BEGINS</span> <span class="pre">WITH</span></code></td>
|
|
320
|
-
<td><p class="first">The string to be
|
|
321
|
-
compared</p>
|
|
322
|
-
<p class="last">A list of strings to
|
|
323
|
-
compare</p>
|
|
324
|
-
</td>
|
|
325
|
-
<td><p class="first"><em>Case-sensitive</em></p>
|
|
326
|
-
<p>Returns true if the string to be compared
|
|
327
|
-
begins with any of the strings in the list.</p>
|
|
328
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="o">/</span><span class="n">state</span>
|
|
329
|
-
<span class="n">BEGINS</span> <span class="n">WITH</span> <span class="p">(</span><span class="s1">'North'</span><span class="p">,</span> <span class="s1">'South'</span><span class="p">)</span>
|
|
330
|
-
</pre></div>
|
|
331
|
-
</div>
|
|
332
|
-
</td>
|
|
333
|
-
</tr>
|
|
334
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">ENDS</span> <span class="pre">WITH</span></code></td>
|
|
335
|
-
<td><p class="first">The string to be
|
|
336
|
-
compared</p>
|
|
337
|
-
<p class="last">A list of strings to
|
|
338
|
-
compare</p>
|
|
339
|
-
</td>
|
|
340
|
-
<td><p class="first"><em>Case-sensitive</em></p>
|
|
341
|
-
<p>Returns true if the string to be compared
|
|
342
|
-
ends with any of the strings in the list.</p>
|
|
343
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="o">/</span><span class="n">state</span>
|
|
344
|
-
<span class="n">ENDS</span> <span class="n">WITH</span> <span class="p">(</span><span class="s1">'Dakota'</span><span class="p">,</span> <span class="s1">'Carolina'</span><span class="p">)</span>
|
|
345
|
-
</pre></div>
|
|
346
|
-
</div>
|
|
347
|
-
</td>
|
|
348
|
-
</tr>
|
|
349
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">INSTR</span></code></td>
|
|
350
|
-
<td><p class="first">The string to be
|
|
351
|
-
compared</p>
|
|
352
|
-
<p class="last">The string to compare</p>
|
|
353
|
-
</td>
|
|
354
|
-
<td><p class="first"><em>Case-sensitive</em></p>
|
|
355
|
-
<p>Returns the position at which the second string
|
|
356
|
-
starts, or 0 if the second string does not
|
|
357
|
-
occur within the first string. This function is
|
|
358
|
-
not unicode-aware.</p>
|
|
359
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">INSTR</span><span class="p">(</span><span class="o">/</span><span class="n">state</span><span class="p">,</span> <span class="s1">'i'</span><span class="p">)</span> <span class="o">!=</span> <span class="mi">0</span>
|
|
360
|
-
</pre></div>
|
|
361
|
-
</div>
|
|
362
|
-
</td>
|
|
363
|
-
</tr>
|
|
364
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">INSTR_I</span></code></td>
|
|
365
|
-
<td><p class="first">The string to be
|
|
366
|
-
compared</p>
|
|
367
|
-
<p class="last">The string to compare</p>
|
|
368
|
-
</td>
|
|
369
|
-
<td><p class="first"><em>Case-insensitive</em></p>
|
|
370
|
-
<p>Returns the position at which the second string
|
|
371
|
-
starts, or 0 if the second string does not
|
|
372
|
-
occur within the first string. This function is
|
|
373
|
-
not unicode-aware.</p>
|
|
374
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">INSTR_I</span><span class="p">(</span><span class="o">/</span><span class="n">state</span><span class="p">,</span> <span class="s1">'i'</span><span class="p">)</span> <span class="o">!=</span> <span class="mi">0</span>
|
|
375
|
-
</pre></div>
|
|
376
|
-
</div>
|
|
377
|
-
</td>
|
|
378
|
-
</tr>
|
|
379
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">STREQUAL_I</span></code></td>
|
|
380
|
-
<td><p class="first">The string to be
|
|
381
|
-
compared</p>
|
|
382
|
-
<p class="last">The string to compare</p>
|
|
383
|
-
</td>
|
|
384
|
-
<td><p class="first"><em>Case-insensitive</em></p>
|
|
385
|
-
<p>Returns true if, when both strings are
|
|
386
|
-
transformed to the same case, the string to be
|
|
387
|
-
compared is identical to the string to compare.
|
|
388
|
-
This function is not unicode-aware.</p>
|
|
389
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">STREQUAL_I</span><span class="p">(</span><span class="o">/</span><span class="n">state</span><span class="p">,</span> <span class="s1">'oHIO'</span><span class="p">)</span> <span class="o">!=</span> <span class="mi">0</span>
|
|
390
|
-
</pre></div>
|
|
391
|
-
</div>
|
|
392
|
-
</td>
|
|
393
|
-
</tr>
|
|
394
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">LENGTH</span></code></td>
|
|
395
|
-
<td>The string to be counted</td>
|
|
396
|
-
<td><p class="first">Returns the length of the provided string.</p>
|
|
397
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">LENGTH</span><span class="p">(</span><span class="o">/</span><span class="n">streetAddress</span><span class="p">)</span> <span class="o">></span> <span class="mi">50</span>
|
|
398
|
-
</pre></div>
|
|
399
|
-
</div>
|
|
400
|
-
</td>
|
|
401
|
-
</tr>
|
|
402
|
-
</tbody>
|
|
403
|
-
</table>
|
|
404
|
-
</div>
|
|
405
|
-
<div class="section" id="concatenating-strings">
|
|
406
|
-
<span id="ug-string-concatenation-functions"></span><h2>Concatenating Strings<a class="headerlink" href="#concatenating-strings" title="Permalink to this headline">¶</a></h2>
|
|
407
|
-
<p id="index-1">AMPS provides the <code class="docutils literal"><span class="pre">CONCAT</span></code> function, that can be used for
|
|
408
|
-
constructing strings. The <code class="docutils literal"><span class="pre">CONCAT</span></code> function takes any number of
|
|
409
|
-
parameters and returns a string constructed from those parameters. The
|
|
410
|
-
function can accept both XPath identifiers and literal values.</p>
|
|
411
|
-
<p>The <code class="docutils literal"><span class="pre">CONCAT</span></code> function can be used in any AMPS expression that uses a
|
|
412
|
-
string. For example, you could <code class="docutils literal"><span class="pre">CONCAT</span></code> in a filter as follows:</p>
|
|
413
|
-
<div class="code highlight-default"><div class="highlight"><pre><span></span><span class="n">CONCAT</span><span class="p">(</span><span class="o">/</span><span class="n">firstName</span><span class="p">,</span> <span class="s2">" "</span><span class="p">,</span> <span class="o">/</span><span class="n">lastName</span><span class="p">)</span> <span class="o">=</span> <span class="s1">'George Orwell'</span>
|
|
414
|
-
</pre></div>
|
|
415
|
-
</div>
|
|
416
|
-
<p><code class="docutils literal"><span class="pre">CONCAT</span></code> can be combined with other expressions, including conditional
|
|
417
|
-
expressions. A <code class="docutils literal"><span class="pre">mailingAddressName</span></code> field in a view could be
|
|
418
|
-
constructed as follows:</p>
|
|
419
|
-
<div class="highlight-xml"><div class="highlight"><pre><span></span><span class="nt"><Field></span>CONCAT(/firstName, " ", /lastName,
|
|
420
|
-
IF(/suffix NOT NULL, CONCAT(", ", /suffix), "") )
|
|
421
|
-
AS /mailingAddressName<span class="nt"></Field></span>
|
|
422
|
-
</pre></div>
|
|
423
|
-
</div>
|
|
424
|
-
</div>
|
|
425
|
-
<div class="section" id="managing-string-case">
|
|
426
|
-
<span id="ug-string-case-management-functions"></span><span id="index-2"></span><h2>Managing String Case<a class="headerlink" href="#managing-string-case" title="Permalink to this headline">¶</a></h2>
|
|
427
|
-
<p>AMPS provides the <code class="docutils literal"><span class="pre">UPPER</span></code> and <code class="docutils literal"><span class="pre">LOWER</span></code> functions to produce a string
|
|
428
|
-
in a specific case. This can be useful when constructing fields, or when
|
|
429
|
-
an expression needs case-insensitive comparisons against a group of
|
|
430
|
-
values using the <code class="docutils literal"><span class="pre">IN</span></code> clause.</p>
|
|
431
|
-
<p>As described above in
|
|
432
|
-
<a class="reference internal" href="#ug-string-comparison-functions"><span class="std std-ref">String Comparison Functions</span></a>, AMPS
|
|
433
|
-
provides <code class="docutils literal"><span class="pre">INSTR_I</span></code> and <code class="docutils literal"><span class="pre">STREQUAL_I</span></code> functions for performing case-insensitive
|
|
434
|
-
comparisons. In some cases, particularly when using strings with the <code class="docutils literal"><span class="pre">IN</span></code>
|
|
435
|
-
clause, it is more efficient to simply convert the string to a known
|
|
436
|
-
case.</p>
|
|
437
|
-
<p>The <code class="docutils literal"><span class="pre">UPPER</span></code> and <code class="docutils literal"><span class="pre">LOWER</span></code> functions are not unicode-aware; these
|
|
438
|
-
functions will not produce the correct data when used with multibyte
|
|
439
|
-
characters. For example, you might compare an incoming field of unknown
|
|
440
|
-
case to a set of known values as follows:</p>
|
|
441
|
-
<div class="code highlight-default"><div class="highlight"><pre><span></span><span class="n">UPPER</span><span class="p">(</span><span class="o">/</span><span class="n">ticker</span><span class="p">)</span> <span class="n">IN</span> <span class="p">(</span><span class="s1">'MSFT'</span><span class="p">,</span> <span class="s1">'IBM'</span><span class="p">,</span> <span class="s1">'RHAT'</span><span class="p">,</span> <span class="s1">'DIS'</span><span class="p">)</span>
|
|
442
|
-
</pre></div>
|
|
443
|
-
</div>
|
|
444
|
-
<table border="1" class="docutils" id="id4">
|
|
445
|
-
<caption><span class="caption-text"><em>AMPS string case functions</em></span><a class="headerlink" href="#id4" title="Permalink to this table">¶</a></caption>
|
|
446
|
-
<colgroup>
|
|
447
|
-
<col width="33%" />
|
|
448
|
-
<col width="33%" />
|
|
449
|
-
<col width="33%" />
|
|
450
|
-
</colgroup>
|
|
451
|
-
<thead valign="bottom">
|
|
452
|
-
<tr class="row-odd"><th class="head">Function</th>
|
|
453
|
-
<th class="head">Parameters</th>
|
|
454
|
-
<th class="head">Description</th>
|
|
455
|
-
</tr>
|
|
456
|
-
</thead>
|
|
457
|
-
<tbody valign="top">
|
|
458
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">UPPER</span></code></td>
|
|
459
|
-
<td>The string to transform</td>
|
|
460
|
-
<td>Returns the input string, transformed to
|
|
461
|
-
uppercase. This function is not unicode
|
|
462
|
-
aware.</td>
|
|
463
|
-
</tr>
|
|
464
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">LOWER</span></code></td>
|
|
465
|
-
<td>The string to transform</td>
|
|
466
|
-
<td>Returns the input string, transformed to
|
|
467
|
-
lowercase. This function is not unicode
|
|
468
|
-
aware.</td>
|
|
469
|
-
</tr>
|
|
470
|
-
</tbody>
|
|
471
|
-
</table>
|
|
472
|
-
</div>
|
|
473
|
-
<div class="section" id="replacing-text-in-strings">
|
|
474
|
-
<span id="ug-string-replace-functions"></span><h2>Replacing Text in Strings<a class="headerlink" href="#replacing-text-in-strings" title="Permalink to this headline">¶</a></h2>
|
|
475
|
-
<p>AMPS provides a pair of functions, <code class="docutils literal"><span class="pre">REPLACE</span></code> and <code class="docutils literal"><span class="pre">REGEXP_REPLACE</span></code>, that replace text within strings.
|
|
476
|
-
The <code class="docutils literal"><span class="pre">REPLACE</span></code> function does a literal match of the string to be replaced, while <code class="docutils literal"><span class="pre">REGEXP_REPLACE</span></code>
|
|
477
|
-
uses a PCRE pattern to find the string to be replaced.</p>
|
|
478
|
-
<p>The following expressions all evaluate as true:</p>
|
|
479
|
-
<div class="code highlight-default"><div class="highlight"><pre><span></span><span class="n">REPLACE</span><span class="p">(</span><span class="s1">'fandango'</span><span class="p">,</span> <span class="s1">'dan'</span><span class="p">,</span> <span class="s1">'din'</span><span class="p">)</span> <span class="o">==</span> <span class="s1">'fandingo'</span>
|
|
480
|
-
|
|
481
|
-
<span class="n">REGEXP_REPLACE</span><span class="p">(</span><span class="s1">'fandango'</span><span class="p">,</span><span class="s1">'n.*n'</span><span class="p">,</span> <span class="s1">'r'</span><span class="p">)</span> <span class="o">==</span> <span class="s1">'fargo'</span>
|
|
482
|
-
</pre></div>
|
|
483
|
-
</div>
|
|
484
|
-
<table border="1" class="docutils" id="id5">
|
|
485
|
-
<caption><span class="caption-text"><em>AMPS string replacement functions</em></span><a class="headerlink" href="#id5" title="Permalink to this table">¶</a></caption>
|
|
486
|
-
<colgroup>
|
|
487
|
-
<col width="33%" />
|
|
488
|
-
<col width="33%" />
|
|
489
|
-
<col width="33%" />
|
|
490
|
-
</colgroup>
|
|
491
|
-
<thead valign="bottom">
|
|
492
|
-
<tr class="row-odd"><th class="head">Function</th>
|
|
493
|
-
<th class="head">Parameters</th>
|
|
494
|
-
<th class="head">Description</th>
|
|
495
|
-
</tr>
|
|
496
|
-
</thead>
|
|
497
|
-
<tbody valign="top">
|
|
498
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">REPLACE</span></code></td>
|
|
499
|
-
<td><em>string to transform,</em>
|
|
500
|
-
<em>string to match,</em>
|
|
501
|
-
<em>replacement text</em></td>
|
|
502
|
-
<td>Returns the input string, with all occurrences of the <em>string to match</em>
|
|
503
|
-
replaced with the <em>replacement text</em></td>
|
|
504
|
-
</tr>
|
|
505
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">REGEXP_REPLACE</span></code></td>
|
|
506
|
-
<td><em>string to transform,</em>
|
|
507
|
-
<em>pattern to match,</em>
|
|
508
|
-
<em>replacement text</em></td>
|
|
509
|
-
<td>Returns the input string, with all occurrences of the
|
|
510
|
-
<em>pattern to match</em> replaced with the <em>replacement text</em></td>
|
|
511
|
-
</tr>
|
|
512
|
-
</tbody>
|
|
513
|
-
</table>
|
|
514
|
-
</div>
|
|
515
|
-
<div class="section" id="string-manipulation-functions">
|
|
516
|
-
<span id="ug-string-manipulation-functions"></span><h2>String Manipulation Functions<a class="headerlink" href="#string-manipulation-functions" title="Permalink to this headline">¶</a></h2>
|
|
517
|
-
<p id="index-3">AMPS provides the <code class="docutils literal"><span class="pre">SUBSTR</span></code> function, that can be used
|
|
518
|
-
for returning a subset of a string. There are two forms of this
|
|
519
|
-
function.</p>
|
|
520
|
-
<p>The first form takes the source string and the position at which to
|
|
521
|
-
begin the substring. You can use a negative number to count backward
|
|
522
|
-
from the end of the string. AMPS returns a string that starts at the
|
|
523
|
-
specified position and goes to the end of the string. If the provided
|
|
524
|
-
position is before the beginning of the string, AMPS starts at the
|
|
525
|
-
beginning of the string, returning the full string. If the provided position
|
|
526
|
-
is past the end of the string, AMPS returns a zero-length string, which
|
|
527
|
-
evaluates to <code class="docutils literal"><span class="pre">NULL</span></code>.</p>
|
|
528
|
-
<p>For example, the following expressions are all <code class="docutils literal"><span class="pre">TRUE</span></code>:</p>
|
|
529
|
-
<div class="code highlight-default"><div class="highlight"><pre><span></span><span class="n">SUBSTR</span><span class="p">(</span><span class="s2">"fandango"</span><span class="p">,</span> <span class="mi">4</span><span class="p">)</span> <span class="o">==</span> <span class="s2">"dango"</span>
|
|
530
|
-
|
|
531
|
-
<span class="n">SUBSTR</span><span class="p">(</span><span class="s2">"fandango"</span><span class="p">,</span> <span class="mi">1</span><span class="p">)</span> <span class="o">==</span> <span class="s2">"fandango"</span>
|
|
532
|
-
|
|
533
|
-
<span class="n">SUBSTR</span><span class="p">(</span><span class="s2">"fandango"</span><span class="p">,</span> <span class="o">-</span><span class="mi">2</span><span class="p">)</span> <span class="o">==</span> <span class="s2">"go"</span>
|
|
534
|
-
|
|
535
|
-
<span class="n">SUBSTR</span><span class="p">(</span><span class="s2">"fandango"</span><span class="p">,</span> <span class="o">-</span><span class="mi">99</span><span class="p">)</span> <span class="o">==</span> <span class="s2">"fandango"</span>
|
|
536
|
-
|
|
537
|
-
<span class="n">SUBSTR</span><span class="p">(</span><span class="s2">"fandango"</span><span class="p">,</span> <span class="mi">99</span><span class="p">)</span> <span class="n">IS</span> <span class="n">NULL</span>
|
|
538
|
-
</pre></div>
|
|
539
|
-
</div>
|
|
540
|
-
<p>The second form of <code class="docutils literal"><span class="pre">SUBSTR</span></code> takes the source string, the position at
|
|
541
|
-
which to begin the substring, and the length of the substring. Notice
|
|
542
|
-
that <code class="docutils literal"><span class="pre">SUBSTR</span></code> considers the first character in the string to be
|
|
543
|
-
position <code class="docutils literal"><span class="pre">1</span></code> (rather than position <code class="docutils literal"><span class="pre">0</span></code>), as demonstrated below. AMPS
|
|
544
|
-
will not return a string larger than the source string. As with the
|
|
545
|
-
two-argument form, if the starting position is before the beginning of
|
|
546
|
-
the string, AMPS starts at the beginning of the string. If the starting
|
|
547
|
-
position is after the end of the source string, AMPS returns an empty
|
|
548
|
-
string which evaluates to <code class="docutils literal"><span class="pre">NULL</span></code>.</p>
|
|
549
|
-
<p>For example, the following expressions are all true:</p>
|
|
550
|
-
<div class="code highlight-default"><div class="highlight"><pre><span></span><span class="n">SUBSTR</span><span class="p">(</span><span class="s2">"fandango"</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">3</span><span class="p">)</span> <span class="o">==</span> <span class="s2">"fan"</span>
|
|
551
|
-
|
|
552
|
-
<span class="n">SUBSTR</span><span class="p">(</span><span class="s2">"fandango"</span><span class="p">,</span> <span class="o">-</span><span class="mi">4</span><span class="p">,</span> <span class="mi">2</span><span class="p">)</span> <span class="o">==</span> <span class="s2">"an"</span>
|
|
553
|
-
|
|
554
|
-
<span class="n">SUBSTR</span><span class="p">(</span><span class="s2">"fandango"</span><span class="p">,</span> <span class="o">-</span><span class="mi">8</span><span class="p">,</span> <span class="mi">8</span><span class="p">)</span> <span class="o">==</span> <span class="s2">"fandango"</span>
|
|
555
|
-
|
|
556
|
-
<span class="n">SUBSTR</span><span class="p">(</span><span class="s2">"fandango"</span><span class="p">,</span> <span class="o">-</span><span class="mi">23</span><span class="p">,</span> <span class="mi">3</span><span class="p">)</span> <span class="o">==</span> <span class="s2">"fan"</span>
|
|
557
|
-
|
|
558
|
-
<span class="n">SUBSTR</span><span class="p">(</span><span class="s2">"fandango"</span><span class="p">,</span> <span class="mi">99</span><span class="p">,</span> <span class="mi">8</span><span class="p">)</span> <span class="n">IS</span> <span class="n">NULL</span>
|
|
559
|
-
</pre></div>
|
|
560
|
-
</div>
|
|
561
|
-
<p>AMPS also provides simplified forms of <code class="docutils literal"><span class="pre">SUBSTR</span></code>,
|
|
562
|
-
which simply take the leftmost or rightmost
|
|
563
|
-
characters from a string. For example, the
|
|
564
|
-
following expressions all evaluate as true:</p>
|
|
565
|
-
<div class="code highlight-default"><div class="highlight"><pre><span></span><span class="n">LEFT</span><span class="p">(</span><span class="s2">"fandango"</span><span class="p">,</span> <span class="mi">3</span><span class="p">)</span> <span class="o">==</span> <span class="s2">"fan"</span>
|
|
566
|
-
|
|
567
|
-
<span class="n">RIGHT</span><span class="p">(</span><span class="s2">"fandango"</span><span class="p">,</span> <span class="mi">2</span><span class="p">)</span> <span class="o">==</span> <span class="s2">"go"</span>
|
|
568
|
-
</pre></div>
|
|
569
|
-
</div>
|
|
570
|
-
<p>AMPS provides a set of functions that work with whitespace or
|
|
571
|
-
other delimiter characters. For example, the following
|
|
572
|
-
expressions are all true:</p>
|
|
573
|
-
<div class="code highlight-default"><div class="highlight"><pre><span></span><span class="n">TRIM</span><span class="p">(</span><span class="s2">" Lancelot "</span><span class="p">)</span> <span class="o">==</span> <span class="s2">"Lancelot"</span>
|
|
574
|
-
|
|
575
|
-
<span class="n">LTRIM</span><span class="p">(</span><span class="s2">" Lancelot "</span><span class="p">)</span> <span class="o">==</span> <span class="s2">"Lancelot "</span>
|
|
576
|
-
|
|
577
|
-
<span class="n">RTRIM</span><span class="p">(</span><span class="s2">" Lancelot "</span><span class="p">)</span> <span class="o">==</span> <span class="s2">" Lancelot"</span>
|
|
578
|
-
</pre></div>
|
|
579
|
-
</div>
|
|
580
|
-
<p>These functions accept an optional second parameter that
|
|
581
|
-
specifies the delimiters to remove:</p>
|
|
582
|
-
<div class="code highlight-default"><div class="highlight"><pre><span></span><span class="n">TRIM</span><span class="p">(</span><span class="s2">"=@=Lancelot=@="</span><span class="p">,</span> <span class="s2">"=@"</span><span class="p">)</span> <span class="o">==</span> <span class="s2">"Lancelot"</span>
|
|
583
|
-
</pre></div>
|
|
584
|
-
</div>
|
|
585
|
-
<p>The <code class="docutils literal"><span class="pre">REVERSE</span></code> function simply reverses the input string:</p>
|
|
586
|
-
<div class="code highlight-default"><div class="highlight"><pre><span></span><span class="n">REVERSE</span><span class="p">(</span><span class="s2">"fandango"</span><span class="p">)</span> <span class="o">==</span> <span class="s2">"ognadnaf"</span>
|
|
587
|
-
</pre></div>
|
|
588
|
-
</div>
|
|
589
|
-
<table border="1" class="docutils" id="id6">
|
|
590
|
-
<caption><span class="caption-text"><em>AMPS string manipulation functions</em></span><a class="headerlink" href="#id6" title="Permalink to this table">¶</a></caption>
|
|
591
|
-
<colgroup>
|
|
592
|
-
<col width="33%" />
|
|
593
|
-
<col width="33%" />
|
|
594
|
-
<col width="33%" />
|
|
595
|
-
</colgroup>
|
|
596
|
-
<thead valign="bottom">
|
|
597
|
-
<tr class="row-odd"><th class="head">Function</th>
|
|
598
|
-
<th class="head">Parameters</th>
|
|
599
|
-
<th class="head">Description</th>
|
|
600
|
-
</tr>
|
|
601
|
-
</thead>
|
|
602
|
-
<tbody valign="top">
|
|
603
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">SUBSTR</span></code></td>
|
|
604
|
-
<td><em>string to process</em>,
|
|
605
|
-
<em>starting position</em>,
|
|
606
|
-
[<em>length</em>]</td>
|
|
607
|
-
<td>Returns a portion of the input string, starting at the <em>starting
|
|
608
|
-
position</em> and ending after the specified <em>length</em>. If the <em>length</em>
|
|
609
|
-
is not provided, returns the portion of the string from the <em>starting
|
|
610
|
-
position</em> to the end of the string.</td>
|
|
611
|
-
</tr>
|
|
612
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">TRIM</span></code></td>
|
|
613
|
-
<td><em>string to transform,</em>
|
|
614
|
-
[<em>characters to trim</em>]</td>
|
|
615
|
-
<td><p class="first">Returns the input string, with all leading and trailing characters in
|
|
616
|
-
the set of <em>characters to trim</em> removed.</p>
|
|
617
|
-
<p class="last">The <em>characters to trim</em> parameter is optional. When not provided, the
|
|
618
|
-
parameter defaults to <code class="docutils literal"><span class="pre">"</span> <span class="pre">"</span></code> (that is, a space character).</p>
|
|
619
|
-
</td>
|
|
620
|
-
</tr>
|
|
621
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">LTRIM</span></code></td>
|
|
622
|
-
<td><em>string to transform</em>,
|
|
623
|
-
[<em>characters to trim</em>]</td>
|
|
624
|
-
<td><p class="first">Returns the input string, with all leading characters in
|
|
625
|
-
the set of <em>characters to trim</em> removed.</p>
|
|
626
|
-
<p class="last">The <em>characters to trim</em> parameter is optional. When not provided, the
|
|
627
|
-
parameter defaults to <code class="docutils literal"><span class="pre">"</span> <span class="pre">"</span></code> (that is, a space character).</p>
|
|
628
|
-
</td>
|
|
629
|
-
</tr>
|
|
630
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">RTRIM</span></code></td>
|
|
631
|
-
<td><em>string to process</em>,
|
|
632
|
-
[<em>characters to trim</em>]</td>
|
|
633
|
-
<td><p class="first">Returns the input string, with all trailing characters in
|
|
634
|
-
the set of <em>characters to trim</em> removed.</p>
|
|
635
|
-
<p class="last">The <em>characters to trim</em> parameter is optional. When not provided, the
|
|
636
|
-
parameter defaults to <code class="docutils literal"><span class="pre">"</span> <span class="pre">"</span></code> (that is, a space character).</p>
|
|
637
|
-
</td>
|
|
638
|
-
</tr>
|
|
639
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">LEFT</span></code></td>
|
|
640
|
-
<td><em>string to process</em>,
|
|
641
|
-
<em>number of characters</em></td>
|
|
642
|
-
<td>Returns the leftmost <em>number of characters</em> from the provided string.</td>
|
|
643
|
-
</tr>
|
|
644
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">RIGHT</span></code></td>
|
|
645
|
-
<td><em>string to process</em>,
|
|
646
|
-
<em>number of characters</em></td>
|
|
647
|
-
<td>Returns the rightmost <em>number of characters</em> from the provided string.</td>
|
|
648
|
-
</tr>
|
|
649
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">REVERSE</span></code></td>
|
|
650
|
-
<td><em>string to process</em></td>
|
|
651
|
-
<td>Returns the provided string in reverse.</td>
|
|
652
|
-
</tr>
|
|
653
|
-
</tbody>
|
|
654
|
-
</table>
|
|
655
|
-
</div>
|
|
656
|
-
<div class="section" id="date-and-time-functions">
|
|
657
|
-
<span id="ug-date-and-time-functions"></span><h2>Date and Time Functions<a class="headerlink" href="#date-and-time-functions" title="Permalink to this headline">¶</a></h2>
|
|
658
|
-
<p>AMPS includes functions for working with date and time values. This section
|
|
659
|
-
covers functions loaded into AMPS by default. AMPS also includes functions
|
|
660
|
-
for working with date and time in the Legacy Messaging Compatibility layer.</p>
|
|
661
|
-
<table border="1" class="docutils" id="id7">
|
|
662
|
-
<caption><span class="caption-text"><em>AMPS date and time functions</em></span><a class="headerlink" href="#id7" title="Permalink to this table">¶</a></caption>
|
|
663
|
-
<colgroup>
|
|
664
|
-
<col width="33%" />
|
|
665
|
-
<col width="33%" />
|
|
666
|
-
<col width="33%" />
|
|
667
|
-
</colgroup>
|
|
668
|
-
<thead valign="bottom">
|
|
669
|
-
<tr class="row-odd"><th class="head">Function</th>
|
|
670
|
-
<th class="head">Parameters</th>
|
|
671
|
-
<th class="head">Description</th>
|
|
672
|
-
</tr>
|
|
673
|
-
</thead>
|
|
674
|
-
<tbody valign="top">
|
|
675
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">STRFTIME</span></code></td>
|
|
676
|
-
<td><em>format string</em>,
|
|
677
|
-
<em>timestamp</em></td>
|
|
678
|
-
<td><p class="first">Produces a string that
|
|
679
|
-
contains a
|
|
680
|
-
representation of the
|
|
681
|
-
provided <code class="docutils literal"><span class="pre">timestamp</span></code>,
|
|
682
|
-
formatted as specified
|
|
683
|
-
in the provided
|
|
684
|
-
<code class="docutils literal"><span class="pre">format</span> <span class="pre">string</span></code>. The
|
|
685
|
-
format string uses the
|
|
686
|
-
same format specifiers
|
|
687
|
-
as the standard
|
|
688
|
-
<code class="docutils literal"><span class="pre">strftime(3)</span></code>
|
|
689
|
-
function.</p>
|
|
690
|
-
<p>This function also
|
|
691
|
-
supports the additional
|
|
692
|
-
format specifier <code class="docutils literal"><span class="pre">%f</span></code>
|
|
693
|
-
to format microseconds,
|
|
694
|
-
and the format specifier
|
|
695
|
-
<code class="docutils literal"><span class="pre">%03f</span></code> to format
|
|
696
|
-
milliseconds.</p>
|
|
697
|
-
<p class="last">The length of the string
|
|
698
|
-
produced for the time is
|
|
699
|
-
limited to 128 bytes.</p>
|
|
700
|
-
</td>
|
|
701
|
-
</tr>
|
|
702
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">STRPTIME</span></code></td>
|
|
703
|
-
<td><em>time string</em>,
|
|
704
|
-
<em>format string</em></td>
|
|
705
|
-
<td><p class="first">This function interprets
|
|
706
|
-
the <code class="docutils literal"><span class="pre">time</span> <span class="pre">string</span></code>
|
|
707
|
-
provided as a timestamp,
|
|
708
|
-
with the <code class="docutils literal"><span class="pre">format</span>
|
|
709
|
-
<span class="pre">string</span></code> specifying how
|
|
710
|
-
to interpret the
|
|
711
|
-
<code class="docutils literal"><span class="pre">time</span> <span class="pre">string</span></code>.</p>
|
|
712
|
-
<p>This function returns a
|
|
713
|
-
double.</p>
|
|
714
|
-
<p>The format string uses
|
|
715
|
-
the same format
|
|
716
|
-
specifiers as the
|
|
717
|
-
standard <code class="docutils literal"><span class="pre">strptime(3)</span></code>
|
|
718
|
-
function.</p>
|
|
719
|
-
<p class="last">This function also
|
|
720
|
-
supports the additional
|
|
721
|
-
format specifier <code class="docutils literal"><span class="pre">%f</span></code>
|
|
722
|
-
to parse microseconds,
|
|
723
|
-
and the format specifier
|
|
724
|
-
<code class="docutils literal"><span class="pre">%03f</span></code> to parse
|
|
725
|
-
milliseconds.</p>
|
|
726
|
-
</td>
|
|
727
|
-
</tr>
|
|
728
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">UNIX_TIMESTAMP</span></code></td>
|
|
729
|
-
<td>none</td>
|
|
730
|
-
<td><p class="first">Returns the current
|
|
731
|
-
timestamp as a double,
|
|
732
|
-
represented in seconds
|
|
733
|
-
(including parts of a
|
|
734
|
-
second as a decimal).</p>
|
|
735
|
-
<p>Notice that a UNIX
|
|
736
|
-
timestamp is seconds
|
|
737
|
-
elapsed since 00:00 on
|
|
738
|
-
January 1, 1970 in UTC
|
|
739
|
-
and is independent of
|
|
740
|
-
the timezone of the local
|
|
741
|
-
system.</p>
|
|
742
|
-
<p>The underlying system
|
|
743
|
-
call used for this
|
|
744
|
-
function has microsecond
|
|
745
|
-
resolution, subject to
|
|
746
|
-
any hardware or
|
|
747
|
-
host limitations.</p>
|
|
748
|
-
<p class="last"><em>This function is
|
|
749
|
-
non-deterministic, and
|
|
750
|
-
cannot be used in
|
|
751
|
-
contexts that require a
|
|
752
|
-
deterministic function</em></p>
|
|
753
|
-
</td>
|
|
754
|
-
</tr>
|
|
755
|
-
</tbody>
|
|
756
|
-
</table>
|
|
757
|
-
</div>
|
|
758
|
-
<div class="section" id="array-reduce-functions">
|
|
759
|
-
<span id="ug-array-reduce-functions"></span><h2>Array Reduce Functions<a class="headerlink" href="#array-reduce-functions" title="Permalink to this headline">¶</a></h2>
|
|
760
|
-
<p>AMPS includes a set of functions designed to operate over an array element in a
|
|
761
|
-
message and produce a value. These functions take an array within a single
|
|
762
|
-
message as input, and reduce that array to a single value as output.</p>
|
|
763
|
-
<table border="1" class="docutils" id="id8">
|
|
764
|
-
<caption><span class="caption-text"><em>AMPS array reduce functions</em></span><a class="headerlink" href="#id8" title="Permalink to this table">¶</a></caption>
|
|
765
|
-
<colgroup>
|
|
766
|
-
<col width="33%" />
|
|
767
|
-
<col width="33%" />
|
|
768
|
-
<col width="33%" />
|
|
769
|
-
</colgroup>
|
|
770
|
-
<thead valign="bottom">
|
|
771
|
-
<tr class="row-odd"><th class="head">Function</th>
|
|
772
|
-
<th class="head">Parameters</th>
|
|
773
|
-
<th class="head">Description</th>
|
|
774
|
-
</tr>
|
|
775
|
-
</thead>
|
|
776
|
-
<tbody valign="top">
|
|
777
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">ARRAY_COUNT</span></code></td>
|
|
778
|
-
<td><em>array</em></td>
|
|
779
|
-
<td>Returns the number of elements in the array.</td>
|
|
780
|
-
</tr>
|
|
781
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">ARRAY_MAX</span></code></td>
|
|
782
|
-
<td><em>array</em></td>
|
|
783
|
-
<td>Returns the largest value in the array, using
|
|
784
|
-
the standard AMPS <code class="docutils literal"><span class="pre">></span></code> comparison.</td>
|
|
785
|
-
</tr>
|
|
786
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">ARRAY_MIN</span></code></td>
|
|
787
|
-
<td><em>array</em></td>
|
|
788
|
-
<td>Returns the minimum value in the array, using
|
|
789
|
-
the standard AMPS <code class="docutils literal"><span class="pre"><</span></code> comparison.</td>
|
|
790
|
-
</tr>
|
|
791
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">ARRAY_SUM</span></code></td>
|
|
792
|
-
<td><em>array</em></td>
|
|
793
|
-
<td>Returns a number produced by adding all of the
|
|
794
|
-
elements in the array. <code class="docutils literal"><span class="pre">NULL</span></code> values in the
|
|
795
|
-
array are ignored.</td>
|
|
796
|
-
</tr>
|
|
797
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">ARRAY_TO_STRING</span></code></td>
|
|
798
|
-
<td><em>array</em>, <em>delimiter</em>,
|
|
799
|
-
<em>null_replacement</em></td>
|
|
800
|
-
<td><p class="first last" id="ug-string-to-array-functions">Returns a string comprised of the elements
|
|
801
|
-
of the array, separated by the provided
|
|
802
|
-
delimiter. <code class="docutils literal"><span class="pre">NULL</span></code> values in the array are
|
|
803
|
-
replaced with the provided <em>null_replacement</em>
|
|
804
|
-
value.</p>
|
|
805
|
-
</td>
|
|
806
|
-
</tr>
|
|
807
|
-
</tbody>
|
|
808
|
-
</table>
|
|
809
|
-
</div>
|
|
810
|
-
<div class="section" id="geospatial-functions">
|
|
811
|
-
<span id="ug-geospatial-functions"></span><h2>Geospatial Functions<a class="headerlink" href="#geospatial-functions" title="Permalink to this headline">¶</a></h2>
|
|
812
|
-
<p>AMPS includes a function for calculating the distance from a signed
|
|
813
|
-
latitude and longitude.</p>
|
|
814
|
-
<table border="1" class="docutils" id="id9">
|
|
815
|
-
<caption><span class="caption-text"><em>AMPS geospatial functions</em></span><a class="headerlink" href="#id9" title="Permalink to this table">¶</a></caption>
|
|
816
|
-
<colgroup>
|
|
817
|
-
<col width="33%" />
|
|
818
|
-
<col width="33%" />
|
|
819
|
-
<col width="33%" />
|
|
820
|
-
</colgroup>
|
|
821
|
-
<thead valign="bottom">
|
|
822
|
-
<tr class="row-odd"><th class="head">Function</th>
|
|
823
|
-
<th class="head">Parameters</th>
|
|
824
|
-
<th class="head">Description</th>
|
|
825
|
-
</tr>
|
|
826
|
-
</thead>
|
|
827
|
-
<tbody valign="top">
|
|
828
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">GEO_DISTANCE</span></code></td>
|
|
829
|
-
<td><em>first_latitude</em>,
|
|
830
|
-
<em>first_longitude</em>,
|
|
831
|
-
<em>second_latitude</em>,
|
|
832
|
-
<em>second_longitude</em></td>
|
|
833
|
-
<td><p class="first">Returns a double that
|
|
834
|
-
contains the distance
|
|
835
|
-
between the point
|
|
836
|
-
identified by
|
|
837
|
-
<em>first_latitude</em>,
|
|
838
|
-
<em>first_longitude</em> and
|
|
839
|
-
<em>second_latitude</em>,
|
|
840
|
-
<em>second_longitude</em> in
|
|
841
|
-
meters.</p>
|
|
842
|
-
<p>For example, given a
|
|
843
|
-
home point and a message
|
|
844
|
-
containing <code class="docutils literal"><span class="pre">/lat</span></code> and
|
|
845
|
-
<code class="docutils literal"><span class="pre">/long</span></code> fields, you
|
|
846
|
-
could use the following
|
|
847
|
-
expression to calculate
|
|
848
|
-
the distance from home.</p>
|
|
849
|
-
<div class="code highlight-default"><div class="highlight"><pre><span></span><span class="n">GEO_DISTANCE</span><span class="p">(</span>
|
|
850
|
-
<span class="o">/</span><span class="n">lat</span><span class="p">,</span>
|
|
851
|
-
<span class="o">/</span><span class="n">long</span><span class="p">,</span>
|
|
852
|
-
<span class="mf">40.786337</span><span class="p">,</span>
|
|
853
|
-
<span class="o">-</span><span class="mf">119.206508</span><span class="p">)</span>
|
|
854
|
-
</pre></div>
|
|
855
|
-
</div>
|
|
856
|
-
<p class="last">AMPS uses the haversine
|
|
857
|
-
formula when computing
|
|
858
|
-
distances.</p>
|
|
859
|
-
</td>
|
|
860
|
-
</tr>
|
|
861
|
-
</tbody>
|
|
862
|
-
</table>
|
|
863
|
-
</div>
|
|
864
|
-
<div class="section" id="numeric-functions">
|
|
865
|
-
<span id="ug-numeric-functions"></span><h2>Numeric Functions<a class="headerlink" href="#numeric-functions" title="Permalink to this headline">¶</a></h2>
|
|
866
|
-
<p>AMPS includes the following functions for working with numbers.</p>
|
|
867
|
-
<table border="1" class="docutils" id="id10">
|
|
868
|
-
<caption><span class="caption-text"><em>AMPS numeric functions</em></span><a class="headerlink" href="#id10" title="Permalink to this table">¶</a></caption>
|
|
869
|
-
<colgroup>
|
|
870
|
-
<col width="33%" />
|
|
871
|
-
<col width="33%" />
|
|
872
|
-
<col width="33%" />
|
|
873
|
-
</colgroup>
|
|
874
|
-
<thead valign="bottom">
|
|
875
|
-
<tr class="row-odd"><th class="head">Function</th>
|
|
876
|
-
<th class="head">Parameters</th>
|
|
877
|
-
<th class="head">Description</th>
|
|
878
|
-
</tr>
|
|
879
|
-
</thead>
|
|
880
|
-
<tbody valign="top">
|
|
881
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">ABS</span></code></td>
|
|
882
|
-
<td><em>number</em></td>
|
|
883
|
-
<td><p class="first">Returns the absolute
|
|
884
|
-
value of a number.</p>
|
|
885
|
-
<p>For example, the
|
|
886
|
-
following filter will be
|
|
887
|
-
TRUE when the difference
|
|
888
|
-
between <code class="docutils literal"><span class="pre">/a</span></code> and
|
|
889
|
-
<code class="docutils literal"><span class="pre">/b</span></code> is greater than
|
|
890
|
-
5, regardless of whether
|
|
891
|
-
<code class="docutils literal"><span class="pre">/a</span></code> or <code class="docutils literal"><span class="pre">/b</span></code> is
|
|
892
|
-
larger.</p>
|
|
893
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">ABS</span><span class="p">(</span><span class="o">/</span><span class="n">a</span> <span class="o">-</span> <span class="o">/</span><span class="n">b</span><span class="p">)</span> <span class="o">></span> <span class="mi">5</span>
|
|
894
|
-
</pre></div>
|
|
895
|
-
</div>
|
|
896
|
-
</td>
|
|
897
|
-
</tr>
|
|
898
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">GREATEST</span></code></td>
|
|
899
|
-
<td><em>list of numbers to compare</em></td>
|
|
900
|
-
<td><p class="first">Returns the largest of the provided numbers,
|
|
901
|
-
or <code class="docutils literal"><span class="pre">NaN</span></code> if no argument is a number.</p>
|
|
902
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">GREATEST</span><span class="p">(</span><span class="o">/</span><span class="n">requestedQty</span><span class="p">,</span> <span class="o">/</span><span class="n">availableQty</span><span class="p">,</span> <span class="o">/</span><span class="n">reserveQty</span><span class="p">)</span>
|
|
903
|
-
</pre></div>
|
|
904
|
-
</div>
|
|
905
|
-
</td>
|
|
906
|
-
</tr>
|
|
907
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">LEAST</span></code></td>
|
|
908
|
-
<td><em>list of numbers to compare</em></td>
|
|
909
|
-
<td><p class="first">Returns the smallest of the provided numbers,
|
|
910
|
-
or <code class="docutils literal"><span class="pre">NaN</span></code> if no argument is a number.</p>
|
|
911
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">LEAST</span><span class="p">(</span><span class="o">/</span><span class="n">requestedQty</span><span class="p">,</span> <span class="o">/</span><span class="n">availableQty</span><span class="p">,</span> <span class="o">/</span><span class="n">reserveQty</span><span class="p">)</span>
|
|
912
|
-
</pre></div>
|
|
913
|
-
</div>
|
|
914
|
-
</td>
|
|
915
|
-
</tr>
|
|
916
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">CEILING</span></code></td>
|
|
917
|
-
<td><em>number to round</em></td>
|
|
918
|
-
<td><p class="first">Returns the value rounded upward to the next
|
|
919
|
-
greatest integer. Returns an integer unchanged.</p>
|
|
920
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">CEILING</span><span class="p">(</span><span class="o">/</span><span class="n">estimatedDelta</span><span class="p">)</span>
|
|
921
|
-
</pre></div>
|
|
922
|
-
</div>
|
|
923
|
-
</td>
|
|
924
|
-
</tr>
|
|
925
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">FLOOR</span></code></td>
|
|
926
|
-
<td><em>number to round</em></td>
|
|
927
|
-
<td><p class="first">Returns the value rounded downward to the next
|
|
928
|
-
lower integer. Returns an integer unchanged.</p>
|
|
929
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">FLOOR</span><span class="p">(</span><span class="o">/</span><span class="n">estimatedReturn</span><span class="p">)</span>
|
|
930
|
-
</pre></div>
|
|
931
|
-
</div>
|
|
932
|
-
</td>
|
|
933
|
-
</tr>
|
|
934
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">EXP</span></code></td>
|
|
935
|
-
<td><em>exponent to use</em></td>
|
|
936
|
-
<td><p class="first">Returns <em>e</em> raised to the power of the provided
|
|
937
|
-
exponent.</p>
|
|
938
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">EXP</span><span class="p">(</span><span class="mf">3.14</span><span class="p">)</span>
|
|
939
|
-
</pre></div>
|
|
940
|
-
</div>
|
|
941
|
-
</td>
|
|
942
|
-
</tr>
|
|
943
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">LN</span></code></td>
|
|
944
|
-
<td><em>number</em></td>
|
|
945
|
-
<td><p class="first">Returns the natural logarithm of the provided number.</p>
|
|
946
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">LN</span><span class="p">(</span><span class="o">/</span><span class="n">time</span><span class="p">)</span>
|
|
947
|
-
</pre></div>
|
|
948
|
-
</div>
|
|
949
|
-
</td>
|
|
950
|
-
</tr>
|
|
951
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">LOG2</span></code></td>
|
|
952
|
-
<td><em>number</em></td>
|
|
953
|
-
<td><p class="first">Returns the base-2 logarithm of the provided number.</p>
|
|
954
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">LOG2</span><span class="p">(</span><span class="o">/</span><span class="n">recordSize</span><span class="p">)</span>
|
|
955
|
-
</pre></div>
|
|
956
|
-
</div>
|
|
957
|
-
</td>
|
|
958
|
-
</tr>
|
|
959
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">LOG10</span></code></td>
|
|
960
|
-
<td><em>number</em></td>
|
|
961
|
-
<td><p class="first">Returns the base-10 logarithm of the provided number.</p>
|
|
962
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">LOG10</span><span class="p">(</span><span class="o">/</span><span class="n">displayData</span><span class="p">)</span>
|
|
963
|
-
</pre></div>
|
|
964
|
-
</div>
|
|
965
|
-
</td>
|
|
966
|
-
</tr>
|
|
967
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">POWER</span></code></td>
|
|
968
|
-
<td><em>base</em>,
|
|
969
|
-
<em>exponent</em></td>
|
|
970
|
-
<td><p class="first">Returns the value of <em>base</em> raised to the power of
|
|
971
|
-
exponent.</p>
|
|
972
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">POWER</span><span class="p">(</span><span class="o">/</span><span class="n">number</span><span class="p">,</span> <span class="mi">3</span><span class="p">)</span>
|
|
973
|
-
</pre></div>
|
|
974
|
-
</div>
|
|
975
|
-
</td>
|
|
976
|
-
</tr>
|
|
977
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">SQRT</span></code></td>
|
|
978
|
-
<td><em>number</em></td>
|
|
979
|
-
<td><p class="first">Returns the square root of the provided number.</p>
|
|
980
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">SQRT</span><span class="p">(</span><span class="mi">2304</span><span class="p">)</span>
|
|
981
|
-
</pre></div>
|
|
982
|
-
</div>
|
|
983
|
-
</td>
|
|
984
|
-
</tr>
|
|
985
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">COS</span></code></td>
|
|
986
|
-
<td><em>number</em></td>
|
|
987
|
-
<td><p class="first">Returns the cosine of the provided number.</p>
|
|
988
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">COS</span><span class="p">(</span><span class="o">/</span><span class="n">x</span><span class="p">)</span>
|
|
989
|
-
</pre></div>
|
|
990
|
-
</div>
|
|
991
|
-
</td>
|
|
992
|
-
</tr>
|
|
993
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">ACOS</span></code></td>
|
|
994
|
-
<td><em>number</em></td>
|
|
995
|
-
<td><p class="first">Returns the arcosine of the provided number.</p>
|
|
996
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">ACOS</span><span class="p">(</span><span class="o">/</span><span class="n">x</span><span class="p">)</span>
|
|
997
|
-
</pre></div>
|
|
998
|
-
</div>
|
|
999
|
-
</td>
|
|
1000
|
-
</tr>
|
|
1001
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">SIN</span></code></td>
|
|
1002
|
-
<td><em>number</em></td>
|
|
1003
|
-
<td><p class="first">Returns the sine of the provided number.</p>
|
|
1004
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">SIN</span><span class="p">(</span><span class="o">/</span><span class="n">x</span><span class="p">)</span>
|
|
1005
|
-
</pre></div>
|
|
1006
|
-
</div>
|
|
1007
|
-
</td>
|
|
1008
|
-
</tr>
|
|
1009
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">SINH</span></code></td>
|
|
1010
|
-
<td><em>number</em></td>
|
|
1011
|
-
<td><p class="first">Returns the hyperbolic sine of the provided number.</p>
|
|
1012
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">SINH</span><span class="p">(</span><span class="o">/</span><span class="n">x</span><span class="p">)</span>
|
|
1013
|
-
</pre></div>
|
|
1014
|
-
</div>
|
|
1015
|
-
</td>
|
|
1016
|
-
</tr>
|
|
1017
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">ASIN</span></code></td>
|
|
1018
|
-
<td><em>number</em></td>
|
|
1019
|
-
<td><p class="first">Returns the arcsine of the provided number.</p>
|
|
1020
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">ASIN</span><span class="p">(</span><span class="o">/</span><span class="n">x</span><span class="p">)</span>
|
|
1021
|
-
</pre></div>
|
|
1022
|
-
</div>
|
|
1023
|
-
</td>
|
|
1024
|
-
</tr>
|
|
1025
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">COSH</span></code></td>
|
|
1026
|
-
<td><em>number</em></td>
|
|
1027
|
-
<td><p class="first">Returns the hyperbolic cosine of the provided number.</p>
|
|
1028
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">COSH</span><span class="p">(</span><span class="o">/</span><span class="n">x</span><span class="p">)</span>
|
|
1029
|
-
</pre></div>
|
|
1030
|
-
</div>
|
|
1031
|
-
</td>
|
|
1032
|
-
</tr>
|
|
1033
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">COT</span></code></td>
|
|
1034
|
-
<td><em>number</em></td>
|
|
1035
|
-
<td><p class="first">Returns the cotangent of the provided number.</p>
|
|
1036
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">COT</span><span class="p">(</span><span class="o">/</span><span class="n">x</span><span class="p">)</span>
|
|
1037
|
-
</pre></div>
|
|
1038
|
-
</div>
|
|
1039
|
-
</td>
|
|
1040
|
-
</tr>
|
|
1041
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">ATAN</span></code></td>
|
|
1042
|
-
<td><em>number</em></td>
|
|
1043
|
-
<td><p class="first">Returns the arctangent of the provided number.</p>
|
|
1044
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">ATAN</span><span class="p">(</span><span class="o">/</span><span class="n">x</span><span class="p">)</span>
|
|
1045
|
-
</pre></div>
|
|
1046
|
-
</div>
|
|
1047
|
-
</td>
|
|
1048
|
-
</tr>
|
|
1049
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">ATAN2</span></code></td>
|
|
1050
|
-
<td><em>number</em>,
|
|
1051
|
-
<em>number</em></td>
|
|
1052
|
-
<td><p class="first">Returns the arctangent of the provided numbers.</p>
|
|
1053
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">ATAN2</span><span class="p">(</span><span class="o">/</span><span class="n">y</span><span class="p">,</span><span class="o">/</span><span class="n">x</span><span class="p">)</span>
|
|
1054
|
-
</pre></div>
|
|
1055
|
-
</div>
|
|
1056
|
-
</td>
|
|
1057
|
-
</tr>
|
|
1058
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">TAN</span></code></td>
|
|
1059
|
-
<td><em>number</em></td>
|
|
1060
|
-
<td><p class="first">Returns the tangent of the provided number.</p>
|
|
1061
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">TAN</span><span class="p">(</span><span class="o">/</span><span class="n">x</span><span class="p">)</span>
|
|
1062
|
-
</pre></div>
|
|
1063
|
-
</div>
|
|
1064
|
-
</td>
|
|
1065
|
-
</tr>
|
|
1066
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">TANH</span></code></td>
|
|
1067
|
-
<td><em>number</em></td>
|
|
1068
|
-
<td><p class="first">Returns the hyperbolic tangent of the provided number.</p>
|
|
1069
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">TANH</span><span class="p">(</span><span class="o">/</span><span class="n">x</span><span class="p">)</span>
|
|
1070
|
-
</pre></div>
|
|
1071
|
-
</div>
|
|
1072
|
-
</td>
|
|
1073
|
-
</tr>
|
|
1074
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">MD5</span></code></td>
|
|
1075
|
-
<td><em>string</em></td>
|
|
1076
|
-
<td><p class="first">Returns the MD5 checksum of the provided string.</p>
|
|
1077
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">MD5</span><span class="p">(</span><span class="o">/</span><span class="n">data</span><span class="p">)</span>
|
|
1078
|
-
</pre></div>
|
|
1079
|
-
</div>
|
|
1080
|
-
</td>
|
|
1081
|
-
</tr>
|
|
1082
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">RADIANS</span></code></td>
|
|
1083
|
-
<td><em>number</em></td>
|
|
1084
|
-
<td><p class="first">Returns the provided number converted from degrees
|
|
1085
|
-
to radians.</p>
|
|
1086
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">RADIANS</span><span class="p">(</span><span class="o">/</span><span class="n">deg</span><span class="p">)</span>
|
|
1087
|
-
</pre></div>
|
|
1088
|
-
</div>
|
|
1089
|
-
</td>
|
|
1090
|
-
</tr>
|
|
1091
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">DEGREES</span></code></td>
|
|
1092
|
-
<td><em>number</em></td>
|
|
1093
|
-
<td><p class="first">Returns the provided number converted from radians
|
|
1094
|
-
to degrees.</p>
|
|
1095
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">DEGREES</span><span class="p">(</span><span class="o">/</span><span class="n">rad</span><span class="p">)</span>
|
|
1096
|
-
</pre></div>
|
|
1097
|
-
</div>
|
|
1098
|
-
</td>
|
|
1099
|
-
</tr>
|
|
1100
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">SIGN</span></code></td>
|
|
1101
|
-
<td><em>number</em></td>
|
|
1102
|
-
<td><p class="first">Returns the sign of the provided number.
|
|
1103
|
-
If the number is less than <code class="docutils literal"><span class="pre">0</span></code>, returns <code class="docutils literal"><span class="pre">-1</span></code>.
|
|
1104
|
-
If the number is greater than <code class="docutils literal"><span class="pre">0</span></code>, returns <code class="docutils literal"><span class="pre">1</span></code>.
|
|
1105
|
-
Otherwise, the number is <code class="docutils literal"><span class="pre">0</span></code> and the function returns
|
|
1106
|
-
<code class="docutils literal"><span class="pre">0</span></code>.</p>
|
|
1107
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">SIGN</span><span class="p">(</span><span class="o">/</span><span class="n">result</span><span class="p">)</span>
|
|
1108
|
-
</pre></div>
|
|
1109
|
-
</div>
|
|
1110
|
-
</td>
|
|
1111
|
-
</tr>
|
|
1112
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">ROUND</span></code></td>
|
|
1113
|
-
<td><em>number</em>, <em>[number of
|
|
1114
|
-
decimal places]</em></td>
|
|
1115
|
-
<td><p class="first">Returns a number rounded
|
|
1116
|
-
to the specified number
|
|
1117
|
-
of decimal places.</p>
|
|
1118
|
-
<p>The number of decimal
|
|
1119
|
-
places is optional. When
|
|
1120
|
-
not provided, the number
|
|
1121
|
-
defaults to 0.</p>
|
|
1122
|
-
<p>The number of decimal
|
|
1123
|
-
places can be positive
|
|
1124
|
-
or negative. When the
|
|
1125
|
-
number is <em>positive</em>,
|
|
1126
|
-
the number specifies the
|
|
1127
|
-
number of digits to the
|
|
1128
|
-
right of the decimal
|
|
1129
|
-
place to round at. When
|
|
1130
|
-
the number is
|
|
1131
|
-
<em>negative</em>, the number
|
|
1132
|
-
specifies the number of
|
|
1133
|
-
digits to the left of
|
|
1134
|
-
the decimal place to
|
|
1135
|
-
round at.</p>
|
|
1136
|
-
<p>For example, you could
|
|
1137
|
-
use the following
|
|
1138
|
-
expression in a view to
|
|
1139
|
-
limit the precision of
|
|
1140
|
-
the <code class="docutils literal"><span class="pre">/price</span></code> field of
|
|
1141
|
-
the source topic to 2
|
|
1142
|
-
decimal places.</p>
|
|
1143
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">ROUND</span><span class="p">(</span><span class="o">/</span><span class="n">price</span><span class="p">,</span> <span class="mi">2</span><span class="p">)</span> <span class="n">AS</span>
|
|
1144
|
-
<span class="o">/</span><span class="n">price</span>
|
|
1145
|
-
</pre></div>
|
|
1146
|
-
</div>
|
|
1147
|
-
</td>
|
|
1148
|
-
</tr>
|
|
1149
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">WIDTH_BUCKET</span></code></td>
|
|
1150
|
-
<td><em>expression</em>,
|
|
1151
|
-
<em>min</em>,
|
|
1152
|
-
<em>max</em>,
|
|
1153
|
-
<em>bucket count</em></td>
|
|
1154
|
-
<td><p class="first">The <em>bucket count</em> argument specifies the number of
|
|
1155
|
-
buckets to create over the range defined by <em>min</em> and
|
|
1156
|
-
<em>max</em>. <em>min</em> is inclusive, while <em>max</em> is not.
|
|
1157
|
-
The value from <em>expression</em> is assigned to a bucket,
|
|
1158
|
-
and the function returns a corresponding bucket number.
|
|
1159
|
-
When <em>expression</em> falls outside the range of buckets,
|
|
1160
|
-
the function returns either <code class="docutils literal"><span class="pre">0</span></code> or <code class="docutils literal"><span class="pre">max</span> <span class="pre">+</span> <span class="pre">1</span></code>,
|
|
1161
|
-
depending on whether <em>expression</em> is lower than
|
|
1162
|
-
than <em>min</em> or greater than or equal to <em>max</em>.</p>
|
|
1163
|
-
<div class="code last highlight-default"><div class="highlight"><pre><span></span><span class="n">WIDTH_BUCKET</span><span class="p">(</span><span class="o">/</span><span class="n">percentage</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="mi">100</span><span class="p">,</span> <span class="mi">10</span><span class="p">)</span> <span class="n">AS</span>
|
|
1164
|
-
<span class="o">/</span><span class="n">displayBar</span>
|
|
1165
|
-
</pre></div>
|
|
1166
|
-
</div>
|
|
1167
|
-
</td>
|
|
1168
|
-
</tr>
|
|
1169
|
-
</tbody>
|
|
1170
|
-
</table>
|
|
1171
|
-
</div>
|
|
1172
|
-
<div class="section" id="crc-functions">
|
|
1173
|
-
<span id="ug-checksum-functions"></span><h2>CRC Functions<a class="headerlink" href="#crc-functions" title="Permalink to this headline">¶</a></h2>
|
|
1174
|
-
<p>AMPS includes functions that compute a CRC checksum over a string.
|
|
1175
|
-
This function is useful for creating a numeric identifier from a string
|
|
1176
|
-
representation. This is commonly-used to create a shortened representation
|
|
1177
|
-
of the string, or to provide input for a <cite>MOD</cite> calculation.</p>
|
|
1178
|
-
<table border="1" class="docutils" id="id11">
|
|
1179
|
-
<caption><span class="caption-text"><em>AMPS CRC functions</em></span><a class="headerlink" href="#id11" title="Permalink to this table">¶</a></caption>
|
|
1180
|
-
<colgroup>
|
|
1181
|
-
<col width="33%" />
|
|
1182
|
-
<col width="33%" />
|
|
1183
|
-
<col width="33%" />
|
|
1184
|
-
</colgroup>
|
|
1185
|
-
<thead valign="bottom">
|
|
1186
|
-
<tr class="row-odd"><th class="head">Function</th>
|
|
1187
|
-
<th class="head">Parameters</th>
|
|
1188
|
-
<th class="head">Description</th>
|
|
1189
|
-
</tr>
|
|
1190
|
-
</thead>
|
|
1191
|
-
<tbody valign="top">
|
|
1192
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">CRC32</span></code></td>
|
|
1193
|
-
<td><em>string</em></td>
|
|
1194
|
-
<td><p class="first">Returns an integer
|
|
1195
|
-
calculated as a checksum
|
|
1196
|
-
of the provided string.</p>
|
|
1197
|
-
<p>This function returns a
|
|
1198
|
-
32-bit integer. If a
|
|
1199
|
-
NULL value is provided,
|
|
1200
|
-
this function returns
|
|
1201
|
-
a constant value.</p>
|
|
1202
|
-
<p class="last">This function uses
|
|
1203
|
-
CRC32-C to create the
|
|
1204
|
-
result. For details on
|
|
1205
|
-
the exact parameters,
|
|
1206
|
-
contact 60East.</p>
|
|
1207
|
-
</td>
|
|
1208
|
-
</tr>
|
|
1209
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">CRC64</span></code></td>
|
|
1210
|
-
<td><em>string</em></td>
|
|
1211
|
-
<td><p class="first">Returns an integer
|
|
1212
|
-
calculated as a checksum
|
|
1213
|
-
of the provided string.</p>
|
|
1214
|
-
<p>This function returns a
|
|
1215
|
-
64-bit integer. If a
|
|
1216
|
-
NULL value is provided,
|
|
1217
|
-
this function returns
|
|
1218
|
-
a constant value.</p>
|
|
1219
|
-
<p class="last">This function uses a
|
|
1220
|
-
polynomial of
|
|
1221
|
-
0x95AC9329AC4BC9B5
|
|
1222
|
-
to create the result.
|
|
1223
|
-
For details on the exact
|
|
1224
|
-
parameters, contact
|
|
1225
|
-
60East.</p>
|
|
1226
|
-
</td>
|
|
1227
|
-
</tr>
|
|
1228
|
-
</tbody>
|
|
1229
|
-
</table>
|
|
1230
|
-
</div>
|
|
1231
|
-
<div class="section" id="message-functions">
|
|
1232
|
-
<span id="ug-message-functions"></span><h2>Message Functions<a class="headerlink" href="#message-functions" title="Permalink to this headline">¶</a></h2>
|
|
1233
|
-
<p>AMPS includes functions that can be used to refer to the current
|
|
1234
|
-
message being processed.</p>
|
|
1235
|
-
<table border="1" class="docutils" id="id12">
|
|
1236
|
-
<caption><span class="caption-text"><em>AMPS message functions</em></span><a class="headerlink" href="#id12" title="Permalink to this table">¶</a></caption>
|
|
1237
|
-
<colgroup>
|
|
1238
|
-
<col width="25%" />
|
|
1239
|
-
<col width="25%" />
|
|
1240
|
-
<col width="25%" />
|
|
1241
|
-
<col width="25%" />
|
|
1242
|
-
</colgroup>
|
|
1243
|
-
<thead valign="bottom">
|
|
1244
|
-
<tr class="row-odd"><th class="head">Function</th>
|
|
1245
|
-
<th class="head">Parameters</th>
|
|
1246
|
-
<th class="head">Description</th>
|
|
1247
|
-
<th class="head">Available For</th>
|
|
1248
|
-
</tr>
|
|
1249
|
-
</thead>
|
|
1250
|
-
<tbody valign="top">
|
|
1251
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">MESSAGE_SIZE</span></code></td>
|
|
1252
|
-
<td>(none)</td>
|
|
1253
|
-
<td>Returns the size of the payload
|
|
1254
|
-
of the current message, in bytes.</td>
|
|
1255
|
-
<td>(all messages)</td>
|
|
1256
|
-
</tr>
|
|
1257
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">CORRELATION_ID</span></code></td>
|
|
1258
|
-
<td>(none)</td>
|
|
1259
|
-
<td><p class="first">Returns the correlation ID of the
|
|
1260
|
-
current message as a string.</p>
|
|
1261
|
-
<p class="last">Returns NULL if there is no correlation ID
|
|
1262
|
-
for the current message.</p>
|
|
1263
|
-
</td>
|
|
1264
|
-
<td>(all messages)</td>
|
|
1265
|
-
</tr>
|
|
1266
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">LAST_UPDATED</span></code></td>
|
|
1267
|
-
<td>(none)</td>
|
|
1268
|
-
<td><p class="first">Returns a timestamp for the last time that a
|
|
1269
|
-
message in the SOW was updated, as a double.</p>
|
|
1270
|
-
<p>For a subscription (including the subscription
|
|
1271
|
-
part of a <code class="docutils literal"><span class="pre">sow_and_subscribe</span></code> command), the
|
|
1272
|
-
<code class="docutils literal"><span class="pre">LAST_UPDATED</span></code> value will be the current
|
|
1273
|
-
timestamp. This function is most useful for
|
|
1274
|
-
queries of a topic in the SOW.</p>
|
|
1275
|
-
<p class="last">Notice that this field is set based on when
|
|
1276
|
-
the local instance has updated the message.
|
|
1277
|
-
For replicated topics, this means that a
|
|
1278
|
-
given message will have different values on
|
|
1279
|
-
different instances.</p>
|
|
1280
|
-
</td>
|
|
1281
|
-
<td>queries of
|
|
1282
|
-
a SOW topic</td>
|
|
1283
|
-
</tr>
|
|
1284
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">BOOKMARK</span></code></td>
|
|
1285
|
-
<td>(none)</td>
|
|
1286
|
-
<td><p class="first">Returns the bookmark for the current message,
|
|
1287
|
-
if one is available. Notice that
|
|
1288
|
-
messages retrieved from a SOW topic using a
|
|
1289
|
-
query return NULL for <code class="docutils literal"><span class="pre">BOOKMARK</span></code>, since the
|
|
1290
|
-
SOW does not store the bookmark of a message.</p>
|
|
1291
|
-
<p>Bookmarks are assigned using a combination
|
|
1292
|
-
of an identifier derived from the client
|
|
1293
|
-
name and a sequence number. When working
|
|
1294
|
-
with bookmarks, 60East recommends treating
|
|
1295
|
-
bookmarks as opaque identifiers. In particular,
|
|
1296
|
-
bookmarks are not guaranteed to sort in
|
|
1297
|
-
any particular order between different
|
|
1298
|
-
publishers.</p>
|
|
1299
|
-
<p class="last">AMPS only assigns bookmarks when a message is
|
|
1300
|
-
stored in the transaction log. Messages that
|
|
1301
|
-
are not in the transaction log do not have
|
|
1302
|
-
bookmarks assigned.</p>
|
|
1303
|
-
</td>
|
|
1304
|
-
<td>subscriptions to
|
|
1305
|
-
a transaction-logged
|
|
1306
|
-
topic, bookmark
|
|
1307
|
-
subscriptions, subscriptions to
|
|
1308
|
-
a message queue, replication
|
|
1309
|
-
filters</td>
|
|
1310
|
-
</tr>
|
|
1311
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">TOPIC_NAME</span></code></td>
|
|
1312
|
-
<td>(none)</td>
|
|
1313
|
-
<td>Returns the topic name for the message
|
|
1314
|
-
currently being processed.</td>
|
|
1315
|
-
<td>(all messages)</td>
|
|
1316
|
-
</tr>
|
|
1317
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">SOW_KEY</span></code></td>
|
|
1318
|
-
<td>(none)</td>
|
|
1319
|
-
<td><p class="first">Returns the SOW key for the message
|
|
1320
|
-
currently being processed, if one exists.</p>
|
|
1321
|
-
<p class="last">This function is designed for use in
|
|
1322
|
-
enrichment. In a query, subscription, or delete
|
|
1323
|
-
command, using the <code class="docutils literal"><span class="pre">SowKeys</span></code> header with the
|
|
1324
|
-
key or keys of interest is more efficient.
|
|
1325
|
-
Although the function will return a value
|
|
1326
|
-
when used in a filter, using <code class="docutils literal"><span class="pre">SowKeys</span></code> is
|
|
1327
|
-
recommended.</p>
|
|
1328
|
-
</td>
|
|
1329
|
-
<td>queries or enrichment of a SOW topic,
|
|
1330
|
-
subscriptions to a SOW topic</td>
|
|
1331
|
-
</tr>
|
|
1332
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">SOW_KEY_HASH</span></code></td>
|
|
1333
|
-
<td>(none)</td>
|
|
1334
|
-
<td><p class="first">Returns a hash value of the SOW key for the
|
|
1335
|
-
message currently being processed. If AMPS
|
|
1336
|
-
generated the SOW key, this value will be the
|
|
1337
|
-
same value as the SOW key. For topics where
|
|
1338
|
-
the publisher provides the SOW key, this will
|
|
1339
|
-
be a hash of the value provided by the
|
|
1340
|
-
publisher.</p>
|
|
1341
|
-
<p class="last">This function is designed for use in
|
|
1342
|
-
enrichment.</p>
|
|
1343
|
-
</td>
|
|
1344
|
-
<td>queries or enrichment of a SOW topic,
|
|
1345
|
-
subscriptions to a SOW topic</td>
|
|
1346
|
-
</tr>
|
|
1347
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">LAST_READ</span></code></td>
|
|
1348
|
-
<td>(none)</td>
|
|
1349
|
-
<td><p class="first">Returns a timestamp for the last time that
|
|
1350
|
-
this message was read from the SOW, as a double.</p>
|
|
1351
|
-
<p>This function only returns a value
|
|
1352
|
-
for messages in a topic in the SOW.
|
|
1353
|
-
The <code class="docutils literal"><span class="pre">LAST_READ</span></code> time for a message
|
|
1354
|
-
resets when AMPS restarts.</p>
|
|
1355
|
-
<p>Notice that this field is set based on when
|
|
1356
|
-
the local instance processes a read of the
|
|
1357
|
-
message. For replicated topics, this means that
|
|
1358
|
-
a given message will have different values on
|
|
1359
|
-
different instances.</p>
|
|
1360
|
-
<p class="last"><em>This function is non-deterministic, and cannot
|
|
1361
|
-
be used in contexts that require a
|
|
1362
|
-
deterministic function</em></p>
|
|
1363
|
-
</td>
|
|
1364
|
-
<td>queries of a SOW topic</td>
|
|
1365
|
-
</tr>
|
|
1366
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">TOPIC_NAME</span></code></td>
|
|
1367
|
-
<td>(none)</td>
|
|
1368
|
-
<td>Returns the topic name for the message
|
|
1369
|
-
currently being processed.</td>
|
|
1370
|
-
<td>(all messages)</td>
|
|
1371
|
-
</tr>
|
|
1372
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">LAST_LEASED</span></code></td>
|
|
1373
|
-
<td>(none)</td>
|
|
1374
|
-
<td><p class="first">For a message in a queue, returns a timestamp
|
|
1375
|
-
for the last time this message was leased from
|
|
1376
|
-
this instance, as a double.</p>
|
|
1377
|
-
<p>Returns <code class="docutils literal"><span class="pre">NULL</span></code> for a message that is not in
|
|
1378
|
-
a queue.</p>
|
|
1379
|
-
<p class="last">Notice that this timestamp is set based on when
|
|
1380
|
-
the local instance leased the message. This
|
|
1381
|
-
counter is reset when the instance restarts.</p>
|
|
1382
|
-
</td>
|
|
1383
|
-
<td>queries of a message queue,
|
|
1384
|
-
subscription to a message queue,
|
|
1385
|
-
SOW delete by filter for a message queue</td>
|
|
1386
|
-
</tr>
|
|
1387
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">LEASE_COUNT</span></code></td>
|
|
1388
|
-
<td>(none)</td>
|
|
1389
|
-
<td><p class="first">For a message in a queue, returns the number
|
|
1390
|
-
of times the message has been leased from this
|
|
1391
|
-
instance as a double.</p>
|
|
1392
|
-
<p>Returns <code class="docutils literal"><span class="pre">NULL</span></code> for a message that is not in
|
|
1393
|
-
a queue.</p>
|
|
1394
|
-
<p class="last">Notice that this counter is set based on leases
|
|
1395
|
-
from the local instance. This counter is reset
|
|
1396
|
-
when the instance restarts, and does not track
|
|
1397
|
-
leases from other instances.</p>
|
|
1398
|
-
</td>
|
|
1399
|
-
<td>queries of a message queue,
|
|
1400
|
-
subscription to a message queue,
|
|
1401
|
-
SOW delete by filter for a message queue</td>
|
|
1402
|
-
</tr>
|
|
1403
|
-
</tbody>
|
|
1404
|
-
</table>
|
|
1405
|
-
<p>When used in view construction or aggregate definition,
|
|
1406
|
-
these functions refer to the <em>incoming message</em> that is prompting
|
|
1407
|
-
the update to the view or aggregate, not to the constructed message
|
|
1408
|
-
that is the result of the update. For example, a <code class="docutils literal"><span class="pre">Field</span></code> like this
|
|
1409
|
-
in a view projection:</p>
|
|
1410
|
-
<div class="highlight-xml"><div class="highlight"><pre><span></span><span class="nt"><Projection></span>
|
|
1411
|
-
...
|
|
1412
|
-
<span class="nt"><Field></span>TOPIC_NAME() AS /theTopic<span class="nt"></Field></span>
|
|
1413
|
-
...
|
|
1414
|
-
<span class="nt"></Projection></span>
|
|
1415
|
-
</pre></div>
|
|
1416
|
-
</div>
|
|
1417
|
-
<p>will return the topic name of the topic that prompted the update
|
|
1418
|
-
to the view, <em>not</em> the name of the view itself.</p>
|
|
1419
|
-
</div>
|
|
1420
|
-
<div class="section" id="client-functions">
|
|
1421
|
-
<span id="ug-client-functions"></span><h2>Client Functions<a class="headerlink" href="#client-functions" title="Permalink to this headline">¶</a></h2>
|
|
1422
|
-
<p>AMPS includes functions that return information about the
|
|
1423
|
-
currently connected client. As with the message functions,
|
|
1424
|
-
these functions return information about the client that
|
|
1425
|
-
prompted the operation, if one is present.</p>
|
|
1426
|
-
<table border="1" class="docutils" id="id13">
|
|
1427
|
-
<caption><span class="caption-text"><em>AMPS client information functions</em></span><a class="headerlink" href="#id13" title="Permalink to this table">¶</a></caption>
|
|
1428
|
-
<colgroup>
|
|
1429
|
-
<col width="25%" />
|
|
1430
|
-
<col width="25%" />
|
|
1431
|
-
<col width="25%" />
|
|
1432
|
-
<col width="25%" />
|
|
1433
|
-
</colgroup>
|
|
1434
|
-
<thead valign="bottom">
|
|
1435
|
-
<tr class="row-odd"><th class="head">Function</th>
|
|
1436
|
-
<th class="head">Parameters</th>
|
|
1437
|
-
<th class="head">Description</th>
|
|
1438
|
-
<th class="head">Available For</th>
|
|
1439
|
-
</tr>
|
|
1440
|
-
</thead>
|
|
1441
|
-
<tbody valign="top">
|
|
1442
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">CLIENT_NAME</span></code></td>
|
|
1443
|
-
<td>(none)</td>
|
|
1444
|
-
<td>Returns the name of the currently
|
|
1445
|
-
connected client.</td>
|
|
1446
|
-
<td>subscriptions to a topic or conflated topic,
|
|
1447
|
-
enrichment and preprocessing</td>
|
|
1448
|
-
</tr>
|
|
1449
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">USER</span></code></td>
|
|
1450
|
-
<td>(none)</td>
|
|
1451
|
-
<td>Returns the user ID of the currently
|
|
1452
|
-
connected client.</td>
|
|
1453
|
-
<td>subscriptions to a topic or conflated topic,
|
|
1454
|
-
enrichment and preprocessing</td>
|
|
1455
|
-
</tr>
|
|
1456
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">REMOTE_ADDRESS</span></code></td>
|
|
1457
|
-
<td>(none)</td>
|
|
1458
|
-
<td>Returns the remote address of the
|
|
1459
|
-
currently connected client.</td>
|
|
1460
|
-
<td>subscriptions to a topic or conflated topic,
|
|
1461
|
-
enrichment and preprocessing</td>
|
|
1462
|
-
</tr>
|
|
1463
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">CLIENT_VERSION</span></code></td>
|
|
1464
|
-
<td>(none)</td>
|
|
1465
|
-
<td>Returns the version string reported
|
|
1466
|
-
by the currently connected client.</td>
|
|
1467
|
-
<td>subscriptions to a topic or conflated topic,
|
|
1468
|
-
enrichment and preprocessing</td>
|
|
1469
|
-
</tr>
|
|
1470
|
-
</tbody>
|
|
1471
|
-
</table>
|
|
1472
|
-
</div>
|
|
1473
|
-
<div class="section" id="coalesce-function">
|
|
1474
|
-
<span id="ug-coalesce-function"></span><h2>Coalesce Function<a class="headerlink" href="#coalesce-function" title="Permalink to this headline">¶</a></h2>
|
|
1475
|
-
<p>AMPS includes a function that accepts any number of arguments and returns
|
|
1476
|
-
the first argument that is not NULL.</p>
|
|
1477
|
-
<table border="1" class="docutils" id="id14">
|
|
1478
|
-
<caption><span class="caption-text"><em>AMPS coalesce function</em></span><a class="headerlink" href="#id14" title="Permalink to this table">¶</a></caption>
|
|
1479
|
-
<colgroup>
|
|
1480
|
-
<col width="33%" />
|
|
1481
|
-
<col width="33%" />
|
|
1482
|
-
<col width="33%" />
|
|
1483
|
-
</colgroup>
|
|
1484
|
-
<thead valign="bottom">
|
|
1485
|
-
<tr class="row-odd"><th class="head">Function</th>
|
|
1486
|
-
<th class="head">Parameters</th>
|
|
1487
|
-
<th class="head">Description</th>
|
|
1488
|
-
</tr>
|
|
1489
|
-
</thead>
|
|
1490
|
-
<tbody valign="top">
|
|
1491
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">COALESCE</span></code></td>
|
|
1492
|
-
<td><em>value</em>
|
|
1493
|
-
(any number of values
|
|
1494
|
-
may be provided)</td>
|
|
1495
|
-
<td>Returns the first <em>value</em> that is
|
|
1496
|
-
not <code class="docutils literal"><span class="pre">NULL</span></code>. If all values are
|
|
1497
|
-
<code class="docutils literal"><span class="pre">NULL</span></code>, returns <code class="docutils literal"><span class="pre">NULL</span></code>.</td>
|
|
1498
|
-
</tr>
|
|
1499
|
-
</tbody>
|
|
1500
|
-
</table>
|
|
1501
|
-
</div>
|
|
1502
|
-
<div class="section" id="amps-information-functions">
|
|
1503
|
-
<span id="ug-amps-information-functions"></span><h2>AMPS Information Functions<a class="headerlink" href="#amps-information-functions" title="Permalink to this headline">¶</a></h2>
|
|
1504
|
-
<p>AMPS includes a pair of functions that provide the instance name and
|
|
1505
|
-
group name of the current instance.</p>
|
|
1506
|
-
<table border="1" class="docutils" id="id15">
|
|
1507
|
-
<caption><span class="caption-text"><em>AMPS instance information functions</em></span><a class="headerlink" href="#id15" title="Permalink to this table">¶</a></caption>
|
|
1508
|
-
<colgroup>
|
|
1509
|
-
<col width="33%" />
|
|
1510
|
-
<col width="33%" />
|
|
1511
|
-
<col width="33%" />
|
|
1512
|
-
</colgroup>
|
|
1513
|
-
<thead valign="bottom">
|
|
1514
|
-
<tr class="row-odd"><th class="head">Function</th>
|
|
1515
|
-
<th class="head">Parameters</th>
|
|
1516
|
-
<th class="head">Description</th>
|
|
1517
|
-
</tr>
|
|
1518
|
-
</thead>
|
|
1519
|
-
<tbody valign="top">
|
|
1520
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">AMPS_INSTANCE_NAME</span></code></td>
|
|
1521
|
-
<td>none</td>
|
|
1522
|
-
<td>Returns the instance name of this
|
|
1523
|
-
AMPS instance.</td>
|
|
1524
|
-
</tr>
|
|
1525
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">AMPS_GROUP_NAME</span></code></td>
|
|
1526
|
-
<td>none</td>
|
|
1527
|
-
<td>Returns the group name of this
|
|
1528
|
-
AMPS instance.</td>
|
|
1529
|
-
</tr>
|
|
1530
|
-
</tbody>
|
|
1531
|
-
</table>
|
|
1532
|
-
</div>
|
|
1533
|
-
<div class="section" id="typed-value-construction-functions">
|
|
1534
|
-
<span id="ug-value-construction-functions"></span><h2>Typed Value Construction Functions<a class="headerlink" href="#typed-value-construction-functions" title="Permalink to this headline">¶</a></h2>
|
|
1535
|
-
<p>AMPS includes functions for explicitly constructing constant values
|
|
1536
|
-
of various types.</p>
|
|
1537
|
-
<table border="1" class="docutils" id="id16">
|
|
1538
|
-
<caption><span class="caption-text"><em>AMPS typed value functions</em></span><a class="headerlink" href="#id16" title="Permalink to this table">¶</a></caption>
|
|
1539
|
-
<colgroup>
|
|
1540
|
-
<col width="33%" />
|
|
1541
|
-
<col width="33%" />
|
|
1542
|
-
<col width="33%" />
|
|
1543
|
-
</colgroup>
|
|
1544
|
-
<thead valign="bottom">
|
|
1545
|
-
<tr class="row-odd"><th class="head">Function</th>
|
|
1546
|
-
<th class="head">Parameters</th>
|
|
1547
|
-
<th class="head">Description</th>
|
|
1548
|
-
</tr>
|
|
1549
|
-
</thead>
|
|
1550
|
-
<tbody valign="top">
|
|
1551
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">FALSE_VALUE</span></code></td>
|
|
1552
|
-
<td>none</td>
|
|
1553
|
-
<td><p class="first">Returns a boolean false value.</p>
|
|
1554
|
-
<p class="last">This function is most useful for
|
|
1555
|
-
constructing values in message
|
|
1556
|
-
types that have a distinct
|
|
1557
|
-
type for boolean values. In the
|
|
1558
|
-
AMPS expression language, false
|
|
1559
|
-
is equivalent to a literal <cite>0</cite>.</p>
|
|
1560
|
-
</td>
|
|
1561
|
-
</tr>
|
|
1562
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">TRUE_VALUE</span></code></td>
|
|
1563
|
-
<td>none</td>
|
|
1564
|
-
<td><p class="first">Returns a boolean true value.</p>
|
|
1565
|
-
<p class="last">This function is most useful for
|
|
1566
|
-
constructing values in message
|
|
1567
|
-
types that have a distinct
|
|
1568
|
-
type for boolean values. In the
|
|
1569
|
-
AMPS expression language, true
|
|
1570
|
-
is typically represented with a
|
|
1571
|
-
literal <cite>1</cite>.</p>
|
|
1572
|
-
</td>
|
|
1573
|
-
</tr>
|
|
1574
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">NAN_VALUE</span></code></td>
|
|
1575
|
-
<td>none</td>
|
|
1576
|
-
<td>Returns a NaN (not a number)
|
|
1577
|
-
value.</td>
|
|
1578
|
-
</tr>
|
|
1579
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">CHAR_VALUE</span></code></td>
|
|
1580
|
-
<td>integer (0-255)</td>
|
|
1581
|
-
<td><p class="first">Returns the character (byte) for
|
|
1582
|
-
the integer provided.</p>
|
|
1583
|
-
<p class="last">This function is most useful for
|
|
1584
|
-
constructing values in message
|
|
1585
|
-
types that have a distinct
|
|
1586
|
-
type for char values. In the AMPS
|
|
1587
|
-
expression language, a single
|
|
1588
|
-
character value is equivalent to
|
|
1589
|
-
a string constructed with an
|
|
1590
|
-
escape, and constructing a
|
|
1591
|
-
string literal is more efficient.
|
|
1592
|
-
That is, <code class="docutils literal"><span class="pre">'\x01'</span></code> is
|
|
1593
|
-
more efficient in a filter or
|
|
1594
|
-
field construction than
|
|
1595
|
-
<code class="docutils literal"><span class="pre">CHAR_VALUE(1)</span></code>. However,
|
|
1596
|
-
to construct a character based
|
|
1597
|
-
on a field, use <code class="docutils literal"><span class="pre">CHAR_VALUE</span></code>;
|
|
1598
|
-
for example,
|
|
1599
|
-
<code class="docutils literal"><span class="pre">CHAR_VALUE(/code)</span></code>.</p>
|
|
1600
|
-
</td>
|
|
1601
|
-
</tr>
|
|
1602
|
-
</tbody>
|
|
1603
|
-
</table>
|
|
1604
|
-
</div>
|
|
1605
|
-
</div>
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
</div>
|
|
1609
|
-
</div>
|
|
1610
|
-
</div>
|
|
1611
|
-
<div class="clearer"></div>
|
|
1612
|
-
</div>
|
|
1613
|
-
<div class="footer">
|
|
1614
|
-
©2023 60East Technologies, Inc. (version develop).
|
|
1615
|
-
|
|
1616
|
-
|
|
|
1617
|
-
Powered by <a href="http://sphinx-doc.org/">Sphinx 1.5.3</a>
|
|
1618
|
-
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.10</a>
|
|
1619
|
-
|
|
1620
|
-
</div>
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
</body>
|
|
1626
|
-
</html>
|