diff options
author | Tor Egge <Tor.Egge@oath.com> | 2018-04-20 13:21:06 +0000 |
---|---|---|
committer | Tor Egge <Tor.Egge@oath.com> | 2018-04-20 13:21:06 +0000 |
commit | 821eaba272d01f7bc45b37379485b5605d775ae3 (patch) | |
tree | a40d52485fa1d70c4074a639060264f37ed18d15 /searchcommon | |
parent | 8771271e8a8cfd3387fb388505f6006ad99dc18b (diff) |
Add virtual isImported() method to IAttributeVector.
Diffstat (limited to 'searchcommon')
-rw-r--r-- | searchcommon/src/vespa/searchcommon/attribute/iattributevector.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/searchcommon/src/vespa/searchcommon/attribute/iattributevector.h b/searchcommon/src/vespa/searchcommon/attribute/iattributevector.h index 22e2e46c1e4..79795d94170 100644 --- a/searchcommon/src/vespa/searchcommon/attribute/iattributevector.h +++ b/searchcommon/src/vespa/searchcommon/attribute/iattributevector.h @@ -366,13 +366,19 @@ public: */ virtual bool getIsFastSearch() const = 0; - /* + /** * Returns the committed docid limit for the attribute. * * @return committed docid limit for the attribute. */ virtual uint32_t getCommittedDocIdLimitSlow() const = 0; + /* + * Returns whether the current attribute vector is an imported attribute + * vector. + */ + virtual bool isImported() const = 0; + /** * Will serialize the values for the documentid in ascending order. The serialized form can be used by memcmp and * sortorder will be preserved. |