public class WordsExtractorCommand extends SQLCommand
EXTRACT_WORDS [[PATH path_name] | [KEY file_key]Usage
EXTRACT_WORDS PATH file_path or EXTRACT_WORDS KEY file_keyTHREAD MODE: SINGLE THREADED command
CURSOR_SIZE
Constructor and Description |
---|
WordsExtractorCommand(Connection connection,
Pattern pattern)
constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
execute(Parser p)
execute this command
|
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, isExecuteOnly
execute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRawTitle
public WordsExtractorCommand(@Nonnull Connection connection, @Nonnull Pattern pattern)
connection
- the connectionpattern
- the patternprotected void execute(Parser p) throws java.lang.Exception
public java.lang.String getRecordID(int row)
CommandBuildResultsPlugin
row
- row indexpublic java.lang.String getColumnName(int col)
CommandBuildResultsPlugin
col
- column indexpublic java.lang.String getColumnType(int col) throws java.lang.Exception
CommandBuildResultsPlugin
col
- column typejava.lang.Exception
- Exception A serious problempublic java.lang.Object getValue(int row, int col) throws java.lang.Exception
CommandBuildResultsPlugin
row
- row indexcol
- column indexjava.lang.Exception
- Exception A serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.