|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.command.Prepared
org.h2.command.ddl.DefineCommand
public abstract class DefineCommand
This class represents a non-transaction statement, for example a CREATE or DROP.
Field Summary | |
---|---|
protected boolean |
transactional
The transactional behavior. |
Fields inherited from class org.h2.command.Prepared |
---|
create, parameters, prepareAlways, session, sqlStatement |
Constructor Summary | |
---|---|
DefineCommand(Session session)
Create a new command for the given session. |
Method Summary | |
---|---|
boolean |
isReadOnly()
Check if this command is read only. |
boolean |
isTransactional()
Check if this command is transactional. |
ResultInterface |
queryMeta()
Get an empty result set containing the meta data. |
void |
setTransactional(boolean transactional)
|
Methods inherited from class org.h2.command.Prepared |
---|
checkCanceled, checkParameters, getCurrentObjectId, getCurrentRowNumber, getObjectId, getParameters, getPlanSQL, getSQL, getSQL, getSQL, getType, isCacheable, isQuery, needRecompile, prepare, query, setCommand, setCurrentRowNumber, setObjectId, setParameterList, setPrepareAlways, setRow, setSession, setSQL, toString, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected boolean transactional
Constructor Detail |
---|
public DefineCommand(Session session)
session
- the sessionMethod Detail |
---|
public boolean isReadOnly()
Prepared
isReadOnly
in class Prepared
public ResultInterface queryMeta()
Prepared
queryMeta
in class Prepared
public void setTransactional(boolean transactional)
public boolean isTransactional()
Prepared
isTransactional
in class Prepared
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |