01: /*
02: * Piscator: a small SQL/XML search engine
03: * Copyright (C) 2007 Luk Morbee
04: *
05: * This program is free software; you can redistribute it and/or modify
06: * it under the terms of the GNU General Public License as published by
07: * the Free Software Foundation; either version 2 of the License, or
08: * (at your option) any later version.
09: *
10: * This program is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13: * GNU General Public License for more details.
14: *
15: * You should have received a copy of the GNU General Public License
16: * along with this program; if not, write to the Free Software
17: * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18: */
19: package piscator.dao;
20:
21: import java.util.Map;
22:
23: import org.w3c.dom.Element;
24:
25: public interface SideTableDao {
26:
27: /**
28: * Drops and creates the side tables and indexes according to configuration settings.
29: */
30: public void create(Element config);
31:
32: /**
33: * Inserts a row in the specified side table.
34: */
35: public void insert(String table, Map row);
36: }
|