public class Analyze extends DefineCommand
transactional
create, 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, setTransactional
checkCanceled, checkParameters, getCurrentObjectId, getCurrentRowNumber, getObjectId, getParameters, getPlanSQL, getSQL, getSQL, getSQL, isCacheable, isQuery, needRecompile, prepare, query, setCommand, setCurrentRowNumber, setObjectId, setParameterList, setPrepareAlways, setRow, setSession, setSQL, toString
public Analyze(Session session)
public int update()
Prepared
public 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.