Structure describing a typed query term.
More...
#include <queryTerm.hpp>
Structure describing a typed query term.
| strus::analyzer::QueryTerm::QueryTerm |
( |
| ) |
|
|
inline |
| strus::analyzer::QueryTerm::QueryTerm |
( |
const QueryTerm & |
o | ) |
|
|
inline |
| strus::analyzer::QueryTerm::QueryTerm |
( |
const std::string & |
t, |
|
|
const std::string & |
v, |
|
|
int |
l |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
| [in] | t | name of the term |
| [in] | v | value of the term |
| [in] | l | length of the term |
| int strus::analyzer::QueryTerm::len |
( |
| ) |
const |
|
inline |
Get the length of the term (ordinal position count)
- Returns
- ordinal position count of the term
| void strus::analyzer::QueryTerm::setLen |
( |
int |
len_ | ) |
|
|
inline |
Set the length of the term (ordinal position count)
- Parameters
-
| [in] | len_ | length (term count) of the term |
| const std::string& strus::analyzer::QueryTerm::type |
( |
| ) |
const |
|
inline |
Get the type name of the term.
- Returns
- type name of the term
| const std::string& strus::analyzer::QueryTerm::value |
( |
| ) |
const |
|
inline |
Get the value of the term.
- Returns
- value of the term
The documentation for this class was generated from the following file:
- /home/patrick/Projects/github/strusAnalyzer/include/strus/analyzer/queryTerm.hpp