Class AnalyticsUtils
Set of utilities for analytics
Inherited Members
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public static class AnalyticsUtils
Methods
ToNestedColumnWithDefault<T>(T, T, bool)
Obtains the Serialized fields and values in form of nested columns for BigQuery https://cloud.google.com/bigquery/docs/nested-repeated
Declaration
public static string[] ToNestedColumnWithDefault<T>(this T current, T defaultObject, bool compareAndSimplifyWithDefault = false)
Parameters
Type | Name | Description |
---|---|---|
T | current | The current object to obtain the fields and values. |
T | defaultObject | The default object |
bool | compareAndSimplifyWithDefault | If a comparison against the default value must be done. |
Returns
Type | Description |
---|---|
string[] | The nested columns in form of {key.nestedKey : value} |
Type Parameters
Name | Description |
---|---|
T | The given type |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
ToNestedColumn<T>(T, bool)
Obtains the Serialized fields and values in form of nested columns for BigQuery https://cloud.google.com/bigquery/docs/nested-repeated
Declaration
public static string[] ToNestedColumn<T>(this T current, bool compareAndSimplifyWithDefault = false) where T : new()
Parameters
Type | Name | Description |
---|---|---|
T | current | The current object to obtain the fields and values. |
bool | compareAndSimplifyWithDefault | If a comparison against the default value must be done. |
Returns
Type | Description |
---|---|
string[] | The nested columns in form of {key.nestedKey : value} |
Type Parameters
Name | Description |
---|---|
T | The given type |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |