Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/storage/avro parser #11483

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions sdk/storage/Azure.Storage.Internal.Avro/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Azure Storage Internal Avro client library for .NET
- For internal use only.

## Getting started
- For internal use only.

## Key concepts
- For internal use only.

## Examples
- For internal use only.

## Troubleshooting
- For internal use only.

## Next steps
- For internal use only.

## Contributing
- For internal use only.
12 changes: 12 additions & 0 deletions sdk/storage/Azure.Storage.Internal.Avro/src/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System.Runtime.CompilerServices;

[assembly: InternalsVisibleTo("Azure.Storage.Internal.Avro.Tests, PublicKey=" +
"0024000004800000940000000602000000240000525341310004000001000100d15ddcb2968829" +
"5338af4b7686603fe614abd555e09efba8fb88ee09e1f7b1ccaeed2e8f823fa9eef3fdd60217fc" +
"012ea67d2479751a0b8c087a4185541b851bd8b16f8d91b840e51b1cb0ba6fe647997e57429265" +
"e85ef62d565db50a69ae1647d54d7bd855e4db3d8a91510e5bcbd0edfbbecaa20a7bd9ae74593d" +
"aa7b11b4")]
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2, PublicKey=0024000004800000940000000602000000240000525341310004000001000100c547cac37abd99c8db225ef2f6c8a3602f3b3606cc9891605d02baa56104f4cfc0734aa39b93bf7852f7d9266654753cc297e7d2edfe0bac1cdcf9f717241550e0a7b191195b7667bb4f64bcb8e2121380fd1d9d46ad2d92d2d15605093924cceaf74c4861eff62abf69b9291ed0a340e113be11e6a7d3113e92484cf7045cc7")]
45 changes: 45 additions & 0 deletions sdk/storage/Azure.Storage.Internal.Avro/src/AvroConstants.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;
using System.Collections.Generic;
using System.Text;

namespace Azure.Storage.Internal.Avro
{
internal class AvroConstants
{
public const int SyncMarkerSize = 16;
public static byte[] InitBytes =
{
(byte)'O',
(byte)'b',
(byte)'j',
(byte)1
};
public const string CodecKey = "avro.codec";
public const string SchemaKey = "avro.schema";

public const string Null = "null";
public const string Boolean = "boolean";
public const string Int = "int";
public const string Long = "long";
public const string Float = "float";
public const string Double = "double";
public const string Bytes = "bytes";
public const string String = "string";
public const string Record = "record";
public const string Enum = "enum";
public const string Map = "map";
public const string Array = "array";
public const string Union = "union";
public const string Fixed = "fixed";

public const string Aliases = "aliases";
public const string Name = "name";
public const string Fields = "fields";
public const string Type = "type";
public const string Symbols = "symbols";
public const string Values = "values";
}
}
Loading