File D:\maven-qcr-plugin-testsunitaires\qcr4java\h2-1.3.170-sources\target\site\qc\lecode\api\TableEngine.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.api;
8
9 import org.h2.table.TableBase;
10 import org.h2.command.ddl.CreateTableData;
11
12 /**
13 * A class that implements this interface can create custom table
14 * implementations.
15 *
16 * @author Sergi Vladykin
17 */
18 public interface TableEngine {
19
20 /**
21 * Create new table.
22 *
23 * @param data the data to construct the table
24 * @return the created table
25 */
26 TableBase createTable(CreateTableData data);
27
28 }
29