org.eclipse.datatools.enablement.oda.xml.util
Class MappedTables
java.lang.Object
org.eclipse.datatools.enablement.oda.xml.util.MappedTables
public class MappedTables
- extends java.lang.Object
|
Constructor Summary |
MappedTables(java.lang.String tableMappings)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappedTables
public MappedTables(java.lang.String tableMappings)
throws OdaException
- Parameters:
tableMappings: - the original table mappings part of query text without applying parameter values
- Throws:
OdaException
getParameters
public java.lang.String[] getParameters()
setParameterValue
public void setParameterValue(java.lang.String paraName,
java.lang.String value)
getColumnCount
public int getColumnCount(java.lang.String tableName)
throws OdaException
- Throws:
OdaException
getColumnName
public java.lang.String getColumnName(java.lang.String tableName,
int index)
throws OdaException
- Parameters:
tableName - index: - 1-based
- Returns:
-
- Throws:
OdaException
getColumnType
public java.lang.String getColumnType(java.lang.String tableName,
int index)
throws OdaException
- Parameters:
tableName - index: - 1-based
- Returns:
-
- Throws:
OdaException
getColumnIndex
public int getColumnIndex(java.lang.String tableName,
java.lang.String columnName)
throws OdaException
- Parameters:
tableName - columnName -
- Returns:
- 1-based index
- Throws:
OdaException
getNameSpacePart
public java.lang.String getNameSpacePart()
- Returns:
- the nameSpacePart
getTables
public java.util.Collection getTables()
detectParameters
public static java.lang.String[] detectParameters(java.lang.String path)
setParameterValue
public static java.lang.String setParameterValue(java.lang.String originalPath,
java.lang.String paraName,
java.lang.String value)