public class Analyze extends DefineCommand
transactionalcreate, parameters, prepareAlways, session, sqlStatement| Modifier and Type | Method and Description |
|---|---|
static void |
analyzeTable(Session session,
Table table,
int sample,
boolean manual)
Analyze this table.
|
int |
getType()
Get the command type as defined in CommandInterface
|
void |
setTop(int top) |
int |
update()
Execute the statement.
|
isReadOnly, isTransactional, queryMeta, setTransactionalcheckCanceled, checkParameters, getCurrentObjectId, getCurrentRowNumber, getObjectId, getParameters, getPlanSQL, getSQL, getSQL, getSQL, isCacheable, isQuery, needRecompile, prepare, query, setCommand, setCurrentRowNumber, setObjectId, setParameterList, setPrepareAlways, setRow, setSession, setSQL, toStringpublic Analyze(Session session)
public int update()
Preparedpublic static void analyzeTable(Session 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)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.