| 127 | } |
| 128 | |
| 129 | ZVecParser::Ptr ZVecParser::create() { |
| 130 | // TODO: support config |
| 131 | // auto &config = zvec::Config::Instance(); |
| 132 | // int32_t cache_count = config.get_sql_info_cache_count(); |
| 133 | return create(100); |
| 134 | } |
| 135 | |
| 136 | ZVecParser::Ptr ZVecParser::create(int cache_count) { |
| 137 | // if not config, or if config between 0 and 100, upround to 100 |