< Summary

Class:Azure.Storage.Blobs.ChangeFeed.ShardCursor
Assembly:Azure.Storage.Blobs.ChangeFeed
File(s):C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Blobs.ChangeFeed\src\Models\ShardCursor.cs
Covered lines:12
Uncovered lines:0
Coverable lines:12
Total lines:40
Line coverage:100% (12 of 12)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_CurrentChunkPath()-100%100%
get_BlockOffset()-100%100%
get_EventIndex()-100%100%
.ctor(...)-100%100%
.ctor()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Blobs.ChangeFeed\src\Models\ShardCursor.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4namespace Azure.Storage.Blobs.ChangeFeed
 5{
 6    internal class ShardCursor
 7    {
 8        /// <summary>
 9        /// The path of the current Chunk.
 10        /// </summary>
 98011        public string CurrentChunkPath { get; set; }
 12
 13        /// <summary>
 14        /// The byte offset of the beginning of
 15        /// the current Avro block.
 16        /// </summary>
 88817        public long BlockOffset { get; set; }
 18
 19        /// <summary>
 20        /// The index of the current event within
 21        /// the current Avro block.
 22        /// </summary>
 86823        public long EventIndex { get; set; }
 24
 44025        internal ShardCursor(
 44026            string currentChunkPath,
 44027            long blockOffset,
 44028            long eventIndex)
 29        {
 44030            CurrentChunkPath = currentChunkPath;
 44031            BlockOffset = blockOffset;
 44032            EventIndex = eventIndex;
 44033        }
 34
 35        /// <summary>
 36        ///
 37        /// </summary>
 19238        public ShardCursor() { }
 39    }
 40}