public class PasswdCommand extends SQLCommand
PASSWD [USER userId] [CHANGE current, password]|[RESET password]|[CHANGE_SHA1 current, password]Usage
PASSWD USER "jack" CHANGE "abc123","xyz123" /* guest */ PASSWD USER "jack" RESET "xyz123" /* admin user only */THREAD MODE: SINGLE THREADED command
CURSOR_SIZE| Constructor and Description |
|---|
PasswdCommand(Connection connection,
Pattern pattern)
std.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(Parser p)
execute the command.
|
java.lang.String |
extMakeThreadName(java.lang.String sql)
don't show the password in the thread name
|
java.lang.String |
getColumnName(int col)
Not mandatory to supply a key for the row as well.
|
java.lang.String |
getColumnType(int col)
get the column type
|
java.lang.String |
getRecordID(int row)
We are at the last row when we return null for the record ID.
|
java.lang.Object |
getValue(int row,
int col)
The value for this column/row
|
appendResult, appendResult, getCursorName, getRecordKey, isExecuteOnlyexecute, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRawTitlepublic PasswdCommand(Connection connection, Pattern pattern)
connection - the connectionpattern - the patternpublic java.lang.String extMakeThreadName(java.lang.String sql)
extMakeThreadName in class Commandsql - the sql to convertprotected void execute(Parser p) throws java.lang.Exception
public java.lang.String getRecordID(int row)
CommandBuildResultsPluginrow - the row to usepublic java.lang.String getColumnName(int col)
CommandBuildResultsPlugincol - the columnpublic java.lang.String getColumnType(int col)
throws java.lang.Exception
CommandBuildResultsPlugincol - the columnjava.lang.Exception - Exception A serious problempublic java.lang.Object getValue(int row,
int col)
throws java.lang.Exception
CommandBuildResultsPluginrow - the row to usecol - the columnjava.lang.Exception - Exception A serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.