# Hierarchy For All Packages

Package Hierarchies:

- org.apache.datasketches.pig.cpc,
- org.apache.datasketches.pig.frequencies,
- org.apache.datasketches.pig.hash,
- org.apache.datasketches.pig.hll,
- org.apache.datasketches.pig.kll,
- org.apache.datasketches.pig.quantiles,
- org.apache.datasketches.pig.sampling,
- org.apache.datasketches.pig.theta,
- org.apache.datasketches.pig.tuple,
- org.apache.datasketches.sampling

## Class Hierarchy

- java.lang.Object
  - org.apache.datasketches.ArrayOfItemsSerDe<T>
    - org.apache.datasketches.pig.sampling.ArrayOfTuplesSerDe
  - org.apache.pig.EvalFunc<T>
    - org.apache.pig.AccumulatorEvalFunc<T> (implements org.apache.pig.Accumulator<T>)
      - org.apache.datasketches.pig.sampling.DataToVarOptSketch (implements org.apache.pig.Algebraic)
      - org.apache.datasketches.pig.sampling.ReservoirSampling (implements org.apache.pig.Algebraic)
      - org.apache.datasketches.pig.sampling.ReservoirUnion
      - org.apache.datasketches.pig.sampling.VarOptSampling (implements org.apache.pig.Algebraic)
      - org.apache.datasketches.pig.sampling.VarOptUnion (implements org.apache.pig.Algebraic)
    - org.apache.datasketches.pig.theta.AexcludeB
    - org.apache.datasketches.pig.hll.AlgebraicInitial
    - org.apache.datasketches.pig.tuple.AlgebraicInitial
      - org.apache.datasketches.pig.tuple.DataToArrayOfDoublesSketch.Initial
      - org.apache.datasketches.pig.tuple.DataToDoubleSummarySketch.Initial
      - org.apache.datasketches.pig.tuple.UnionArrayOfDoublesSketch.Initial
      - org.apache.datasketches.pig.tuple.UnionDoubleSummarySketch.Initial
    - org.apache.datasketches.pig.frequencies.AlgebraicInitial
      - org.apache.datasketches.pig.frequencies.DataToFrequentStringsSketch.Initial
      - org.apache.datasketches.pig.frequencies.UnionFrequentStringsSketch.Initial
    - org.apache.datasketches.pig.cpc.AlgebraicInitial
    - org.apache.datasketches.pig.tuple.ArrayOfDoublesSketchesToPValueEstimates
    - org.apache.datasketches.pig.tuple.ArrayOfDoublesSketchToEstimateAndErrorBounds
    - org.apache.datasketches.pig.tuple.ArrayOfDoublesSketchToEstimates
    - org.apache.datasketches.pig.tuple.ArrayOfDoublesSketchToMeans
    - org.apache.datasketches.pig.tuple.ArrayOfDoublesSketchToNumberOfRetainedEntries
    - org.apache.datasketches.pig.tuple.ArrayOfDoublesSketchToQuantilesSketch
    - org.apache.datasketches.pig.tuple.ArrayOfDoublesSketchToVariances
    - org.apache.datasketches.pig.tuple.DataToArrayOfDoublesSketch (implements org.apache.pig.Algebraic)
    - org.apache.datasketches.pig.tuple.DataToArrayOfDoublesSketch.IntermediateFinal
    - org.apache.datasketches.pig.quantiles.DataToDoublesSketch (implements org.apache.pig.Accumulator<T>, org.apache.pig.Algebraic)
    - org.apache.datasketches.pig.quantiles.DataToDoublesSketch.Initial
    - org.apache.datasketches.pig.quantiles.DataToDoublesSketch.IntermediateFinal
    - org.apache.datasketches.pig.frequencies.DataToFrequentItemsSketch<T> (implements org.apache.pig.Accumulator<T>)
      - org.apache.datasketches.pig.frequencies.DataToFrequentStringsSketch (implements org.apache.pig.Algebraic)
    - org.apache.datasketches.pig.frequencies.DataToFrequentItemsSketchAlgebraicIntermediateFinal<T>
      - org.apache.datasketches.pig.frequencies.DataToFrequentStringsSketch.IntermediateFinal
    - org.apache.datasketches.pig.quantiles.DataToItemsSketch<T> (implements org.apache.pig.Accumulator<T>, org.apache.pig.Algebraic)
      - org.apache.datasketches.pig.quantiles.DataToStringsSketch
    - org.apache.datasketches.pig.quantiles.DataToItemsSketch.DataToItemsSketchInitial
    - org.apache.datasketches.pig.quantiles.DataToItemsSketch.DataToItemsSketchIntermediateFinal<T>
      - org.apache.datasketches.pig.quantiles.DataToStringsSketch.DataToStringsSketchIntermediateFinal
    - org.apache.datasketches.pig.hll.DataToSketch (implements org.apache.pig.Accumulator<T>, org.apache.pig.Algebraic)
    - org.apache.datasketches.pig.tuple.DataToSketch<U,S> (implements org.apache.pig.Accumulator<T>)
      - org.apache.datasketches.pig.tuple.DataToDoubleSummarySketch (implements org.apache.pig.Algebraic)
    - org.apache.datasketches.pig.kll.DataToSketch (implements org.apache.pig.Accumulator<T>, org.apache.pig.Algebraic)
    - org.apache.datasketches.pig.cpc.DataToSketch (implements org.apache.pig.Accumulator<T>, org.apache.pig.Algebraic)
    - org.apache.datasketches.pig.theta.DataToSketch (implements org.apache.pig.Accumulator<T>, org.apache.pig.Algebraic)
    - org.apache.datasketches.pig.kll.DataToSketch.Final
    - org.apache.datasketches.pig.kll.DataToSketch.Initial
    - org.apache.datasketches.pig.theta.DataToSketch.Initial
    - org.apache.datasketches.pig.kll.DataToSketch.Intermediate
    - org.apache.datasketches.pig.theta.DataToSketch.IntermediateFinal
    - org.apache.datasketches.pig.hll.DataToSketchAlgebraicFinal
    - org.apache.datasketches.pig.cpc.DataToSketchAlgebraicFinal
    - org.apache.datasketches.pig.hll.DataToSketchAlgebraicIntermediate
    - org.apache.datasketches.pig.cpc.DataToSketchAlgebraicIntermediate
    - org.apache.datasketches.pig.tuple.DataToSketchAlgebraicIntermediateFinal<U,S>
      - org.apache.datasketches.pig.tuple.DataToDoubleSummarySketch.IntermediateFinal
    - org.apache.datasketches.pig.quantiles.DoublesSketchToString
    - org.apache.datasketches.pig.tuple.DoubleSummarySketchToEstimates
    - org.apache.datasketches.pig.tuple.DoubleSummarySketchToPercentile
    - org.apache.datasketches.pig.theta.ErrorBounds
    - org.apache.datasketches.pig.theta.Estimate
    - org.apache.datasketches.pig.frequencies.FrequentStringsSketchToEstimates
    - org.apache.datasketches.pig.kll.GetCdf
    - org.apache.datasketches.pig.cpc.GetEstimate
    - org.apache.datasketches.pig.cpc.GetEstimateAndErrorBounds
    - org.apache.datasketches.pig.kll.GetK
    - org.apache.datasketches.pig.quantiles.GetKFromDoublesSketch
    - org.apache.datasketches.pig.quantiles.GetKFromStringsSketch
    - org.apache.datasketches.pig.kll.GetPmf
    - org.apache.datasketches.pig.quantiles.GetPmfFromDoublesSketch
    - org.apache.datasketches.pig.quantiles.GetPmfFromStringsSketch
    - org.apache.datasketches.pig.kll.GetQuantile
    - org.apache.datasketches.pig.quantiles.GetQuantileFromDoublesSketch
    - org.apache.datasketches.pig.quantiles.GetQuantileFromStringsSketch
    - org.apache.datasketches.pig.kll.GetQuantiles
    - org.apache.datasketches.pig.quantiles.GetQuantilesFromDoublesSketch
    - org.apache.datasketches.pig.quantiles.GetQuantilesFromStringsSketch
    - org.apache.datasketches.pig.kll.GetRank
    - org.apache.datasketches.pig.sampling.GetVarOptSamples
    - org.apache.datasketches.pig.theta.Intersect (implements org.apache.pig.Accumulator<T>, org.apache.pig.Algebraic)
    - org.apache.datasketches.pig.theta.Intersect.Initial
    - org.apache.datasketches.pig.theta.Intersect.IntermediateFinal
    - org.apache.datasketches.pig.theta.JaccardSimilarity
    - org.apache.datasketches.pig.hash.MurmurHash3
    - org.apache.datasketches.pig.sampling.ReservoirSampling.Initial
    - org.apache.datasketches.pig.sampling.ReservoirSampling.IntermediateFinal
    - org.apache.datasketches.pig.hll.SketchToEstimate
    - org.apache.datasketches.pig.hll.SketchToEstimateAndErrorBounds
    - org.apache.datasketches.pig.hll.SketchToString
    - org.apache.datasketches.pig.kll.SketchToString
    - org.apache.datasketches.pig.cpc.SketchToString
    - org.apache.datasketches.pig.theta.SketchToString
    - org.apache.datasketches.pig.quantiles.StringsSketchToString
    - org.apache.datasketches.pig.theta.Union (implements org.apache.pig.Accumulator<T>, org.apache.pig.Algebraic)
    - org.apache.datasketches.pig.theta.Union.Initial
    - org.apache.datasketches.pig.theta.Union.IntermediateFinal
    - org.apache.datasketches.pig.tuple.UnionArrayOfDoublesSketch (implements org.apache.pig.Algebraic)
    - org.apache.datasketches.pig.tuple.UnionArrayOfDoublesSketch.IntermediateFinal
    - org.apache.datasketches.pig.quantiles.UnionDoublesSketch (implements org.apache.pig.Accumulator<T>, org.apache.pig.Algebraic)
    - org.apache.datasketches.pig.quantiles.UnionDoublesSketch.Initial
    - org.apache.datasketches.pig.quantiles.UnionDoublesSketch.IntermediateFinal
    - org.apache.datasketches.pig.frequencies.UnionFrequentItemsSketch<T> (implements org.apache.pig.Accumulator<T>)
      - org.apache.datasketches.pig.frequencies.UnionFrequentStringsSketch (implements org.apache.pig.Algebraic)
    - org.apache.datasketches.pig.frequencies.UnionFrequentItemsSketchAlgebraicIntermediateFinal<T>
      - org.apache.datasketches.pig.frequencies.UnionFrequentStringsSketch.IntermediateFinal
    - org.apache.datasketches.pig.quantiles.UnionItemsSketch<T> (implements org.apache.pig.Accumulator<T>, org.apache.pig.Algebraic)
      - org.apache.datasketches.pig.quantiles.UnionStringsSketch
    - org.apache.datasketches.pig.quantiles.UnionItemsSketch.UnionItemsSketchInitial
    - org.apache.datasketches.pig.quantiles.UnionItemsSketch.UnionItemsSketchIntermediateFinal<T>
      - org.apache.datasketches.pig.quantiles.UnionStringsSketch.UnionStringsSketchIntermediateFinal
    - org.apache.datasketches.pig.hll.UnionSketch (implements org.apache.pig.Accumulator<T>, org.apache.pig.Algebraic)
    - org.apache.datasketches.pig.tuple.UnionSketch<S> (implements org.apache.pig.Accumulator<T>)
      - org.apache.datasketches.pig.tuple.UnionDoubleSummarySketch (implements org.apache.pig.Algebraic)
    - org.apache.datasketches.pig.kll.UnionSketch (implements org.apache.pig.Accumulator<T>, org.apache.pig.Algebraic)
    - org.apache.datasketches.pig.cpc.UnionSketch (implements org.apache.pig.Accumulator<T>, org.apache.pig.Algebraic)
    - org.apache.datasketches.pig.kll.UnionSketch.Final
    - org.apache.datasketches.pig.kll.UnionSketch.Initial
    - org.apache.datasketches.pig.kll.UnionSketch.Intermediate
    - org.apache.datasketches.pig.hll.UnionSketchAlgebraicFinal
    - org.apache.datasketches.pig.cpc.UnionSketchAlgebraicFinal
    - org.apache.datasketches.pig.hll.UnionSketchAlgebraicIntermediate
    - org.apache.datasketches.pig.cpc.UnionSketchAlgebraicIntermediate
    - org.apache.datasketches.pig.tuple.UnionSketchAlgebraicIntermediateFinal<S>
      - org.apache.datasketches.pig.tuple.UnionDoubleSummarySketch.IntermediateFinal
    - org.apache.datasketches.pig.sampling.VarOptSampling.Final
  - org.apache.datasketches.sampling.SamplingPigUtil