public class Analyze extends DefineCommand
transactionalcreate, parameters, prepareAlways, session, sqlStatement, sqlTokens| Constructor and Description |
|---|
Analyze(SessionLocal session) |
| Modifier and Type | Method and Description |
|---|---|
static void |
analyzeTable(SessionLocal session,
Table table,
int sample,
boolean manual)
Analyze this table.
|
int |
getType()
Get the command type as defined in CommandInterface
|
void |
setTable(Table table) |
void |
setTop(int top) |
long |
update()
Execute the statement.
|
isReadOnly, isTransactional, queryMeta, setTransactionalcheckCanceled, checkParameters, collectDependencies, getCteCleanups, getCurrentRowNumber, getObjectId, getParameters, getPersistedObjectId, getPlanSQL, getSession, getSimpleSQL, getSQL, getSQLTokens, isCacheable, isQuery, needRecompile, prepare, query, setCommand, setCteCleanups, setCurrentRowNumber, setParameterList, setPersistedObjectId, setPrepareAlways, setRow, setSession, setSQL, toStringpublic Analyze(SessionLocal session)
public void setTable(Table table)
public long update()
Preparedpublic static void analyzeTable(SessionLocal session, Table table, int sample, boolean manual)
session - the sessiontable - the tablesample - the number of sample rowsmanual - whether the command was called by the userpublic void setTop(int top)