| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private int | sampleRows
The sample size. |
| private Table | table
used in ANALYZE TABLE... |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | analyzeTable(SessionLocal
the session session, Table the table table, int the number of sample rows sample, boolean whether the command was called by the user manual)Analyze this table. |
| public int | getType()
Implements abstract org. Get the command type as defined in CommandInterface |
| public void | |
| public void | |
| public long |
| sampleRows | back to summary |
|---|---|
| private int sampleRows The sample size. | |
| table | back to summary |
|---|---|
| private Table table used in ANALYZE TABLE... | |
| Analyze | back to summary |
|---|---|
| public Analyze(SessionLocal session) | |
| analyzeTable | back to summary |
|---|---|
| public static void analyzeTable(SessionLocal session, Table table, int sample, boolean manual) Analyze this table.
| |
| getType | back to summary |
|---|---|
| public int getType() Implements abstract org. Doc from org. Get the command type as defined in CommandInterface
| |
| setTable | back to summary |
|---|---|
| public void setTable(Table table) | |
| setTop | back to summary |
|---|---|
| public void setTop(int top) | |
| update | back to summary |
|---|---|
| public long update() Overrides org. Doc from org. Execute the statement.
| |
| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private int[] | |
| private int | |
| private int | size
The number of occupied slots, excluding the zero element (if any). |
| private boolean | zeroElement
Whether the zero element is present. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| private void | |
| private int | |
| pack-priv int | |
| private void |
| distinctCount | back to summary |
|---|---|
| private long distinctCount | |
| elements | back to summary |
|---|---|
| private int[] elements | |
| maxSize | back to summary |
|---|---|
| private int maxSize | |
| size | back to summary |
|---|---|
| private int size The number of occupied slots, excluding the zero element (if any). | |
| zeroElement | back to summary |
|---|---|
| private boolean zeroElement Whether the zero element is present. | |
| SelectivityData | back to summary |
|---|---|
| pack-priv SelectivityData() | |
| add | back to summary |
|---|---|
| pack-priv void add(Value v) | |
| add | back to summary |
|---|---|
| private void add(int element) | |
| currentSize | back to summary |
|---|---|
| private int currentSize() | |
| getSelectivity | back to summary |
|---|---|
| pack-priv int getSelectivity(long count) | |
| rehash | back to summary |
|---|---|
| private void rehash() | |