PolyMatcher* PolyMatcher_new(VArray *children, Similarity *sim) { PolyMatcher *self = (PolyMatcher*)VTable_Make_Obj(&POLYMATCHER); return PolyMatcher_init(self, children, sim); }
FSFileHandle* FSFH_open(const CharBuf *path, uint32_t flags) { FSFileHandle *self = (FSFileHandle*)VTable_Make_Obj(FSFILEHANDLE); return FSFH_do_open(self, path, flags); }
Int64Type* Int64Type_new() { Int64Type *self = (Int64Type*)VTable_Make_Obj(INT64TYPE); return Int64Type_init(self); }
SegReader* SegReader_new(Schema *schema, Folder *folder, Snapshot *snapshot, VArray *segments, int32_t seg_tick) { SegReader *self = (SegReader*)VTable_Make_Obj(SEGREADER); return SegReader_init(self, schema, folder, snapshot, segments, seg_tick); }
PhraseQuery* PhraseQuery_new(const CharBuf *field, VArray *terms) { PhraseQuery *self = (PhraseQuery*)VTable_Make_Obj(&PHRASEQUERY); return PhraseQuery_init(self, field, terms); }
TestNOTQuery* TestNOTQuery_new() { return (TestNOTQuery*)VTable_Make_Obj(TESTNOTQUERY); }
DocWriter* DocWriter_new(Schema *schema, Snapshot *snapshot, Segment *segment, PolyReader *polyreader) { DocWriter *self = (DocWriter*)VTable_Make_Obj(DOCWRITER); return DocWriter_init(self, schema, snapshot, segment, polyreader); }
ORScorer* ORScorer_new(VArray *children, Similarity *sim) { ORScorer *self = (ORScorer*)VTable_Make_Obj(ORSCORER); return ORScorer_init(self, children, sim); }
ORMatcher* ORMatcher_new(VArray *children) { ORMatcher *self = (ORMatcher*)VTable_Make_Obj(ORMATCHER); return ORMatcher_init(self, children); }
SortCollector* SortColl_new(Schema *schema, SortSpec *sort_spec, uint32_t wanted) { SortCollector *self = (SortCollector*)VTable_Make_Obj(SORTCOLLECTOR); return SortColl_init(self, schema, sort_spec, wanted); }
InStream* InStream_open(Obj *file) { InStream *self = (InStream*)VTable_Make_Obj(INSTREAM); return InStream_do_open(self, file); }
TestAtomic* TestAtomic_new() { return (TestAtomic*)VTable_Make_Obj(TESTATOMIC); }
MatchPosting* MatchPost_new(Similarity *sim) { MatchPosting *self = (MatchPosting*)VTable_Make_Obj(MATCHPOSTING); return MatchPost_init(self, sim); }
MatchTermInfoStepper* MatchTInfoStepper_new(Schema *schema) { MatchTermInfoStepper *self = (MatchTermInfoStepper*)VTable_Make_Obj(MATCHTERMINFOSTEPPER); return MatchTInfoStepper_init(self, schema); }
Hash* Hash_new(uint32_t capacity) { Hash *self = (Hash*)VTable_Make_Obj(HASH); return Hash_init(self, capacity); }
QueryLexer* QueryLexer_new() { QueryLexer *self = (QueryLexer*)VTable_Make_Obj(QUERYLEXER); return QueryLexer_init(self); }
SegWriter* SegWriter_new(Schema *schema, Snapshot *snapshot, Segment *segment, PolyReader *polyreader) { SegWriter *self = (SegWriter*)VTable_Make_Obj(SEGWRITER); return SegWriter_init(self, schema, snapshot, segment, polyreader); }
TestLockFreeRegistry* TestLFReg_new() { return (TestLockFreeRegistry*)VTable_Make_Obj(TESTLOCKFREEREGISTRY); }
CharBuf* CB_new(size_t size) { CharBuf *self = (CharBuf*)VTable_Make_Obj(CHARBUF); return CB_init(self, size); }
HeatMap* HeatMap_new(VArray *spans, uint32_t window) { HeatMap *self = (HeatMap*)VTable_Make_Obj(HEATMAP); return HeatMap_init(self, spans, window); }
NoMatchQuery* NoMatchQuery_new() { NoMatchQuery *self = (NoMatchQuery*)VTable_Make_Obj(NOMATCHQUERY); return NoMatchQuery_init(self); }
TestRegexTokenizer* TestRegexTokenizer_new() { return (TestRegexTokenizer*)VTable_Make_Obj(TESTREGEXTOKENIZER); }
PhraseCompiler* PhraseCompiler_new(PhraseQuery *parent, Searchable *searchable, float boost) { PhraseCompiler *self = (PhraseCompiler*)VTable_Make_Obj(&PHRASECOMPILER); return PhraseCompiler_init(self, parent, searchable, boost); }
TestCharBuf* TestCB_new(CharBuf *wanted, CharBuf *got) { TestCharBuf *self = (TestCharBuf*)VTable_Make_Obj(&TESTCHARBUF); return TestCB_init(self, wanted, got); }
PolyReader* PolyReader_open(Obj *index, Snapshot *snapshot, IndexManager *manager) { PolyReader *self = (PolyReader*)VTable_Make_Obj(POLYREADER); return PolyReader_do_open(self, index, snapshot, manager); }
Doc* Doc_new(void *fields, i32_t doc_id) { Doc *self = (Doc*)VTable_Make_Obj(&DOC); return Doc_init(self, fields, doc_id); }
Float32Type* Float32Type_new() { Float32Type *self = (Float32Type*)VTable_Make_Obj(FLOAT32TYPE); return Float32Type_init(self); }
void Hash_init_class() { TOMBSTONE = (HashTombStone*)VTable_Make_Obj(HASHTOMBSTONE); }
SortSpec* SortSpec_new(VArray *rules) { SortSpec *self = (SortSpec*)VTable_Make_Obj(SORTSPEC); return SortSpec_init(self, rules); }
TestBatch* TestBatch_new(int64_t num_tests) { TestBatch *self = (TestBatch*)VTable_Make_Obj(TESTBATCH); return TestBatch_init(self, num_tests); }