metadata for a given term including pointer to postings and number of impacts.
More...
#include <deserialised_jass_v1.h>
|
|
slice | term |
| | Pointer to a '\0' terminated string that is this term's name.
|
| |
|
uint8_t * | offset |
| | Offset to the postings for this term.
|
| |
|
uint64_t | impacts |
| | The numner of impact segments this term has.
|
| |
metadata for a given term including pointer to postings and number of impacts.
◆ metadata()
| JASS::deserialised_jass_v1::metadata::metadata |
( |
const slice & |
term, |
|
|
const void * |
offset, |
|
|
uint64_t |
impacts |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
| term | [in] The term this object represents |
| offset | [in] The a ppointer to the postings lists for this term |
| impacts | [in] The number of impacts for this term |
◆ operator<()
| bool JASS::deserialised_jass_v1::metadata::operator< |
( |
const slice & |
with | ) |
const |
|
inline |
Less than operator used for sorting terms in the vocabulary.
- Parameters
-
| with | [in] what to compare to. |
- Returns
- true if this is less than with, else false.
The documentation for this class was generated from the following file: