Package org.h2.command.ddl
Class Analyze.SelectivityData
- java.lang.Object
-
- org.h2.command.ddl.Analyze.SelectivityData
-
- Enclosing class:
- Analyze
private static final class Analyze.SelectivityData extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private longdistinctCountprivate int[]elementsprivate intmaxSizeprivate intsizeThe number of occupied slots, excluding the zero element (if any).private booleanzeroElementWhether 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 voidadd(int element)(package private) voidadd(Value v)private intcurrentSize()(package private) intgetSelectivity(long count)private voidrehash()
-
-
-
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()
-
-