diff options
author | Tor Egge <Tor.Egge@yahooinc.com> | 2022-04-19 11:22:32 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@yahooinc.com> | 2022-04-19 11:22:32 +0200 |
commit | 411fa5f058a1147b34b490301d84115128de3831 (patch) | |
tree | e10e3f6d3bb1f9fa6248e47666d0247aff0b1c38 | |
parent | 860265b3e1ae38f0c7857a3254e03f82961144cc (diff) |
Remove unused getByType member functions from search::AttributeVector.
-rw-r--r-- | searchlib/src/vespa/searchlib/attribute/attributevector.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/attributevector.h b/searchlib/src/vespa/searchlib/attribute/attributevector.h index 61f578d9f2b..5f336ab921f 100644 --- a/searchlib/src/vespa/searchlib/attribute/attributevector.h +++ b/searchlib/src/vespa/searchlib/attribute/attributevector.h @@ -167,39 +167,6 @@ protected: void performCompactionWarning(); - void getByType(DocId doc, const char *&v) const { - char tmp[1024]; v = getString(doc, tmp, sizeof(tmp)); - } - - void getByType(DocId doc, vespalib::string &v) const { - char tmp[1024]; v = getString(doc, tmp, sizeof(tmp)); - } - - void getByType(DocId doc, largeint_t & v) const { - v = getInt(doc); - } - - void getByType(DocId doc, double &v) const { - v = getFloat(doc); - } - - uint32_t getByType(DocId doc, const char **v, uint32_t sz) const { - return get(doc, v, sz); - } - - uint32_t getByType(DocId doc, vespalib::string *v, uint32_t sz) const { - return get(doc, v, sz); - } - - uint32_t getByType(DocId doc, largeint_t * v, uint32_t sz) const { - return get(doc, v, sz); - } - - uint32_t getByType(DocId doc, double *v, uint32_t sz) const { - return get(doc, v, sz); - } - - AttributeVector(vespalib::stringref baseFileName, const Config & c); void checkSetMaxValueCount(int index) { |