public final class FetchDescriptor
extends java.lang.Object
The FetchDescriptor may also contain scratch space used to process the qualifiers passed in the scan. This scratch space will be used to cache information about the qualifiers, valid column list, row size so that calculations need only be done once per scan rather than every iteration.
Modifier and Type | Field and Description |
---|---|
private int[] |
materialized_cols |
private int |
maxFetchColumnId |
private Qualifier[][] |
qualifier_list |
private int |
row_length
Fields of the class
|
private FormatableBitSet |
validColumns |
private int[] |
validColumnsArray |
private static int[] |
zero_fill_array |
private static int |
ZERO_FILL_LENGTH |
Constructor and Description |
---|
FetchDescriptor()
Constructors for This class:
|
FetchDescriptor(int input_row_length) |
FetchDescriptor(int input_row_length,
FormatableBitSet input_validColumns,
Qualifier[][] input_qualifier_list) |
FetchDescriptor(int input_row_length,
int single_valid_column_number) |
Modifier and Type | Method and Description |
---|---|
int[] |
getMaterializedColumns()
Internal to store.
|
int |
getMaxFetchColumnId()
Internal to store.
|
Qualifier[][] |
getQualifierList()
Return the qualifier array.
|
FormatableBitSet |
getValidColumns()
Return the column list bit map.
|
int[] |
getValidColumnsArray() |
void |
reset()
Internal to store.
|
private void |
setMaxFetchColumnId() |
void |
setValidColumns(FormatableBitSet input_validColumns) |
private int row_length
private FormatableBitSet validColumns
private Qualifier[][] qualifier_list
private int[] materialized_cols
private int maxFetchColumnId
private static final int ZERO_FILL_LENGTH
private static final int[] zero_fill_array
private int[] validColumnsArray
FetchDescriptor()
public FetchDescriptor(int input_row_length)
public FetchDescriptor(int input_row_length, int single_valid_column_number)
public FetchDescriptor(int input_row_length, FormatableBitSet input_validColumns, Qualifier[][] input_qualifier_list)
public final FormatableBitSet getValidColumns()
A description of which columns to return from every fetch in the scan. A row array and a valid column bit map work together to describe the row to be returned by the scan - see RowUtil for description of how these two parameters work together to describe a "row".
public final int[] getValidColumnsArray()
public final void setValidColumns(FormatableBitSet input_validColumns)
public final Qualifier[][] getQualifierList()
Return the array of qualifiers in this FetchDescriptor. The array of qualifiers which, applied to each key, restricts the rows returned by the scan. Rows for which any one of the qualifiers returns false are not returned by the scan. If null, all rows are returned. Qualifiers can only reference columns which are included in the scanColumnList. The column id that a qualifier returns in the column id the table, not the column id in the partial row being returned.
A null qualifier array means there are no qualifiers.
public final int[] getMaterializedColumns()
public final int getMaxFetchColumnId()
private final void setMaxFetchColumnId()
public final void reset()
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.