diff options
-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) { |