public class FileSyncManualCommand extends SQLCommand
FILE_SYNC_MANUAL locationUsage
-- a one pass sync of files to the NY file store -- FILE_SYNC_MANUAL NYTHREAD MODE: SINGLE THREADED command
CURSOR_SIZE| Constructor and Description |
|---|
FileSyncManualCommand(Connection connection,
Pattern pattern)
Creates the command
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(Parser cmd)
Scans the current layer for files that are not in the given location, and
attempts to sync them.
|
java.lang.String |
getColumnName(int col)
Gets the displayed name for the column
|
java.lang.String |
getColumnType(int col)
Returns the type for the given column
|
java.lang.String |
getRecordID(int row)
Gets the record id for the given row
|
java.lang.Object |
getValue(int row,
int col)
Gets the value for the given result cell
|
appendResult, appendResult, getCursorName, getRecordKey, isExecuteOnlyexecute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRawTitlepublic FileSyncManualCommand(Connection connection, Pattern pattern)
connection - the connection that originated the commandpattern - the command patternprotected void execute(Parser cmd) throws java.lang.Exception
public java.lang.Object getValue(int row,
int col)
throws java.lang.Exception
row - the row index, starts from 1col - the column index, start from 1java.lang.Exception - failure to get the indicated cell valuepublic java.lang.String getColumnType(int col)
col - the column index, starts from 1public java.lang.String getColumnName(int col)
col - the column index to name, starts from 1public java.lang.String getRecordID(int row)
row - the row to id, starts at 1stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.