Interface for accessing meta data from a strus storage.
More...
#include <metaDataReaderInterface.hpp>
Interface for accessing meta data from a strus storage.
virtual strus::MetaDataReaderInterface::~MetaDataReaderInterface |
( |
| ) |
|
|
inlinevirtual |
virtual Index strus::MetaDataReaderInterface::elementHandle |
( |
const std::string & |
name_ | ) |
const |
|
pure virtual |
Get the handle for a table element addressed by name.
- Parameters
-
[in] | name_ | name of the element |
- Returns
- return the element handle or -1 if not defined
virtual const char* strus::MetaDataReaderInterface::getName |
( |
const Index & |
elementHandle_ | ) |
const |
|
pure virtual |
Get the name of a table element.
- Parameters
-
[in] | elementHandle_ | the handle for the element |
- Returns
- return the table element name
virtual std::vector<std::string> strus::MetaDataReaderInterface::getNames |
( |
| ) |
const |
|
pure virtual |
Get the list of names of a table elements.
- Returns
- return the list of table element names
virtual const char* strus::MetaDataReaderInterface::getType |
( |
const Index & |
elementHandle_ | ) |
const |
|
pure virtual |
Get the type name of a table element (internal representation)
- Parameters
-
[in] | elementHandle_ | the handle for the element |
- Returns
- return the table element type name string
virtual NumericVariant strus::MetaDataReaderInterface::getValue |
( |
const Index & |
elementHandle_ | ) |
const |
|
pure virtual |
Get the value a table element.
- Parameters
-
[in] | elementHandle_ | the handle for the element |
- Returns
- return the element value as atomic variant (type depending on internal representation)
virtual Index strus::MetaDataReaderInterface::nofElements |
( |
| ) |
const |
|
pure virtual |
Get the number of columns in the meta data table.
- Returns
- return number of columns
virtual void strus::MetaDataReaderInterface::skipDoc |
( |
const Index & |
docno | ) |
|
|
pure virtual |
Skip to the document number equal to 'docno'.
- Parameters
-
The documentation for this class was generated from the following file: