| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private Map | columnLabelToIndex
Map column names (and all of their permutations) to column indices |
| private Map | columnNameToIndex
Map column names (and all of their permutations) to column indices |
| private Map | columnToIndexCache
The above map is a case-insensitive tree-map, it can be slow, this caches lookups into that map, because the other alternative is to create new object instances for every call to findColumn().... |
| protected Field[] | |
| private Map | fullColumnNameToIndex
Map of fully-specified column names to column indices |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| builtIndexMapping | back to summary |
|---|---|
| private boolean builtIndexMapping | |
| columnLabelToIndex | back to summary |
|---|---|
| private Map<String, Integer> columnLabelToIndex Map column names (and all of their permutations) to column indices | |
| columnNameToIndex | back to summary |
|---|---|
| private Map<String, Integer> columnNameToIndex Map column names (and all of their permutations) to column indices | |
| columnToIndexCache | back to summary |
|---|---|
| private Map<String, Integer> columnToIndexCache The above map is a case-insensitive tree-map, it can be slow, this caches lookups into that map, because the other alternative is to create new object instances for every call to findColumn().... | |
| fields | back to summary |
|---|---|
| protected Field[] fields | |
| fullColumnNameToIndex | back to summary |
|---|---|
| private Map<String, Integer> fullColumnNameToIndex Map of fully-specified column names to column indices | |
| DefaultColumnDefinition | back to summary |
|---|---|
| public DefaultColumnDefinition() | |
| DefaultColumnDefinition | back to summary |
|---|---|
| public DefaultColumnDefinition(Field[] fields) | |
| buildIndexMapping | back to summary |
|---|---|
| public void buildIndexMapping() Implements com. Doc from com. Builds a hash between column names and their indices for fast retrieval. This is done lazily to support findColumn() and get*(String), as it can be more expensive than just retrieving result set values by ordinal index.
| |
| exportTo | back to summary |
|---|---|
| public void exportTo(ColumnDefinition columnDefinition) Implements com.
| |
| findColumn | back to summary |
|---|---|
| public int findColumn(String columnName, boolean useColumnNamesInFindColumn, int indexBase) Implements com.
| |
| getColumnLabelToIndex | back to summary |
|---|---|
| public Map Implements com.
| |
| getColumnNameToIndex | back to summary |
|---|---|
| public Map Implements com.
| |
| getColumnToIndexCache | back to summary |
|---|---|
| public Map Implements com.
| |
| getFields | back to summary |
|---|---|
| public Field[] getFields() Implements com.
| |
| getFullColumnNameToIndex | back to summary |
|---|---|
| public Map Implements com.
| |
| hasBuiltIndexMapping | back to summary |
|---|---|
| public boolean hasBuiltIndexMapping() Implements com.
| |
| hasLargeFields | back to summary |
|---|---|
| public boolean hasLargeFields() Implements com. Check if fields with type BLOB, MEDIUMBLOB, LONGBLOB, TEXT, MEDIUMTEXT, LONGTEXT, or VECTOR exist in this ColumnDefinition. This check is used for making a decision about whether we want to force a buffer row (better for rows with large fields).
| |
| initializeFrom | back to summary |
|---|---|
| public void initializeFrom(ColumnDefinition columnDefinition) Implements com.
| |
| setColumnLabelToIndex | back to summary |
|---|---|
| public void setColumnLabelToIndex(Map<String, Integer> columnLabelToIndex) Implements com.
| |
| setColumnNameToIndex | back to summary |
|---|---|
| public void setColumnNameToIndex(Map<String, Integer> colNameToIndex) Implements com.
| |
| setColumnToIndexCache | back to summary |
|---|---|
| public void setColumnToIndexCache(Map<String, Integer> columnToIndexCache) Implements com.
| |
| setFields | back to summary |
|---|---|
| public void setFields(Field[] fields) Implements com.
| |
| setFullColumnNameToIndex | back to summary |
|---|---|
| public void setFullColumnNameToIndex(Map<String, Integer> fullColNameToIndex) Implements com.
| |