public final class MapHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static ColumnMap |
getColumnMap(Column column,
Criteria criteria)
Returns the column map for a column.
|
static TableMap |
getTableMap(Object possibleColumn,
Criteria criteria,
TableMap defaultTableMap)
Returns the table map for a table name.
|
public static TableMap getTableMap(Object possibleColumn, Criteria criteria, TableMap defaultTableMap) throws TorqueException
possibleColumn - the possible column to get the table map for.criteria - A criteria containing the database name and perhaps
aliases for the column and table name, not null.defaultTableMap - a default table map which is used if the table
name cannot be resolved, may be null.TorqueException - possibly if Torque is not initialized.public static ColumnMap getColumnMap(Column column, Criteria criteria) throws TorqueException
column - the column to get the column map for.criteria - A criteria containing the database name and perhaps
aliases for the column and table name, not null.TorqueException - if Torque is not initialized and criteria's
databaseName is null.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.