/
HiveObjectDataset.cs
55 lines (48 loc) · 3.43 KB
/
HiveObjectDataset.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.Analytics.Synapse.Artifacts.Models
{
/// <summary> Hive Server dataset. </summary>
public partial class HiveObjectDataset : Dataset
{
/// <summary> Initializes a new instance of HiveObjectDataset. </summary>
/// <param name="linkedServiceName"> Linked service reference. </param>
/// <exception cref="ArgumentNullException"> <paramref name="linkedServiceName"/> is null. </exception>
public HiveObjectDataset(LinkedServiceReference linkedServiceName) : base(linkedServiceName)
{
Argument.AssertNotNull(linkedServiceName, nameof(linkedServiceName));
Type = "HiveObject";
}
/// <summary> Initializes a new instance of HiveObjectDataset. </summary>
/// <param name="type"> Type of dataset. </param>
/// <param name="description"> Dataset description. </param>
/// <param name="structure"> Columns that define the structure of the dataset. Type: array (or Expression with resultType array), itemType: DatasetDataElement. </param>
/// <param name="schema"> Columns that define the physical type schema of the dataset. Type: array (or Expression with resultType array), itemType: DatasetSchemaDataElement. </param>
/// <param name="linkedServiceName"> Linked service reference. </param>
/// <param name="parameters"> Parameters for dataset. </param>
/// <param name="annotations"> List of tags that can be used for describing the Dataset. </param>
/// <param name="folder"> The folder that this Dataset is in. If not specified, Dataset will appear at the root level. </param>
/// <param name="additionalProperties"> Additional Properties. </param>
/// <param name="tableName"> This property will be retired. Please consider using schema + table properties instead. </param>
/// <param name="table"> The table name of the Hive. Type: string (or Expression with resultType string). </param>
/// <param name="schemaTypePropertiesSchema"> The schema name of the Hive. Type: string (or Expression with resultType string). </param>
internal HiveObjectDataset(string type, string description, object structure, object schema, LinkedServiceReference linkedServiceName, IDictionary<string, ParameterSpecification> parameters, IList<object> annotations, DatasetFolder folder, IDictionary<string, object> additionalProperties, object tableName, object table, object schemaTypePropertiesSchema) : base(type, description, structure, schema, linkedServiceName, parameters, annotations, folder, additionalProperties)
{
TableName = tableName;
Table = table;
SchemaTypePropertiesSchema = schemaTypePropertiesSchema;
Type = type ?? "HiveObject";
}
/// <summary> This property will be retired. Please consider using schema + table properties instead. </summary>
public object TableName { get; set; }
/// <summary> The table name of the Hive. Type: string (or Expression with resultType string). </summary>
public object Table { get; set; }
/// <summary> The schema name of the Hive. Type: string (or Expression with resultType string). </summary>
public object SchemaTypePropertiesSchema { get; set; }
}
}