Class Analyze.SelectivityData

  • Enclosing class:
    Analyze

    private static final class Analyze.SelectivityData
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private long distinctCount  
      private int[] elements  
      private int maxSize  
      private int size
      The number of occupied slots, excluding the zero element (if any).
      private boolean zeroElement
      Whether the zero element is present.
    • Constructor Summary

      Constructors 
      Constructor Description
      SelectivityData()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void add​(int element)  
      (package private) void add​(Value v)  
      private int currentSize()  
      (package private) int getSelectivity​(long count)  
      private void rehash()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • distinctCount

        private long distinctCount
      • size

        private int size
        The number of occupied slots, excluding the zero element (if any).
      • elements

        private int[] elements
      • zeroElement

        private boolean zeroElement
        Whether the zero element is present.
      • maxSize

        private int maxSize
    • Constructor Detail

      • SelectivityData

        SelectivityData()
    • Method Detail

      • add

        void add​(Value v)
      • getSelectivity

        int getSelectivity​(long count)
      • currentSize

        private int currentSize()
      • add

        private void add​(int element)
      • rehash

        private void rehash()