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 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()
-
-
-
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()
-
-