@@ -208,7 +208,7 @@ public CardinalityEstimator(CardinalityEstimator other)
208208 /// <param name="hashFunction">Hash function to use for element hashing</param>
209209 /// <param name="state">The state to initialize the estimator with</param>
210210 /// <exception cref="ArgumentNullException">Thrown when <paramref name="state"/> is null</exception>
211- internal CardinalityEstimator ( GetHashCodeDelegate hashFunction , CardinalityEstimatorState state )
211+ public CardinalityEstimator ( GetHashCodeDelegate hashFunction , CardinalityEstimatorState state )
212212 : this ( state )
213213 {
214214 // Init the hash function
@@ -231,7 +231,7 @@ internal CardinalityEstimator(GetHashCodeDelegate hashFunction, CardinalityEstim
231231 /// <param name="hashFunctionSpan">Span hash function to use for element hashing</param>
232232 /// <param name="state">The state to initialize the estimator with</param>
233233 /// <exception cref="ArgumentNullException">Thrown when <paramref name="state"/> is null</exception>
234- internal CardinalityEstimator ( GetHashCodeSpanDelegate hashFunctionSpan , CardinalityEstimatorState state )
234+ public CardinalityEstimator ( GetHashCodeSpanDelegate hashFunctionSpan , CardinalityEstimatorState state )
235235 : this ( state )
236236 {
237237 // Init the hash function
@@ -681,12 +681,11 @@ public static CardinalityEstimator Merge(IEnumerable<CardinalityEstimator> estim
681681 return result ;
682682 }
683683
684- #region Private/Internal methods
685684 /// <summary>
686685 /// Gets the current state of this estimator for serialization purposes
687686 /// </summary>
688687 /// <returns>A <see cref="CardinalityEstimatorState"/> representing the current state</returns>
689- internal CardinalityEstimatorState GetState ( )
688+ public CardinalityEstimatorState GetState ( )
690689 {
691690 return new CardinalityEstimatorState
692691 {
@@ -699,6 +698,7 @@ internal CardinalityEstimatorState GetState()
699698 } ;
700699 }
701700
701+ #region Private/Internal methods
702702 /// <summary>
703703 /// Creates state for an empty CardinalityEstimator with DirectCount and LookupSparse empty, LookupDense null.
704704 /// </summary>
0 commit comments