timeplus 1.1.2__tar.gz → 1.2.1__tar.gz
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.
- {timeplus-1.1.2 → timeplus-1.2.1}/PKG-INFO +1 -1
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/__init__.py +11 -13
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/__init__.py +2 -6
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/columns_resp.py +1 -53
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/create_source_request.py +36 -27
- timeplus-1.2.1/swagger_client/models/create_view_request.py +218 -0
- timeplus-1.2.1/swagger_client/models/global_metrics_result.py +165 -0
- timeplus-1.1.2/swagger_client/models/global_metrics_result.py → timeplus-1.2.1/swagger_client/models/metrics_query_throughput.py +19 -43
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/resource_metrics_result.py +62 -89
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/sink.py +60 -32
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/source.py +90 -28
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/source_preview_request.py +29 -1
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/stream.py +48 -17
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/stream_def.py +12 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/stream_stats.py +53 -1
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/update_source_request.py +35 -29
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/update_stream_request.py +4 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/update_view_request.py +4 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/view.py +17 -18
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/rest.py +107 -202
- timeplus-1.2.1/swagger_client/timeplus/__init__.py +18 -0
- timeplus-1.2.1/swagger_client/timeplus/alerts_internal_api.py +128 -0
- timeplus-1.2.1/swagger_client/timeplus/alerts_v1beta2_api.py +128 -0
- timeplus-1.1.2/swagger_client/timeplus/api_keys_v1beta1_api.py → timeplus-1.2.1/swagger_client/timeplus/api_keys_v1beta2_api.py +26 -26
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/timeplus/dashboards_v1beta2_api.py +3 -3
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/timeplus/metrics_v1beta2_api.py +32 -19
- timeplus-1.1.2/swagger_client/timeplus/queries_v1beta1_api.py → timeplus-1.2.1/swagger_client/timeplus/queries_v1beta2_api.py +89 -180
- timeplus-1.2.1/swagger_client/timeplus/sinks_internal_api.py +128 -0
- timeplus-1.1.2/swagger_client/timeplus/persistent_queries_v1beta2_api.py → timeplus-1.2.1/swagger_client/timeplus/sinks_v1beta2_api.py +89 -89
- timeplus-1.1.2/swagger_client/timeplus/sources_v1beta1_api.py → timeplus-1.2.1/swagger_client/timeplus/sources_v1beta2_api.py +103 -103
- timeplus-1.1.2/swagger_client/timeplus/streams_v1beta1_api.py → timeplus-1.2.1/swagger_client/timeplus/streams_v1beta2_api.py +248 -58
- timeplus-1.1.2/swagger_client/timeplus/udfs_v1beta1_api.py → timeplus-1.2.1/swagger_client/timeplus/udfs_v1beta2_api.py +45 -45
- timeplus-1.1.2/swagger_client/timeplus/views_v1beta1_api.py → timeplus-1.2.1/swagger_client/timeplus/views_v1beta2_api.py +229 -39
- timeplus-1.2.1/swagger_test/__init__.py +1 -0
- timeplus-1.2.1/swagger_test/test_alerts_internal_api.py +40 -0
- timeplus-1.1.2/swagger_test/test_queries_v1beta2_api.py → timeplus-1.2.1/swagger_test/test_alerts_v1beta2_api.py +7 -7
- timeplus-1.1.2/swagger_test/test_api_keys_v1beta1_api.py → timeplus-1.2.1/swagger_test/test_api_keys_v1beta2_api.py +10 -10
- timeplus-1.2.1/swagger_test/test_create_view_request.py +39 -0
- timeplus-1.2.1/swagger_test/test_metrics_query_throughput.py +39 -0
- timeplus-1.2.1/swagger_test/test_queries_v1beta2_api.py +89 -0
- timeplus-1.2.1/swagger_test/test_sinks_internal_api.py +40 -0
- timeplus-1.1.2/swagger_test/test_sinks_v1beta1_api.py → timeplus-1.2.1/swagger_test/test_sinks_v1beta2_api.py +19 -12
- timeplus-1.2.1/swagger_test/test_sources_v1beta2_api.py +110 -0
- timeplus-1.2.1/swagger_test/test_streams_v1beta2_api.py +89 -0
- timeplus-1.1.2/swagger_test/test_udfs_v1beta1_api.py → timeplus-1.2.1/swagger_test/test_udfs_v1beta2_api.py +14 -14
- timeplus-1.2.1/swagger_test/test_views_v1beta2_api.py +75 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/timeplus/env.py +1 -3
- {timeplus-1.1.2 → timeplus-1.2.1}/timeplus/query.py +10 -15
- {timeplus-1.1.2 → timeplus-1.2.1}/timeplus/stream.py +10 -10
- timeplus-1.2.1/timeplus/version.py +1 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/timeplus.egg-info/PKG-INFO +1 -1
- {timeplus-1.1.2 → timeplus-1.2.1}/timeplus.egg-info/SOURCES.txt +22 -50
- timeplus-1.1.2/swagger_client/models/connection.py +0 -137
- timeplus-1.1.2/swagger_client/models/connection_config.py +0 -136
- timeplus-1.1.2/swagger_client/models/connection_stat.py +0 -138
- timeplus-1.1.2/swagger_client/models/create_persistent_query_request.py +0 -190
- timeplus-1.1.2/swagger_client/models/create_query_request_v1_beta1.py +0 -188
- timeplus-1.1.2/swagger_client/models/create_query_response.py +0 -590
- timeplus-1.1.2/swagger_client/models/internal_http_handler_v1beta2_global_metrics_request.py +0 -110
- timeplus-1.1.2/swagger_client/models/latency.py +0 -214
- timeplus-1.1.2/swagger_client/models/query_analysis.py +0 -219
- timeplus-1.1.2/swagger_client/models/query_metrics.py +0 -162
- timeplus-1.1.2/swagger_client/models/query_with_metrics.py +0 -617
- timeplus-1.1.2/swagger_client/models/resource_metrics_request.py +0 -188
- timeplus-1.1.2/swagger_client/models/sink_metrics.py +0 -136
- timeplus-1.1.2/swagger_client/models/sink_with_metrics.py +0 -377
- timeplus-1.1.2/swagger_client/models/source_metrics.py +0 -188
- timeplus-1.1.2/swagger_client/models/source_with_metrics.py +0 -404
- timeplus-1.1.2/swagger_client/models/throughput.py +0 -140
- timeplus-1.1.2/swagger_client/timeplus/__init__.py +0 -16
- timeplus-1.1.2/swagger_client/timeplus/queries_v1beta2_api.py +0 -143
- timeplus-1.1.2/swagger_client/timeplus/sinks_v1beta1_api.py +0 -409
- timeplus-1.1.2/swagger_test/__init__.py +0 -0
- timeplus-1.1.2/swagger_test/test_connection.py +0 -39
- timeplus-1.1.2/swagger_test/test_connection_config.py +0 -39
- timeplus-1.1.2/swagger_test/test_connection_stat.py +0 -39
- timeplus-1.1.2/swagger_test/test_create_persistent_query_request.py +0 -39
- timeplus-1.1.2/swagger_test/test_create_query_request_v1_beta1.py +0 -39
- timeplus-1.1.2/swagger_test/test_create_query_response.py +0 -39
- timeplus-1.1.2/swagger_test/test_internal_http_handler_v1beta2_global_metrics_request.py +0 -39
- timeplus-1.1.2/swagger_test/test_latency.py +0 -39
- timeplus-1.1.2/swagger_test/test_persistent_queries_v1beta2_api.py +0 -68
- timeplus-1.1.2/swagger_test/test_queries_v1beta1_api.py +0 -96
- timeplus-1.1.2/swagger_test/test_query_analysis.py +0 -39
- timeplus-1.1.2/swagger_test/test_query_metrics.py +0 -39
- timeplus-1.1.2/swagger_test/test_query_with_metrics.py +0 -39
- timeplus-1.1.2/swagger_test/test_resource_metrics_request.py +0 -39
- timeplus-1.1.2/swagger_test/test_sink_metrics.py +0 -39
- timeplus-1.1.2/swagger_test/test_sink_with_metrics.py +0 -39
- timeplus-1.1.2/swagger_test/test_source_metrics.py +0 -39
- timeplus-1.1.2/swagger_test/test_source_with_metrics.py +0 -39
- timeplus-1.1.2/swagger_test/test_sources_v1beta1_api.py +0 -110
- timeplus-1.1.2/swagger_test/test_streams_v1beta1_api.py +0 -75
- timeplus-1.1.2/swagger_test/test_throughput.py +0 -39
- timeplus-1.1.2/swagger_test/test_views_v1beta1_api.py +0 -61
- timeplus-1.1.2/timeplus/version.py +0 -1
- {timeplus-1.1.2 → timeplus-1.2.1}/README.md +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/setup.cfg +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/setup.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/api_client.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/configuration.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/analyze_sql_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/api_key.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/batching_policy.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/column.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/column_def.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/create_api_key_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/create_api_key_response.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/create_dashboard_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/create_query_request_v1_beta2.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/create_sink_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/dashboard_dashboard.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/dashboard_panel.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/edge.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/error_response.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/event.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/event_infer_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/event_infer_response.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/external_stream_def.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/file_upload_response.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/format_query_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/format_query_response.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/graph.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/ingest_data.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/node.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/owner.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/query.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/query_pipeline.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/query_pipeline_edge.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/query_pipeline_node.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/query_pipeline_node_metric.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/query_result.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/sink_stat.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/source_upload_body.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/sql_analyze_column.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/sql_analyze_result.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/stream_match_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/stream_setting.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/time_columns.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/udf.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/udf_argument.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/udf_auth_context.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/models/update_dashboard_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_client/timeplus/topology_v1beta2_api.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_analyze_sql_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_api_key.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_batching_policy.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_column.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_column_def.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_columns_resp.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_create_api_key_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_create_api_key_response.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_create_dashboard_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_create_query_request_v1_beta2.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_create_sink_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_create_source_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_dashboard_dashboard.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_dashboard_panel.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_dashboards_v1beta2_api.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_edge.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_error_response.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_event.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_event_infer_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_event_infer_response.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_external_stream_def.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_file_upload_response.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_format_query_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_format_query_response.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_global_metrics_result.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_graph.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_ingest_data.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_metrics_v1beta2_api.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_node.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_owner.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_query.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_query_pipeline.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_query_pipeline_edge.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_query_pipeline_node.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_query_pipeline_node_metric.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_query_result.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_resource_metrics_result.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_sink.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_sink_stat.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_source.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_source_preview_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_source_upload_body.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_sql_analyze_column.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_sql_analyze_result.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_stream.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_stream_def.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_stream_match_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_stream_setting.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_stream_stats.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_time_columns.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_topology_v1beta2_api.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_udf.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_udf_argument.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_udf_auth_context.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_update_dashboard_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_update_source_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_update_stream_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_update_view_request.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/swagger_test/test_view.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/test/test_stream.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/timeplus/__init__.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/timeplus/error.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/timeplus/type.py +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/timeplus.egg-info/dependency_links.txt +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/timeplus.egg-info/requires.txt +0 -0
- {timeplus-1.1.2 → timeplus-1.2.1}/timeplus.egg-info/top_level.txt +0 -0
|
@@ -15,17 +15,19 @@
|
|
|
15
15
|
from __future__ import absolute_import
|
|
16
16
|
|
|
17
17
|
# import apis into sdk package
|
|
18
|
-
from swagger_client.timeplus.
|
|
18
|
+
from swagger_client.timeplus.api_keys_v1beta2_api import APIKeysV1beta2Api
|
|
19
|
+
from swagger_client.timeplus.alerts_internal_api import AlertsInternalApi
|
|
20
|
+
from swagger_client.timeplus.alerts_v1beta2_api import AlertsV1beta2Api
|
|
19
21
|
from swagger_client.timeplus.dashboards_v1beta2_api import DashboardsV1beta2Api
|
|
20
22
|
from swagger_client.timeplus.metrics_v1beta2_api import MetricsV1beta2Api
|
|
21
|
-
from swagger_client.timeplus.queries_v1beta1_api import QueriesV1beta1Api
|
|
22
23
|
from swagger_client.timeplus.queries_v1beta2_api import QueriesV1beta2Api
|
|
23
|
-
from swagger_client.timeplus.
|
|
24
|
-
from swagger_client.timeplus.
|
|
25
|
-
from swagger_client.timeplus.
|
|
24
|
+
from swagger_client.timeplus.sinks_internal_api import SinksInternalApi
|
|
25
|
+
from swagger_client.timeplus.sinks_v1beta2_api import SinksV1beta2Api
|
|
26
|
+
from swagger_client.timeplus.sources_v1beta2_api import SourcesV1beta2Api
|
|
27
|
+
from swagger_client.timeplus.streams_v1beta2_api import StreamsV1beta2Api
|
|
26
28
|
from swagger_client.timeplus.topology_v1beta2_api import TopologyV1beta2Api
|
|
27
|
-
from swagger_client.timeplus.
|
|
28
|
-
from swagger_client.timeplus.
|
|
29
|
+
from swagger_client.timeplus.udfs_v1beta2_api import UDFsV1beta2Api
|
|
30
|
+
from swagger_client.timeplus.views_v1beta2_api import ViewsV1beta2Api
|
|
29
31
|
# import ApiClient
|
|
30
32
|
from swagger_client.api_client import ApiClient
|
|
31
33
|
from swagger_client.configuration import Configuration
|
|
@@ -36,17 +38,13 @@ from swagger_client.models.batching_policy import BatchingPolicy
|
|
|
36
38
|
from swagger_client.models.column import Column
|
|
37
39
|
from swagger_client.models.column_def import ColumnDef
|
|
38
40
|
from swagger_client.models.columns_resp import ColumnsResp
|
|
39
|
-
from swagger_client.models.connection import Connection
|
|
40
|
-
from swagger_client.models.connection_config import ConnectionConfig
|
|
41
|
-
from swagger_client.models.connection_stat import ConnectionStat
|
|
42
41
|
from swagger_client.models.create_api_key_request import CreateAPIKeyRequest
|
|
43
42
|
from swagger_client.models.create_api_key_response import CreateAPIKeyResponse
|
|
44
43
|
from swagger_client.models.create_dashboard_request import CreateDashboardRequest
|
|
45
|
-
from swagger_client.models.create_query_request_v1_beta1 import CreateQueryRequestV1Beta1
|
|
46
44
|
from swagger_client.models.create_query_request_v1_beta2 import CreateQueryRequestV1Beta2
|
|
47
|
-
from swagger_client.models.create_query_response import CreateQueryResponse
|
|
48
45
|
from swagger_client.models.create_sink_request import CreateSinkRequest
|
|
49
46
|
from swagger_client.models.create_source_request import CreateSourceRequest
|
|
47
|
+
from swagger_client.models.create_view_request import CreateViewRequest
|
|
50
48
|
from swagger_client.models.dashboard_dashboard import DashboardDashboard
|
|
51
49
|
from swagger_client.models.dashboard_panel import DashboardPanel
|
|
52
50
|
from swagger_client.models.edge import Edge
|
|
@@ -61,6 +59,7 @@ from swagger_client.models.format_query_response import FormatQueryResponse
|
|
|
61
59
|
from swagger_client.models.global_metrics_result import GlobalMetricsResult
|
|
62
60
|
from swagger_client.models.graph import Graph
|
|
63
61
|
from swagger_client.models.ingest_data import IngestData
|
|
62
|
+
from swagger_client.models.metrics_query_throughput import MetricsQueryThroughput
|
|
64
63
|
from swagger_client.models.node import Node
|
|
65
64
|
from swagger_client.models.owner import Owner
|
|
66
65
|
from swagger_client.models.query import Query
|
|
@@ -69,7 +68,6 @@ from swagger_client.models.query_pipeline_edge import QueryPipelineEdge
|
|
|
69
68
|
from swagger_client.models.query_pipeline_node import QueryPipelineNode
|
|
70
69
|
from swagger_client.models.query_pipeline_node_metric import QueryPipelineNodeMetric
|
|
71
70
|
from swagger_client.models.query_result import QueryResult
|
|
72
|
-
from swagger_client.models.resource_metrics_request import ResourceMetricsRequest
|
|
73
71
|
from swagger_client.models.resource_metrics_result import ResourceMetricsResult
|
|
74
72
|
from swagger_client.models.sql_analyze_column import SQLAnalyzeColumn
|
|
75
73
|
from swagger_client.models.sql_analyze_result import SQLAnalyzeResult
|
|
@@ -20,17 +20,13 @@ from swagger_client.models.batching_policy import BatchingPolicy
|
|
|
20
20
|
from swagger_client.models.column import Column
|
|
21
21
|
from swagger_client.models.column_def import ColumnDef
|
|
22
22
|
from swagger_client.models.columns_resp import ColumnsResp
|
|
23
|
-
from swagger_client.models.connection import Connection
|
|
24
|
-
from swagger_client.models.connection_config import ConnectionConfig
|
|
25
|
-
from swagger_client.models.connection_stat import ConnectionStat
|
|
26
23
|
from swagger_client.models.create_api_key_request import CreateAPIKeyRequest
|
|
27
24
|
from swagger_client.models.create_api_key_response import CreateAPIKeyResponse
|
|
28
25
|
from swagger_client.models.create_dashboard_request import CreateDashboardRequest
|
|
29
|
-
from swagger_client.models.create_query_request_v1_beta1 import CreateQueryRequestV1Beta1
|
|
30
26
|
from swagger_client.models.create_query_request_v1_beta2 import CreateQueryRequestV1Beta2
|
|
31
|
-
from swagger_client.models.create_query_response import CreateQueryResponse
|
|
32
27
|
from swagger_client.models.create_sink_request import CreateSinkRequest
|
|
33
28
|
from swagger_client.models.create_source_request import CreateSourceRequest
|
|
29
|
+
from swagger_client.models.create_view_request import CreateViewRequest
|
|
34
30
|
from swagger_client.models.dashboard_dashboard import DashboardDashboard
|
|
35
31
|
from swagger_client.models.dashboard_panel import DashboardPanel
|
|
36
32
|
from swagger_client.models.edge import Edge
|
|
@@ -45,6 +41,7 @@ from swagger_client.models.format_query_response import FormatQueryResponse
|
|
|
45
41
|
from swagger_client.models.global_metrics_result import GlobalMetricsResult
|
|
46
42
|
from swagger_client.models.graph import Graph
|
|
47
43
|
from swagger_client.models.ingest_data import IngestData
|
|
44
|
+
from swagger_client.models.metrics_query_throughput import MetricsQueryThroughput
|
|
48
45
|
from swagger_client.models.node import Node
|
|
49
46
|
from swagger_client.models.owner import Owner
|
|
50
47
|
from swagger_client.models.query import Query
|
|
@@ -53,7 +50,6 @@ from swagger_client.models.query_pipeline_edge import QueryPipelineEdge
|
|
|
53
50
|
from swagger_client.models.query_pipeline_node import QueryPipelineNode
|
|
54
51
|
from swagger_client.models.query_pipeline_node_metric import QueryPipelineNodeMetric
|
|
55
52
|
from swagger_client.models.query_result import QueryResult
|
|
56
|
-
from swagger_client.models.resource_metrics_request import ResourceMetricsRequest
|
|
57
53
|
from swagger_client.models.resource_metrics_result import ResourceMetricsResult
|
|
58
54
|
from swagger_client.models.sql_analyze_column import SQLAnalyzeColumn
|
|
59
55
|
from swagger_client.models.sql_analyze_result import SQLAnalyzeResult
|
|
@@ -28,8 +28,6 @@ class ColumnsResp(object):
|
|
|
28
28
|
and the value is json key in definition.
|
|
29
29
|
"""
|
|
30
30
|
swagger_types = {
|
|
31
|
-
'alias': 'str',
|
|
32
|
-
'comment': 'str',
|
|
33
31
|
'default': 'str',
|
|
34
32
|
'name': 'str',
|
|
35
33
|
'nullable': 'bool',
|
|
@@ -37,27 +35,19 @@ class ColumnsResp(object):
|
|
|
37
35
|
}
|
|
38
36
|
|
|
39
37
|
attribute_map = {
|
|
40
|
-
'alias': 'alias',
|
|
41
|
-
'comment': 'comment',
|
|
42
38
|
'default': 'default',
|
|
43
39
|
'name': 'name',
|
|
44
40
|
'nullable': 'nullable',
|
|
45
41
|
'type': 'type'
|
|
46
42
|
}
|
|
47
43
|
|
|
48
|
-
def __init__(self,
|
|
44
|
+
def __init__(self, default=None, name=None, nullable=None, type=None): # noqa: E501
|
|
49
45
|
"""ColumnsResp - a model defined in Swagger""" # noqa: E501
|
|
50
|
-
self._alias = None
|
|
51
|
-
self._comment = None
|
|
52
46
|
self._default = None
|
|
53
47
|
self._name = None
|
|
54
48
|
self._nullable = None
|
|
55
49
|
self._type = None
|
|
56
50
|
self.discriminator = None
|
|
57
|
-
if alias is not None:
|
|
58
|
-
self.alias = alias
|
|
59
|
-
if comment is not None:
|
|
60
|
-
self.comment = comment
|
|
61
51
|
if default is not None:
|
|
62
52
|
self.default = default
|
|
63
53
|
if name is not None:
|
|
@@ -67,48 +57,6 @@ class ColumnsResp(object):
|
|
|
67
57
|
if type is not None:
|
|
68
58
|
self.type = type
|
|
69
59
|
|
|
70
|
-
@property
|
|
71
|
-
def alias(self):
|
|
72
|
-
"""Gets the alias of this ColumnsResp. # noqa: E501
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
:return: The alias of this ColumnsResp. # noqa: E501
|
|
76
|
-
:rtype: str
|
|
77
|
-
"""
|
|
78
|
-
return self._alias
|
|
79
|
-
|
|
80
|
-
@alias.setter
|
|
81
|
-
def alias(self, alias):
|
|
82
|
-
"""Sets the alias of this ColumnsResp.
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
:param alias: The alias of this ColumnsResp. # noqa: E501
|
|
86
|
-
:type: str
|
|
87
|
-
"""
|
|
88
|
-
|
|
89
|
-
self._alias = alias
|
|
90
|
-
|
|
91
|
-
@property
|
|
92
|
-
def comment(self):
|
|
93
|
-
"""Gets the comment of this ColumnsResp. # noqa: E501
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
:return: The comment of this ColumnsResp. # noqa: E501
|
|
97
|
-
:rtype: str
|
|
98
|
-
"""
|
|
99
|
-
return self._comment
|
|
100
|
-
|
|
101
|
-
@comment.setter
|
|
102
|
-
def comment(self, comment):
|
|
103
|
-
"""Sets the comment of this ColumnsResp.
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
:param comment: The comment of this ColumnsResp. # noqa: E501
|
|
107
|
-
:type: str
|
|
108
|
-
"""
|
|
109
|
-
|
|
110
|
-
self._comment = comment
|
|
111
|
-
|
|
112
60
|
@property
|
|
113
61
|
def default(self):
|
|
114
62
|
"""Gets the default of this ColumnsResp. # noqa: E501
|
|
@@ -28,59 +28,37 @@ class CreateSourceRequest(object):
|
|
|
28
28
|
and the value is json key in definition.
|
|
29
29
|
"""
|
|
30
30
|
swagger_types = {
|
|
31
|
-
'connection_config': 'ConnectionConfig',
|
|
32
31
|
'description': 'str',
|
|
33
32
|
'name': 'str',
|
|
34
33
|
'properties': 'dict(str, object)',
|
|
34
|
+
'stream': 'str',
|
|
35
35
|
'type': 'str'
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
attribute_map = {
|
|
39
|
-
'connection_config': 'connection_config',
|
|
40
39
|
'description': 'description',
|
|
41
40
|
'name': 'name',
|
|
42
41
|
'properties': 'properties',
|
|
42
|
+
'stream': 'stream',
|
|
43
43
|
'type': 'type'
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
def __init__(self,
|
|
46
|
+
def __init__(self, description=None, name=None, properties=None, stream=None, type=None): # noqa: E501
|
|
47
47
|
"""CreateSourceRequest - a model defined in Swagger""" # noqa: E501
|
|
48
|
-
self._connection_config = None
|
|
49
48
|
self._description = None
|
|
50
49
|
self._name = None
|
|
51
50
|
self._properties = None
|
|
51
|
+
self._stream = None
|
|
52
52
|
self._type = None
|
|
53
53
|
self.discriminator = None
|
|
54
|
-
if connection_config is not None:
|
|
55
|
-
self.connection_config = connection_config
|
|
56
54
|
if description is not None:
|
|
57
55
|
self.description = description
|
|
58
56
|
self.name = name
|
|
59
57
|
if properties is not None:
|
|
60
58
|
self.properties = properties
|
|
59
|
+
self.stream = stream
|
|
61
60
|
self.type = type
|
|
62
61
|
|
|
63
|
-
@property
|
|
64
|
-
def connection_config(self):
|
|
65
|
-
"""Gets the connection_config of this CreateSourceRequest. # noqa: E501
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
:return: The connection_config of this CreateSourceRequest. # noqa: E501
|
|
69
|
-
:rtype: ConnectionConfig
|
|
70
|
-
"""
|
|
71
|
-
return self._connection_config
|
|
72
|
-
|
|
73
|
-
@connection_config.setter
|
|
74
|
-
def connection_config(self, connection_config):
|
|
75
|
-
"""Sets the connection_config of this CreateSourceRequest.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
:param connection_config: The connection_config of this CreateSourceRequest. # noqa: E501
|
|
79
|
-
:type: ConnectionConfig
|
|
80
|
-
"""
|
|
81
|
-
|
|
82
|
-
self._connection_config = connection_config
|
|
83
|
-
|
|
84
62
|
@property
|
|
85
63
|
def description(self):
|
|
86
64
|
"""Gets the description of this CreateSourceRequest. # noqa: E501
|
|
@@ -106,6 +84,7 @@ class CreateSourceRequest(object):
|
|
|
106
84
|
def name(self):
|
|
107
85
|
"""Gets the name of this CreateSourceRequest. # noqa: E501
|
|
108
86
|
|
|
87
|
+
Source name should only contain a maximum of 64 letters, numbers, or _, and start with a letter # noqa: E501
|
|
109
88
|
|
|
110
89
|
:return: The name of this CreateSourceRequest. # noqa: E501
|
|
111
90
|
:rtype: str
|
|
@@ -116,6 +95,7 @@ class CreateSourceRequest(object):
|
|
|
116
95
|
def name(self, name):
|
|
117
96
|
"""Sets the name of this CreateSourceRequest.
|
|
118
97
|
|
|
98
|
+
Source name should only contain a maximum of 64 letters, numbers, or _, and start with a letter # noqa: E501
|
|
119
99
|
|
|
120
100
|
:param name: The name of this CreateSourceRequest. # noqa: E501
|
|
121
101
|
:type: str
|
|
@@ -129,6 +109,7 @@ class CreateSourceRequest(object):
|
|
|
129
109
|
def properties(self):
|
|
130
110
|
"""Gets the properties of this CreateSourceRequest. # noqa: E501
|
|
131
111
|
|
|
112
|
+
Additional properties that required to read the data from source. Please refer to the documentation for this source type # noqa: E501
|
|
132
113
|
|
|
133
114
|
:return: The properties of this CreateSourceRequest. # noqa: E501
|
|
134
115
|
:rtype: dict(str, object)
|
|
@@ -139,6 +120,7 @@ class CreateSourceRequest(object):
|
|
|
139
120
|
def properties(self, properties):
|
|
140
121
|
"""Sets the properties of this CreateSourceRequest.
|
|
141
122
|
|
|
123
|
+
Additional properties that required to read the data from source. Please refer to the documentation for this source type # noqa: E501
|
|
142
124
|
|
|
143
125
|
:param properties: The properties of this CreateSourceRequest. # noqa: E501
|
|
144
126
|
:type: dict(str, object)
|
|
@@ -146,10 +128,36 @@ class CreateSourceRequest(object):
|
|
|
146
128
|
|
|
147
129
|
self._properties = properties
|
|
148
130
|
|
|
131
|
+
@property
|
|
132
|
+
def stream(self):
|
|
133
|
+
"""Gets the stream of this CreateSourceRequest. # noqa: E501
|
|
134
|
+
|
|
135
|
+
The name of the target stream that this source writes to. The stream needs to be created first. # noqa: E501
|
|
136
|
+
|
|
137
|
+
:return: The stream of this CreateSourceRequest. # noqa: E501
|
|
138
|
+
:rtype: str
|
|
139
|
+
"""
|
|
140
|
+
return self._stream
|
|
141
|
+
|
|
142
|
+
@stream.setter
|
|
143
|
+
def stream(self, stream):
|
|
144
|
+
"""Sets the stream of this CreateSourceRequest.
|
|
145
|
+
|
|
146
|
+
The name of the target stream that this source writes to. The stream needs to be created first. # noqa: E501
|
|
147
|
+
|
|
148
|
+
:param stream: The stream of this CreateSourceRequest. # noqa: E501
|
|
149
|
+
:type: str
|
|
150
|
+
"""
|
|
151
|
+
if stream is None:
|
|
152
|
+
raise ValueError("Invalid value for `stream`, must not be `None`") # noqa: E501
|
|
153
|
+
|
|
154
|
+
self._stream = stream
|
|
155
|
+
|
|
149
156
|
@property
|
|
150
157
|
def type(self):
|
|
151
158
|
"""Gets the type of this CreateSourceRequest. # noqa: E501
|
|
152
159
|
|
|
160
|
+
Type of the source # noqa: E501
|
|
153
161
|
|
|
154
162
|
:return: The type of this CreateSourceRequest. # noqa: E501
|
|
155
163
|
:rtype: str
|
|
@@ -160,6 +168,7 @@ class CreateSourceRequest(object):
|
|
|
160
168
|
def type(self, type):
|
|
161
169
|
"""Sets the type of this CreateSourceRequest.
|
|
162
170
|
|
|
171
|
+
Type of the source # noqa: E501
|
|
163
172
|
|
|
164
173
|
:param type: The type of this CreateSourceRequest. # noqa: E501
|
|
165
174
|
:type: str
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Timeplus
|
|
5
|
+
|
|
6
|
+
Welcome to the Timeplus HTTP REST API specification. # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: v1
|
|
9
|
+
Contact: support@timeplus.com
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
import pprint
|
|
14
|
+
import re # noqa: F401
|
|
15
|
+
|
|
16
|
+
import six
|
|
17
|
+
|
|
18
|
+
class CreateViewRequest(object):
|
|
19
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
20
|
+
|
|
21
|
+
Do not edit the class manually.
|
|
22
|
+
"""
|
|
23
|
+
"""
|
|
24
|
+
Attributes:
|
|
25
|
+
swagger_types (dict): The key is attribute name
|
|
26
|
+
and the value is attribute type.
|
|
27
|
+
attribute_map (dict): The key is attribute name
|
|
28
|
+
and the value is json key in definition.
|
|
29
|
+
"""
|
|
30
|
+
swagger_types = {
|
|
31
|
+
'description': 'str',
|
|
32
|
+
'materialized': 'bool',
|
|
33
|
+
'name': 'str',
|
|
34
|
+
'query': 'str',
|
|
35
|
+
'target_stream': 'str'
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
attribute_map = {
|
|
39
|
+
'description': 'description',
|
|
40
|
+
'materialized': 'materialized',
|
|
41
|
+
'name': 'name',
|
|
42
|
+
'query': 'query',
|
|
43
|
+
'target_stream': 'target_stream'
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
def __init__(self, description=None, materialized=False, name=None, query=None, target_stream=None): # noqa: E501
|
|
47
|
+
"""CreateViewRequest - a model defined in Swagger""" # noqa: E501
|
|
48
|
+
self._description = None
|
|
49
|
+
self._materialized = None
|
|
50
|
+
self._name = None
|
|
51
|
+
self._query = None
|
|
52
|
+
self._target_stream = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
if description is not None:
|
|
55
|
+
self.description = description
|
|
56
|
+
if materialized is not None:
|
|
57
|
+
self.materialized = materialized
|
|
58
|
+
self.name = name
|
|
59
|
+
self.query = query
|
|
60
|
+
if target_stream is not None:
|
|
61
|
+
self.target_stream = target_stream
|
|
62
|
+
|
|
63
|
+
@property
|
|
64
|
+
def description(self):
|
|
65
|
+
"""Gets the description of this CreateViewRequest. # noqa: E501
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
:return: The description of this CreateViewRequest. # noqa: E501
|
|
69
|
+
:rtype: str
|
|
70
|
+
"""
|
|
71
|
+
return self._description
|
|
72
|
+
|
|
73
|
+
@description.setter
|
|
74
|
+
def description(self, description):
|
|
75
|
+
"""Sets the description of this CreateViewRequest.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
:param description: The description of this CreateViewRequest. # noqa: E501
|
|
79
|
+
:type: str
|
|
80
|
+
"""
|
|
81
|
+
|
|
82
|
+
self._description = description
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def materialized(self):
|
|
86
|
+
"""Gets the materialized of this CreateViewRequest. # noqa: E501
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
:return: The materialized of this CreateViewRequest. # noqa: E501
|
|
90
|
+
:rtype: bool
|
|
91
|
+
"""
|
|
92
|
+
return self._materialized
|
|
93
|
+
|
|
94
|
+
@materialized.setter
|
|
95
|
+
def materialized(self, materialized):
|
|
96
|
+
"""Sets the materialized of this CreateViewRequest.
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
:param materialized: The materialized of this CreateViewRequest. # noqa: E501
|
|
100
|
+
:type: bool
|
|
101
|
+
"""
|
|
102
|
+
|
|
103
|
+
self._materialized = materialized
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
def name(self):
|
|
107
|
+
"""Gets the name of this CreateViewRequest. # noqa: E501
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
:return: The name of this CreateViewRequest. # noqa: E501
|
|
111
|
+
:rtype: str
|
|
112
|
+
"""
|
|
113
|
+
return self._name
|
|
114
|
+
|
|
115
|
+
@name.setter
|
|
116
|
+
def name(self, name):
|
|
117
|
+
"""Sets the name of this CreateViewRequest.
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
:param name: The name of this CreateViewRequest. # noqa: E501
|
|
121
|
+
:type: str
|
|
122
|
+
"""
|
|
123
|
+
if name is None:
|
|
124
|
+
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
|
|
125
|
+
|
|
126
|
+
self._name = name
|
|
127
|
+
|
|
128
|
+
@property
|
|
129
|
+
def query(self):
|
|
130
|
+
"""Gets the query of this CreateViewRequest. # noqa: E501
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
:return: The query of this CreateViewRequest. # noqa: E501
|
|
134
|
+
:rtype: str
|
|
135
|
+
"""
|
|
136
|
+
return self._query
|
|
137
|
+
|
|
138
|
+
@query.setter
|
|
139
|
+
def query(self, query):
|
|
140
|
+
"""Sets the query of this CreateViewRequest.
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
:param query: The query of this CreateViewRequest. # noqa: E501
|
|
144
|
+
:type: str
|
|
145
|
+
"""
|
|
146
|
+
if query is None:
|
|
147
|
+
raise ValueError("Invalid value for `query`, must not be `None`") # noqa: E501
|
|
148
|
+
|
|
149
|
+
self._query = query
|
|
150
|
+
|
|
151
|
+
@property
|
|
152
|
+
def target_stream(self):
|
|
153
|
+
"""Gets the target_stream of this CreateViewRequest. # noqa: E501
|
|
154
|
+
|
|
155
|
+
This option is applicable only when `materialized` is `true`. Specify this when you want to have multiple materialized views sink to the same target stream. # noqa: E501
|
|
156
|
+
|
|
157
|
+
:return: The target_stream of this CreateViewRequest. # noqa: E501
|
|
158
|
+
:rtype: str
|
|
159
|
+
"""
|
|
160
|
+
return self._target_stream
|
|
161
|
+
|
|
162
|
+
@target_stream.setter
|
|
163
|
+
def target_stream(self, target_stream):
|
|
164
|
+
"""Sets the target_stream of this CreateViewRequest.
|
|
165
|
+
|
|
166
|
+
This option is applicable only when `materialized` is `true`. Specify this when you want to have multiple materialized views sink to the same target stream. # noqa: E501
|
|
167
|
+
|
|
168
|
+
:param target_stream: The target_stream of this CreateViewRequest. # noqa: E501
|
|
169
|
+
:type: str
|
|
170
|
+
"""
|
|
171
|
+
|
|
172
|
+
self._target_stream = target_stream
|
|
173
|
+
|
|
174
|
+
def to_dict(self):
|
|
175
|
+
"""Returns the model properties as a dict"""
|
|
176
|
+
result = {}
|
|
177
|
+
|
|
178
|
+
for attr, _ in six.iteritems(self.swagger_types):
|
|
179
|
+
value = getattr(self, attr)
|
|
180
|
+
if isinstance(value, list):
|
|
181
|
+
result[attr] = list(map(
|
|
182
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
183
|
+
value
|
|
184
|
+
))
|
|
185
|
+
elif hasattr(value, "to_dict"):
|
|
186
|
+
result[attr] = value.to_dict()
|
|
187
|
+
elif isinstance(value, dict):
|
|
188
|
+
result[attr] = dict(map(
|
|
189
|
+
lambda item: (item[0], item[1].to_dict())
|
|
190
|
+
if hasattr(item[1], "to_dict") else item,
|
|
191
|
+
value.items()
|
|
192
|
+
))
|
|
193
|
+
else:
|
|
194
|
+
result[attr] = value
|
|
195
|
+
if issubclass(CreateViewRequest, dict):
|
|
196
|
+
for key, value in self.items():
|
|
197
|
+
result[key] = value
|
|
198
|
+
|
|
199
|
+
return result
|
|
200
|
+
|
|
201
|
+
def to_str(self):
|
|
202
|
+
"""Returns the string representation of the model"""
|
|
203
|
+
return pprint.pformat(self.to_dict())
|
|
204
|
+
|
|
205
|
+
def __repr__(self):
|
|
206
|
+
"""For `print` and `pprint`"""
|
|
207
|
+
return self.to_str()
|
|
208
|
+
|
|
209
|
+
def __eq__(self, other):
|
|
210
|
+
"""Returns true if both objects are equal"""
|
|
211
|
+
if not isinstance(other, CreateViewRequest):
|
|
212
|
+
return False
|
|
213
|
+
|
|
214
|
+
return self.__dict__ == other.__dict__
|
|
215
|
+
|
|
216
|
+
def __ne__(self, other):
|
|
217
|
+
"""Returns true if both objects are not equal"""
|
|
218
|
+
return not self == other
|