forked from Azure/azure-sdk-for-net
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001
[DataFactory]Add support for ORC dataset
- Loading branch information
SDK Automation
committed
Aug 27, 2019
1 parent
ae7acaa
commit 7f04075
Showing
16 changed files
with
270 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 93 additions & 0 deletions
93
sdk/datafactory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/OrcDataset.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
// <auto-generated> | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. See License.txt in the project root for | ||
// license information. | ||
// | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
// Changes may cause incorrect behavior and will be lost if the code is | ||
// regenerated. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.DataFactory.Models | ||
{ | ||
using Microsoft.Rest; | ||
using Microsoft.Rest.Serialization; | ||
using Newtonsoft.Json; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// ORC dataset. | ||
/// </summary> | ||
[Newtonsoft.Json.JsonObject("Orc")] | ||
[Rest.Serialization.JsonTransformation] | ||
public partial class OrcDataset : Dataset | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the OrcDataset class. | ||
/// </summary> | ||
public OrcDataset() | ||
{ | ||
LinkedServiceName = new LinkedServiceReference(); | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the OrcDataset class. | ||
/// </summary> | ||
/// <param name="linkedServiceName">Linked service reference.</param> | ||
/// <param name="location">The location of the ORC data | ||
/// storage.</param> | ||
/// <param name="additionalProperties">Unmatched properties from the | ||
/// message are deserialized this collection</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="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> | ||
public OrcDataset(LinkedServiceReference linkedServiceName, DatasetLocation location, IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), string description = default(string), object structure = default(object), object schema = default(object), IDictionary<string, ParameterSpecification> parameters = default(IDictionary<string, ParameterSpecification>), IList<object> annotations = default(IList<object>), DatasetFolder folder = default(DatasetFolder)) | ||
: base(linkedServiceName, additionalProperties, description, structure, schema, parameters, annotations, folder) | ||
{ | ||
Location = location; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets or sets the location of the ORC data storage. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "typeProperties.location")] | ||
public DatasetLocation Location { get; set; } | ||
|
||
/// <summary> | ||
/// Validate the object. | ||
/// </summary> | ||
/// <exception cref="ValidationException"> | ||
/// Thrown if validation fails | ||
/// </exception> | ||
public override void Validate() | ||
{ | ||
base.Validate(); | ||
if (Location == null) | ||
{ | ||
throw new ValidationException(ValidationRules.CannotBeNull, "Location"); | ||
} | ||
if (Location != null) | ||
{ | ||
Location.Validate(); | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.