Package com.killcoding.jsplus
Class CmdConsole
java.lang.Object
com.killcoding.jsplus.ScriptConsole
com.killcoding.jsplus.CmdConsole
- All Implemented Interfaces:
ConsoleImpl
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final ExecutorServiceprivate final ConcurrentHashMap<Long,CmdConsole.ProcessInfo> private final String[]Fields inherited from class com.killcoding.jsplus.ScriptConsole
appenvCp, callback, callbackBatch, callbackSync, cmdConsole, CONNECT_CONSOLES, consoleVariables, datasourceVariables, displayEngineName, firstOpen, ghostConsole, globalCacheArray, JS_PLUS_PATH_KEY, jsPlusContext, log, taskExecutedFields inherited from interface com.killcoding.jsplus.ConsoleImpl
CALL_REGEX, CONSOLE_FUN_REGEX, CONSOLE_VAR_REGEX, DEFAULT_AutoCommit, DEFAULT_BatchSize, DEFAULT_CallStoredProcedureFun, DEFAULT_ColumnCut, DEFAULT_ColumnWidth, DEFAULT_CommandCancel, DEFAULT_CommandEnd, DEFAULT_CommandHistory, DEFAULT_Config_Cipher_AesKey, DEFAULT_DateFormat, DEFAULT_DateTimeFormat, DEFAULT_ExportCursorStart, DEFAULT_ExportMaxFileSize, DEFAULT_ExportMaxRows, DEFAULT_ExportOrderBy, DEFAULT_ExportSplit, DEFAULT_ExportTimer, DEFAULT_ExportUpperOrLowerCase, DEFAULT_ImportSplit, DEFAULT_Jdbc_Cipher_AesKey, DEFAULT_Name, DEFAULT_QueryCursorStart, DEFAULT_QueryMaxRows, DEFAULT_Quote, DEFAULT_Script_Cipher_AesKey, DEFAULT_ScriptEngine, DEFAULT_ShowResultBody, DEFAULT_ShowResultFooter, DEFAULT_ShowResultHeader, DEFAULT_ShowTaskLog, DEFAULT_Task, DEFAULT_TaskTimer, DEFAULT_TimeFormat, DEFAULT_WriteHistory, SELECT_REGEX, VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidMethods inherited from class com.killcoding.jsplus.ScriptConsole
abort, addExitRunnable, addHistory, addSchedule, appenvReloaded, batch, callback, callback, callbackBatch, callbackBatch, checkHistory, clear, clearAllSchedule, clearLastSelectCommand, clearLastSelectCommand, clearSchedule, close, closeContext, columnCut, commit, connect, conver, converToSqlFromMap, createCacheArrayFilter, decryptScript, desc, desc, error, escapeCsv, eval, eval, eval, evalScript, execute, executeBatch, executeCmdBatch, executeJdbcBatch, executeViaCmd, executeViaCmd, executeViaCmd, executeViaCmd, executeViaGhost, executeViaGhost, executeViaJdbc, executeViaJdbc, executeViaScript, exit, exit, exportTables, exportTables, exportTo, exportTo, exportTo, exportTo, exportTo, exportTo, exportUpperOrLowerCase, format, formatCommand, formatForExport, formatForExport, formatObjectValue, genCreateTable, genCreateTable, genCreateTables, genCreateTables, getAppenv, getCacheArrayFilter, getCacheArrayFilterForExport, getCacheArrayFilterForExport, getCacheDriverExecutor, getCacheDriverExecutor, getCmdConsole, getConsole, getConsoles, getConsoleVariables, getContext, getDataSource, getDataType, getDisplayEngineName, getGlobalCacheArray, getGlobalCacheArray, getIntoValue, getJarPath, getJsPlusPath, getLastSelectCommand, getScheduleMap, help, help, hostname, hostname, importFrom, importFrom, importTables, importTables, initGlobalCacheArray, initPool, initScriptEngineManager, initScriptEngineManager, into, into, isCommandCancel, isCommandEnd, isUseCmdEnv, isUseGhostEnv, isUseJdbcEnv, isUseScriptEnv, loadAppenv, memoryUsage, memoryUsage, memoryUsing, newBuilder, newBuilder, newBuilder, newBuilder, open, parseArgs, quote, reset, reset, rollback, set, set, setAutoCommit, setAutoCommit, setCacheApi, setCacheApi, setConsoleVariables, setDataSource, setIntoValue, setLastSelectCommand, setStaticDataSource, setTask, setTask, setTaskTimer, setUseCmdEnv, setUseGhostEnv, setUseJdbcEnv, setUseScriptEnv, show, show, showAll, showAll, showColumnClasses, showColumnClasses, showColumnTypes, showColumnTypes, showHistory, showTables, showTables, showTables, sleep, sleep, startSchedule, startTask, startTask, stopTask, stopTask, task, task, taskExecute, toByteArray, toByteArray, toResultList, toSingle, unescapeCsv, version, version, when
-
Field Details
-
enableSystemOut
-
shellPrefix
-
monitorExecutor
-
processes
-
-
Constructor Details
-
CmdConsole
public CmdConsole() -
CmdConsole
-
-
Method Details
-
startMonitor
-
submit
-
getCurrentPid
-