Package com.kheops.util
Class SQLQueryUtil
java.lang.Object
com.kheops.util.SQLQueryUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
getColumns
(boolean parseColumnAliases) Returns column names found in the 'SELECT' part of the SQL query.getRealColumnName
(String aliasName, boolean ignoreCase) getTableAlias
(String name, boolean containsField, boolean canReturnNull) String[]
void
void
toString()
-
Constructor Details
-
SQLQueryUtil
-
-
Method Details
-
getFromClause
-
getSelectClause
-
getWhereClause
-
getColumns
Returns column names found in the 'SELECT' part of the SQL query.- Parameters:
parseColumnAliases
- a flag that defines whether column aliases are returned instead of column names- Returns:
- column names found in the 'SELECT' part of the SQL query
-
getRealColumnName
-
getTables
-
getTableAliases
-
getTableAlias
-
removeAllTableAliases
public void removeAllTableAliases() -
toString
-
removeAllFieldAliases
public void removeAllFieldAliases()
-