MCPcopy Create free account

hub / github.com/GoogleCloudPlatform/DataflowTemplates / types & classes

Types & classes3,671 in github.com/GoogleCloudPlatform/DataflowTemplates

↓ 62 callersClassExpr
A validated, compiled expression callable. Parses a Python expression string, validates it uses only safe constructs, and compiles it into a call
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/safe_eval.py:134
↓ 25 callersClassMeasureSpec
A single aggregation measure. Args: field: Input field name to aggregate. agg: The aggregation operator. alias: Output name for this me
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/metric.py:161
↓ 21 callersClassAggregationSpec
Windowed grouped aggregation configuration. Args: window: Window configuration. group_by: Field names for grouping. Empty list means global
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/metric.py:175
↓ 20 callersClassMetricSpec
Complete metric computation specification. Defines how to transform raw row dicts into a single numeric metric value suitable for anomaly detecti
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/metric.py:189
↓ 14 callersClass_FakeReadModifyWriteState
In-memory stand-in for a Beam ReadModifyWriteStateSpec, used to unit-test _RateLimitAlerts without a real pipeline. Matches the contract the DoFn
python/src/test/python/bigquery-anomaly-detection/pipeline_test.py:1415
↓ 14 callersClass_RateLimitAlerts
Per-key session-window debounce for alerts. ``window_end`` is "now". Fires iff first event for the key OR gap from the prior event ≥ cooldown. ``
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/pipeline.py:410
↓ 11 callersClassWindowSpec
Window configuration for metric aggregation. Args: type: FIXED or SLIDING window. size_seconds: Window size in seconds. period_seconds:
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/metric.py:133
↓ 10 callersClass_FormatAnomalyAsJson
Renders an anomaly for Pub/Sub as UTF-8 bytes. If ``message_format`` is set, emits ``message_format.format(...)``. Otherwise emits a default JSON
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/pipeline.py:337
↓ 10 callersClass_SumCombineFn
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/metric.py:361
↓ 9 callersClass_RelativeChangeConfig
Configuration for the RelativeChange detector. At least one of ``threshold_pct`` or ``absolute_threshold`` must be provided. If both are provided
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/relative_change_detector.py:64
↓ 7 callersClassComputeMetric
Transforms raw row dicts into metric beam.Rows for anomaly detection. Takes a ``PCollection[dict]`` with event-time timestamps and produces eithe
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/metric.py:577
↓ 7 callersClassIncSlidingMeanTracker
Incremental sliding window mean tracker. Uses the same algorithm as ``apache_beam.ml.anomaly.univariate.mean.IncSlidingMeanTracker``: maintains
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/relative_change_detector.py:101
↓ 6 callersClass_FormatResultForBQ
Converts all AnomalyResult elements to BQ row dicts.
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/pipeline.py:563
↓ 5 callersClass_StreamRestriction
Restriction carrying BQ Storage stream names for cross-worker safety. Unlike a plain OffsetRange(0, N), this restriction is self-contained: each
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/cdc.py:152
↓ 4 callersClassBufferState
All mutable per-key state for the timestamp buffer. Stored as a single pickled object in ReadModifyWriteState. All timestamp fields use Beam ``Ti
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/timestamp_buffer.py:79
↓ 3 callersClassCopyFilesToGCSDoFn
A DoFn that copies input files to a GCS destination. It skips files that are already on GCS (starting with 'gs://'). It uses a bundle-level ran
python/src/main/python/job-builder-util-transforms/copy_files_to_gcs.py:13
↓ 3 callersClass_MapperSidePrecombine
Mapper-side pre-aggregation within each bundle. Mirrors PGBKCVOperation (operations.py) but as a user-level DoFn so Dataflow still sees the downs
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/metric.py:455
↓ 3 callersClass_PostAnomalyToWebhook
POSTs each anomaly to ``webhook_spec.endpoint`` using ADC. String leaves in ``body`` and ``headers`` are format-substituted with ``anomaly fields
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/pipeline.py:470
↓ 3 callersClass_ThresholdAlert
Emits AnomalyResult(label=1) when ``expression`` is truthy, else label=0. ``value`` is bound to the metric value. The output matches the shape of
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/pipeline.py:219
↓ 2 callersClassDerivedField
Pre-aggregation column derivation via expression. Args: name: Name of the new field to create. expression: A compiled ``Expr`` callable, e.
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/metric.py:148
↓ 2 callersClassFanoutStrategy
Strategy for aggregation parallelism. Applies to both keyed and global. NONE: Plain Combine, no fanout. Relies on combiner lifting for mapper-side
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/metric.py:111
↓ 2 callersTypeAliasMatchIsComputed
MatchIsComputed is a Matcher for tfjson.SchemaAttribute Computed attribute.
cicd/internal/terraform/matcher.go:77
↓ 2 callersClassRelativeChangeDoFn
Stateful DoFn that detects relative changes between windows. Subclasses ``TimestampBufferDoFnBag`` for the buffer/timer/trim machinery. Uses the
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/relative_change_detector.py:186
↓ 2 callersClassWriteToPubSub
v2/common/src/main/java/com/google/cloud/teleport/v2/auto/blocks/WriteToPubSub.java:29
↓ 2 callersClass_NonSplittableOffsetTracker
OffsetRestrictionTracker that allows checkpointing but prevents splitting. Checkpointing (fraction=0) is required for defer_remainder(). All other
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/cdc.py:227
↓ 2 callersClass_PreCombineFn
Stage 1 wrapper: extract_output returns the raw accumulator.
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/metric.py:419
↓ 2 callersClass_StubResponse
Minimal stand-in for a requests Response used by DoFn tests.
python/src/test/python/bigquery-anomaly-detection/pipeline_test.py:897
↓ 2 callersClass_StubSession
Captures the most recent request() call for assertions.
python/src/test/python/bigquery-anomaly-detection/pipeline_test.py:909
↓ 1 callersClassAggOp
Aggregation operator.
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/metric.py:102
↓ 1 callersClassBagBufferReader
Buffer reader backed by a materialized BagState.
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/timestamp_buffer.py:119
↓ 1 callersClassCopyFilesToGCS
A PTransform that copies files to GCS. It takes a PCollection of objects with a `path` attribute and copies non-GCS files to the specified GCS de
python/src/main/python/job-builder-util-transforms/copy_files_to_gcs.py:66
↓ 1 callersClassOLSBufferReader
Buffer reader backed by OrderedListState.
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/timestamp_buffer.py:139
↓ 1 callersClassOffsetKey
Key that pairs an optional grouping key with a window offset. Used to route each sliding-window offset to an independent detector state. Fixed wi
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/pipeline.py:116
↓ 1 callersClassReadBigQueryChangeHistory
Streaming source for BigQuery change history. Continuously polls BigQuery APPENDS() or CHANGES() functions and emits changed rows as an unbounded
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/cdc.py:1168
↓ 1 callersClassReadFromPubSub
v2/common/src/main/java/com/google/cloud/teleport/v2/auto/blocks/ReadFromPubSub.java:28
↓ 1 callersClassWindowType
Window type for metric aggregation.
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/metric.py:96
↓ 1 callersClassWordExtractingDoFn
Parse each line of input text into words.
python/src/main/python/word-count-python/main.py:29
↓ 1 callersClassWriteToBigQuery
v2/common/src/main/java/com/google/cloud/teleport/v2/auto/blocks/WriteToBigQuery.java:53
↓ 1 callersClass_ApplyMetricExpr
DoFn that evaluates a post-aggregation expression on combined results.
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/metric.py:549
↓ 1 callersClass_CDCWatermarkEstimatorProvider
WatermarkEstimatorProvider that initializes the hold from _QueryResult. Uses range_start from the element to set the initial watermark hold. This
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/cdc.py:698
↓ 1 callersClass_CleanupTempTablesFn
Stateful DoFn that deletes temp tables after all streams are read. Receives cleanup signals from the Read SDF as: (table_key, (streams_read_cou
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/cdc.py:1102
↓ 1 callersClass_DecompressArrowBatchesFn
Decompress and convert raw Arrow batches to timestamped row dicts. Receives individual (schema_bytes, batch_bytes) tuples after Reshuffle and con
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/cdc.py:1065
↓ 1 callersClass_DerivedFieldsFn
Callable that evaluates derived field expressions on each row dict. Each derived field's ``expression`` is a compiled ``Expr`` callable. This cla
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/metric.py:532
↓ 1 callersClass_ExecuteQueryFn
Executes a BQ CHANGES/APPENDS query from a _QueryRange instruction.
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/cdc.py:571
↓ 1 callersClass_FakeBagState
In-memory stand-in for a Beam BagStateSpec. Matches the contract AsyncWrapper expects (``add``, ``clear``, ``read``). Modeled directly on the hel
python/src/test/python/bigquery-anomaly-detection/pipeline_test.py:1302
↓ 1 callersClass_FakeTimer
python/src/test/python/bigquery-anomaly-detection/pipeline_test.py:1328
↓ 1 callersClass_LogAnomalyResult
Logs each AnomalyResult at WARNING level for visibility in Dataflow.
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/pipeline.py:188
↓ 1 callersClass_MaxCombineFn
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/metric.py:389
↓ 1 callersClass_MinCombineFn
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/metric.py:375
↓ 1 callersClass_PollChangeHistoryFn
SDF that periodically emits _QueryRange instructions. Uses defer_remainder() for poll timing and _PollWatermarkEstimator to control the watermark
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/cdc.py:404
↓ 1 callersClass_PollConfig
Input element for the polling SDF. Only contains start_time (Beam Timestamp), which _PollWatermarkEstimatorProvider uses to initialize the waterm
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/cdc.py:129
↓ 1 callersClass_PollWatermarkEstimator
Watermark estimator that tracks both a watermark hold and poll cursor. The watermark hold (reported via current_watermark) is set to start_ts: th
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/cdc.py:241
↓ 1 callersClass_PollWatermarkEstimatorProvider
Provider for _PollWatermarkEstimator. Initializes with watermark hold at start_time and poll cursor at start_time (first poll will query from sta
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/cdc.py:292
↓ 1 callersClass_PostCombineFn
Stage 2 wrapper: add_input merges an accumulator from Stage 1.
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/metric.py:437
↓ 1 callersClass_QueryRange
Lightweight instruction emitted by the polling SDF. Contains only the time range to query as Beam Timestamps (int microseconds internally). Stati
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/cdc.py:140
↓ 1 callersClass_QueryResult
Bridges the Query step (query execution) to the Read SDF. After _ExecuteQueryFn runs a CHANGES/APPENDS query, it emits a _QueryResult pointing to
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/cdc.py:111
↓ 1 callersClass_ReadStorageStreamsSDF
SDF that reads a temp table via BigQuery Storage Read API. Note on SDF lifecycle: the runner decomposes this SDF into three internal wrapper DoFn
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/cdc.py:720
↓ 1 callersClass_SequenceSession
Session stub that returns a scripted outcome per request() call. Each entry in ``outcomes`` is either an int HTTP status (returns a ``_StubRespon
python/src/test/python/bigquery-anomaly-detection/pipeline_test.py:924
↓ 1 callersClass_StreamRestrictionTracker
Tracker for _StreamRestriction, delegating offset logic to OffsetRestrictionTracker.
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/cdc.py:192
ClassAbstractJdbcSrcToSpSourceConnector
Abstract class for JDBC source connectors. Handles sharded vs single instance migration.
v2/sourcedb-to-spanner/src/main/java/com/google/cloud/teleport/v2/source/jdbc/AbstractJdbcSrcToSpSourceConnector.java:38
ClassAbstractPipelineLauncher
Abstract class covering the common operations between Classic and Flex templates. <p>Generally, the methods here are the ones that focus more on the
it/google-cloud-platform/src/main/java/org/apache/beam/it/gcp/dataflow/AbstractPipelineLauncher.java:60
ClassAbstractPipelineLauncherTest
Unit tests for {@link AbstractPipelineLauncher}.
it/google-cloud-platform/src/test/java/org/apache/beam/it/gcp/dataflow/AbstractPipelineLauncherTest.java:49
ClassAccumulateEntityMapFn
v2/dataplex/src/main/java/com/google/cloud/teleport/v2/transforms/DataplexBigQueryToGcsUpdateMetadata.java:215
ClassAccumulateListFn
{@code AccumulateListFn<InputT, OutputListT>} specifies how to combine a collection of input values of type {@code InputT} to a single list of values
v2/common/src/main/java/com/google/cloud/teleport/v2/transforms/AccumulateListFn.java:44
ClassAccumulateListFnTest
Test class for {@link AccumulateListFn}.
v2/common/src/test/java/com/google/cloud/teleport/v2/transforms/AccumulateListFnTest.java:37
ClassAccumulateValuesFn
v2/common/src/test/java/com/google/cloud/teleport/v2/transforms/AccumulateListFnTest.java:83
ClassAccumulatingTableReader
Helper to {@link ReaderTransform} that expands the Pipeline Graph to flatten all the tableReaders and generate table completions. Please refer to {@li
v2/sourcedb-to-spanner/src/main/java/com/google/cloud/teleport/v2/reader/io/transform/AccumulatingTableReader.java:48
ClassAccumulatingTableReaderTest
Test class for {@link AccumulatingTableReader}.
v2/sourcedb-to-spanner/src/test/java/com/google/cloud/teleport/v2/reader/io/transform/AccumulatingTableReaderTest.java:45
ClassActionContext
Context for actions.
v2/googlecloud-to-neo4j/src/main/java/com/google/cloud/teleport/v2/neo4j/model/job/ActionContext.java:23
ClassActionDoFnFactory
Factory providing indirection to action handler.
v2/googlecloud-to-neo4j/src/main/java/com/google/cloud/teleport/v2/neo4j/actions/ActionDoFnFactory.java:26
ClassActionFactory
v1/src/main/java/com/google/cloud/teleport/spanner/spannerio/changestreams/action/ActionFactory.java:35
ClassActionMapper
Helper class for parsing legacy json into {@link Action}. @deprecated use the current JSON format instead
v2/googlecloud-to-neo4j/src/main/java/com/google/cloud/teleport/v2/neo4j/model/helpers/ActionMapper.java:40
ClassActionMapperTest
v2/googlecloud-to-neo4j/src/test/java/com/google/cloud/teleport/v2/neo4j/model/helpers/ActionMapperTest.java:33
ClassActionPreloadFactory
Factory providing indirection to action handler.
v2/googlecloud-to-neo4j/src/main/java/com/google/cloud/teleport/v2/neo4j/actions/ActionPreloadFactory.java:26
ClassActionProviderExtensions
v2/googlecloud-to-neo4j/src/main/java/com/google/cloud/teleport/v2/neo4j/actions/ActionProviderExtensions.java:22
ClassAgent
v2/googlecloud-to-elasticsearch/src/main/java/com/google/cloud/teleport/v2/elasticsearch/transforms/EventMetadataBuilder.java:172
ClassAggregation
v2/googlecloud-to-neo4j/src/main/java/com/google/cloud/teleport/v2/neo4j/transforms/Aggregation.java:20
ClassAggregationPipelineTest
Tests that ComputeMetric + ZScore pipeline produces correct aggregations. For each (agg_type, window_type, keyed) combination, we feed deterministi
python/src/test/python/bigquery-anomaly-detection/pipeline_test.py:305
ClassAlwaysFailPolicy
v2/failure-injection-policies/src/main/java/com/google/cloud/teleport/v2/failureinjection/AlwaysFailPolicy.java:21
ClassAlwaysFailPolicyTest
v2/failure-injection-policies/src/test/java/com/google/cloud/teleport/v2/failureinjection/AlwaysFailPolicyTest.java:22
TypeAliasAnd
And is a Matcher that applies when all of its containing Matcher instances Match.
cicd/internal/terraform/matcher.go:22
ClassAnomalyIdTest
Tests for _anomaly_id used by AsyncWrapper for per-element dedup.
python/src/test/python/bigquery-anomaly-detection/pipeline_test.py:1237
ClassAnomalyMonitorOptions
Pipeline options for the anomaly monitor.
python/src/main/python/bigquery-anomaly-detection/src/bqmonitor/pipeline.py:590
ClassApp
<h3>Configuration</h3> <p>The connector expects configuration to be passed via Properties files. By default, the connector will look for a properties
v2/cdc-parent/cdc-embedded-connector/src/main/java/com/google/cloud/dataflow/cdc/connector/App.java:80
ClassApplyDDLTransform
A Beam transform that applies the DDL statements passed in a Cloud Spanner database and outputs the original {@link Ddl}.
v1/src/main/java/com/google/cloud/teleport/spanner/ApplyDDLTransform.java:39
ClassApplyOverridesFn
DoFn to apply schema overrides from a HOCON/JSON config file.
v2/cdc-data-generator/src/main/java/com/google/cloud/teleport/v2/templates/dofn/ApplyOverridesFn.java:37
ClassApplyOverridesFnTest
v2/cdc-data-generator/src/test/java/com/google/cloud/teleport/v2/templates/dofn/ApplyOverridesFnTest.java:40
ClassApplyUdfFn
A {@link DoFn} that applies a JavaScript UDF to the document.
v2/mongodb-to-mongodb/src/main/java/com/google/cloud/teleport/v2/transforms/MongoDbTransforms.java:633
ClassApplyUdfToDataField
v2/datastream-mongodb-to-firestore/src/main/java/com/google/cloud/teleport/v2/templates/DataStreamMongoDBToFirestore.java:1534
ClassArray
Generates a <a href=https://avro.apache.org/docs/1.8.2/spec.html#Decimal>Decimal</a> Avro Type.
v2/sourcedb-to-spanner/src/main/java/com/google/cloud/teleport/v2/reader/io/schema/typemapping/provider/unified/Array.java:27
InterfaceArtifact
Represents a single artifact. <p>An "artifact" is an entity in object storage, file storage, or block storage. Artifacts should be able to be stored
it/google-cloud-platform/src/main/java/org/apache/beam/it/gcp/artifacts/Artifact.java:32
ClassArtifactAsserts
it/google-cloud-platform/src/main/java/org/apache/beam/it/gcp/artifacts/matchers/ArtifactAsserts.java:29
InterfaceArtifactClient
Interface for working with test artifacts. <p>It is the responsibility of implementations to make sure that artifacts are kept separate from each oth
it/google-cloud-platform/src/main/java/org/apache/beam/it/gcp/artifacts/ArtifactClient.java:51
ClassArtifactRegImageSpec
Artifact registry image spec.
plugins/templates-maven-plugin/src/main/java/com/google/cloud/teleport/plugin/maven/PromoteHelper.java:313
EnumArtifactType
Type of job flow artifact object.
v2/googlecloud-to-neo4j/src/main/java/com/google/cloud/teleport/v2/neo4j/model/enums/ArtifactType.java:19
ClassArtifactUtils
Utilities for working with test artifacts.
it/google-cloud-platform/src/main/java/org/apache/beam/it/gcp/artifacts/utils/ArtifactUtils.java:33
ClassArtifactUtilsTest
Artifacts for {@link ArtifactUtils}.
it/google-cloud-platform/src/test/java/org/apache/beam/it/gcp/artifacts/utils/ArtifactUtilsTest.java:28
ClassArtifactsSubject
Subject that has assertion operations for artifact lists (GCS files), usually coming from the result of a template.
it/google-cloud-platform/src/main/java/org/apache/beam/it/gcp/artifacts/matchers/ArtifactsSubject.java:46
ClassAsList
Combines all elements in the {@link PCollection} as list.
v1/src/main/java/com/google/cloud/teleport/spanner/AsList.java:24
ClassAsListTest
Tests for AsList class.
v1/src/test/java/com/google/cloud/teleport/spanner/AsListTest.java:28
next →1–100 of 3,671, ranked by callers