public class SqlQueryCommand extends AbstractDataSourceCommand
logger| Constructor and Description |
|---|
SqlQueryCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doRun() |
OutputFormatType |
getOutputFormatType() |
java.lang.String |
getSql() |
void |
setOutputFormatType(OutputFormatType outputFormatType) |
void |
setSql(java.lang.String sql) |
createOutputTextBuilder, getConnection, getConnectionHandler, getCurrentCatalogName, getCurrentSchemaName, getDataSource, getDialect, getDialect, newConverters, releaseConnection, setConnection, setConnectionHandler, setDataSource, setDialectcreateJsonConverter, getContext, getConvertHandler, getErr, getExceptionHandler, initialize, initializeContext, println, run, setConvertHandler, setExceptionHandlerprotected void doRun()
doRun in class AbstractCommandpublic java.lang.String getSql()
public void setSql(java.lang.String sql)
sql - the sql to setpublic OutputFormatType getOutputFormatType()
public void setOutputFormatType(OutputFormatType outputFormatType)
outputFormatType - the outputFormatType to set