01: /*
02: * Copyright 2004-2008 H2 Group. Licensed under the H2 License, Version 1.0
03: * (http://h2database.com/html/license.html).
04: * Initial Developer: H2 Group
05: */
06: package org.h2.command.ddl;
07:
08: import org.h2.command.Prepared;
09: import org.h2.engine.Session;
10: import org.h2.result.LocalResult;
11:
12: /**
13: * This class represents a non-transaction statement, for example a CREATE or
14: * DROP.
15: */
16: public abstract class DefineCommand extends Prepared {
17:
18: /**
19: * Create a new command for the given session.
20: *
21: * @param session the session
22: */
23: public DefineCommand(Session session) {
24: super (session);
25: }
26:
27: public boolean isTransactional() {
28: return false;
29: }
30:
31: public boolean isReadOnly() {
32: return false;
33: }
34:
35: public LocalResult queryMeta() {
36: return null;
37: }
38:
39: }
|