As of January 1, 2020 this library no longer supports Python 2 on the latest released version. Library versions released prior to that date will continue to be available. For more information please visit Python 2 support on Google Cloud.

google.cloud.bigquery.routine.DeterminismLevel

class google.cloud.bigquery.routine.DeterminismLevel[source]

Specifies determinism level for JavaScript user-defined functions (UDFs).

https://cloud.google.com/bigquery/docs/reference/rest/v2/routines#DeterminismLevel

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

Attributes

DETERMINISM_LEVEL_UNSPECIFIED

The determinism of the UDF is unspecified.

DETERMINISTIC

The UDF is deterministic, meaning that 2 function calls with the same inputs always produce the same result, even across 2 query runs.

NOT_DETERMINISTIC

The UDF is not deterministic.

DETERMINISM_LEVEL_UNSPECIFIED = 'DETERMINISM_LEVEL_UNSPECIFIED'

The determinism of the UDF is unspecified.

DETERMINISTIC = 'DETERMINISTIC'

The UDF is deterministic, meaning that 2 function calls with the same inputs always produce the same result, even across 2 query runs.

NOT_DETERMINISTIC = 'NOT_DETERMINISTIC'

The UDF is not deterministic.