File D:\maven-qcr-plugin-testsunitaires\qcr4java\h2-1.3.170-sources\target\site\qc\lecode\command\ddl\CreateTableData.java.html

1 /*
2 * Copyright 2004-2011 H2 Group. Multiple-Licensed under the H2 License,
3 * Version 1.0, and under the Eclipse Public License, Version 1.0
4 * (http://h2database.com/html/license.html).
5 * Initial Developer: H2 Group
6 */
7 package org.h2.command.ddl;
8
9 import java.util.ArrayList;
10 import org.h2.engine.Session;
11 import org.h2.schema.Schema;
12 import org.h2.table.Column;
13 import org.h2.util.New;
14
15 /**
16 * The data required to create a table.
17 */
18 public class CreateTableData {
19
20 /**
21 * The schema.
22 */
23 public Schema schema;
24
25 /**
26 * The table name.
27 */
28 public String tableName;
29
30 /**
31 * The object id.
32 */
33 public int id;
34
35 /**
36 * The column list.
37 */
38 public ArrayList<Column> columns = New.arrayList();
39
40 /**
41 * Whether this is a temporary table.
42 */
43 public boolean temporary;
44
45 /**
46 * Whether the table is global temporary.
47 */
48 public boolean globalTemporary;
49
50 /**
51 * Whether the indexes should be persisted.
52 */
53 public boolean persistIndexes;
54
55 /**
56 * Whether the data should be persisted.
57 */
58 public boolean persistData;
59
60 /**
61 * Whether to create a new table.
62 */
63 public boolean create;
64
65 /**
66 * The session.
67 */
68 public Session session;
69
70 /**
71 * The table engine to use for creating the table.
72 */
73 public String tableEngine;
74
75 /**
76 * The table is hidden.
77 */
78 public boolean isHidden;
79
80 }
81