| java.lang.Object nl.improved.sqlclient.SQLUtil
SQLUtil | public class SQLUtil (Code) | | A SQL Utility class.
This class helps in tab completion.
|
getLastBreakIndex | public static int getLastBreakIndex(String s)(Code) | | |
getLastKeyWord | public static String getLastKeyWord(CharSequence s)(Code) | | Fetch the last sql keyword from the command string.
Parameters: s - the sql command string the last sql keyword |
getTabCompletionInfo | public static TabCompletionInfo getTabCompletionInfo(List<? extends CharSequence> commandInfo, Point commandPoint)(Code) | | Return tab completion info for the provided command lines.
Parameters: commandInfo - the sql command lines Parameters: commandPoint - the cursor position for tab completion tab completion info for the provided command lines. |
parseTableNames | protected static List<String> parseTableNames(List<? extends CharSequence> commandInfo, Point point)(Code) | | Parse the table names from the sql command lines.
Parameters: commandInfo - a list of commandlines (parts) Parameters: point - the cursor position |
|
|