strus  0.17
storage_objbuild.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014 Patrick P. Frey
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  */
10 #ifndef _STRUS_STORAGE_OBJBUILD_LIB_HPP_INCLUDED
11 #define _STRUS_STORAGE_OBJBUILD_LIB_HPP_INCLUDED
12 #include <string>
13 
15 namespace strus {
16 
18 class StorageObjectBuilderInterface;
20 class StorageAlterMetaDataTableInterface;
22 class StorageClientInterface;
24 class VectorStorageClientInterface;
26 class VectorStorageBuilderInterface;
28 class ErrorBufferInterface;
30 class FileLocatorInterface;
31 
35 StorageObjectBuilderInterface*
37  const FileLocatorInterface* filelocator,
38  ErrorBufferInterface* errorhnd);
39 
44 StorageAlterMetaDataTableInterface*
46  const StorageObjectBuilderInterface* objbuilder,
47  ErrorBufferInterface* errorhnd,
48  const std::string& config);
49 
54 StorageClientInterface*
56  const StorageObjectBuilderInterface* objbuilder,
57  ErrorBufferInterface* errorhnd,
58  const std::string& config);
59 
64 VectorStorageClientInterface*
66  const StorageObjectBuilderInterface* objbuilder,
67  ErrorBufferInterface* errorhnd,
68  const std::string& config);
69 
70 }//namespace
71 #endif
72 
StorageObjectBuilderInterface * createStorageObjectBuilder_default(const FileLocatorInterface *filelocator, ErrorBufferInterface *errorhnd)
Create a storage object builder with the builders from the standard strus core libraries (without mod...
StorageClientInterface * createStorageClient(const StorageObjectBuilderInterface *objbuilder, ErrorBufferInterface *errorhnd, const std::string &config)
Create a storage client interface with the object builder passed.
VectorStorageClientInterface * createVectorStorageClient(const StorageObjectBuilderInterface *objbuilder, ErrorBufferInterface *errorhnd, const std::string &config)
Create a vector storage client interface with the object builder passed.
StorageAlterMetaDataTableInterface * createAlterMetaDataTable(const StorageObjectBuilderInterface *objbuilder, ErrorBufferInterface *errorhnd, const std::string &config)
Create a alter metadata table interface with the object builder passed.