diff options
Diffstat (limited to 'dbaccess/source/filter/hsqldb/hsqlimport.hxx')
-rw-r--r-- | dbaccess/source/filter/hsqldb/hsqlimport.hxx | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/dbaccess/source/filter/hsqldb/hsqlimport.hxx b/dbaccess/source/filter/hsqldb/hsqlimport.hxx index d4887633e184..b40f73079a7e 100644 --- a/dbaccess/source/filter/hsqldb/hsqlimport.hxx +++ b/dbaccess/source/filter/hsqldb/hsqlimport.hxx @@ -5,16 +5,6 @@ * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #ifndef INCLUDED_DBACCESS_SOURCE_FILTER_HSQLDB_HSQLIMPORT_HXX @@ -23,6 +13,9 @@ #include <com/sun/star/embed/XStorage.hpp> #include <com/sun/star/sdbc/XConnection.hpp> +#include "rowinputbinary.hxx" +#include "hsqlbinarynode.hxx" + namespace dbahsql { class SAL_DLLPUBLIC_EXPORT HsqlImporter @@ -32,7 +25,12 @@ private: css::uno::Reference<css::embed::XStorage> m_xStorage; protected: - void importSchema(); + void insertRow(const std::vector<css::uno::Any>& xRows, const OUString& sTable, + const std::vector<sal_Int32>& rColTypes); + void processTree(HsqlBinaryNode& rNode, HsqlRowInputStream& rStream, + const std::vector<sal_Int32>& rColTypes, const OUString& sTableName); + void parseTableRows(const std::vector<sal_Int32>& rIndexes, + const std::vector<sal_Int32>& rColTypes, const OUString& sTableName); public: HsqlImporter(css::uno::Reference<css::sdbc::XConnection>& rConnection, |