|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.metamatrix.query.sql.util.ElementSymbolOptimizer
public class ElementSymbolOptimizer
The ElementSymbolOptimizer can be used to modify the appearance of the elements in a command. The operations will be performed on the command and all embedded subcommands, but not any further than that. This class should only be used on commands that have been resolved, as unresolved commands do not contain enough metadata to determine the proper fully qualified or optimized element form.
Method Summary | |
---|---|
static void |
fullyQualifyElements(Command command)
This method will convert all elements in a command to their fully qualified name. |
static void |
optimizeElements(Command command,
QueryMetadataInterface metadata)
This method will convert all elements in a command to their shortest possible unambiguous name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void fullyQualifyElements(Command command)
command
- Command to convertpublic static void optimizeElements(Command command, QueryMetadataInterface metadata) throws QueryMetadataException, MetaMatrixComponentException
command
- Command to convert
QueryMetadataException
MetaMatrixComponentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |