MakeLiteralForSchema
No overview available.
def MakeLiteralForSchema(
path: storage.DataReference,
columns: []*core.SchemaType_SchemaColumn
) - > *core.Literal
Constructs a core.Literal object representing a schema, encapsulating a URI path and a list of schema columns. This function is used to create a literal representation of a schema for use in data operations or definitions.
Parameters
| Name | Type | Description |
|---|---|---|
| path | storage.DataReference | The data reference path, which will be converted to a string URI for the schema. |
| columns | []*core.SchemaType_SchemaColumn | A slice of schema columns that define the structure of the schema. |
Returns
| Type | Description |
|---|---|
*core.Literal | A pointer to a core.Literal object configured to represent a schema. |