Interface IMetricViewCollection<T>
- Inherited Members
- Assembly
- SemanticBridge.dll
Read surface of a name-indexed collection of metric view child
objects. Name lookups are case-insensitive, matching the Databricks
SQL default (spark.sql.caseSensitive=false).
public interface IMetricViewCollection<out T> : IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable where T : IMetricViewNamedObject
Type Parameters
| Name | Description |
|---|---|
| T | The type of metric view object in the collection |
- Extension Methods
Properties
this[string]
Gets the item with the specified name.
T this[string name] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
Property Value
| Type | Description |
|---|---|
| T |
Exceptions
- KeyNotFoundException
If no item with the specified name exists
Methods
Contains(string)
Determines whether an item with the specified name exists in the collection.
bool Contains(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name to search for |
Returns
| Type | Description |
|---|---|
| bool | True if an item with the specified name exists |
Find(string)
Finds an item by name, returning null if not found.
T? Find(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name to search for |
Returns
| Type | Description |
|---|---|
| T | The item with the specified name, or null if not found |