Slide 35
Slide 35 text
IAM’s API
IndexBuildResult * ambuild (Relation heapRelation, Relation indexRelation, IndexInfo *indexInf
bool aminsert (Relation indexRelation, Datum *values, bool *isnull, ItemPointer heap_tid, Rela
void amcostestimate (PlannerInfo *root, IndexPath *path, double loop_count, Cost *indexStartup
IndexBulkDeleteResult * ambulkdelete (IndexVacuumInfo *info, IndexBulkDeleteResult *stats, Ind
IndexBulkDeleteResult * amvacuumcleanup (IndexVacuumInfo *info, IndexBulkDeleteResult *stats);
void ambuildempty (Relation indexRelation);
bool amcanreturn (Relation indexRelation);
bytea * amoptions (ArrayType *reloptions, bool validate);
IndexScanDesc ambeginscan (Relation indexRelation, int nkeys, int norderbys);
void amrescan (IndexScanDesc scan, ScanKey keys, int nkeys, ScanKey orderbys, int norderbys);
boolean amgettuple (IndexScanDesc scan, ScanDirection direction);
int64 amgetbitmap (IndexScanDesc scan, TIDBitmap *tbm);
void amendscan (IndexScanDesc scan);