public interface ColumnDefinition extends ProtocolEntity
| Modifier and Type | Method | Description |
|---|---|---|
void |
buildIndexMapping() |
Builds a hash between column names and their indices for fast retrieval.
|
void |
exportTo(ColumnDefinition columnDefinition) |
|
int |
findColumn(String columnName,
boolean useColumnNamesInFindColumn,
int indexBase) |
|
Map<String,Integer> |
getColumnLabelToIndex() |
|
Map<String,Integer> |
getColumnNameToIndex() |
|
Map<String,Integer> |
getColumnToIndexCache() |
|
Field[] |
getFields() |
|
Map<String,Integer> |
getFullColumnNameToIndex() |
|
boolean |
hasBuiltIndexMapping() |
|
boolean |
hasLargeFields() |
Check if fields with type BLOB, MEDIUMBLOB, LONGBLOB, TEXT, MEDIUMTEXT or LONGTEXT exist in this ColumnDefinition.
|
void |
initializeFrom(ColumnDefinition columnDefinition) |
|
void |
setColumnLabelToIndex(Map<String,Integer> columnLabelToIndex) |
|
void |
setColumnNameToIndex(Map<String,Integer> colNameToIndex) |
|
void |
setColumnToIndexCache(Map<String,Integer> columnToIndexCache) |
|
void |
setFields(Field[] fields) |
|
void |
setFullColumnNameToIndex(Map<String,Integer> fullColNameToIndex) |
Field[] getFields()
void setFields(Field[] fields)
void buildIndexMapping()
boolean hasBuiltIndexMapping()
void initializeFrom(ColumnDefinition columnDefinition)
void exportTo(ColumnDefinition columnDefinition)
int findColumn(String columnName, boolean useColumnNamesInFindColumn, int indexBase)
boolean hasLargeFields()