Package net.runelite.cache
Class DBTableIndexManager
- java.lang.Object
-
- net.runelite.cache.DBTableIndexManager
-
public class DBTableIndexManager extends Object
-
-
Constructor Summary
Constructors Constructor Description DBTableIndexManager(Store store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DBTableIndexget(int tableId, int columnId)Gets the index for the specified table and column.Collection<DBTableIndex>getIndexes()DBTableIndexgetMaster(int tableId)Gets the master index for the specified table.voidload()
-
-
-
Constructor Detail
-
DBTableIndexManager
public DBTableIndexManager(Store store)
-
-
Method Detail
-
load
public void load() throws IOException- Throws:
IOException
-
getIndexes
public Collection<DBTableIndex> getIndexes()
-
getMaster
public DBTableIndex getMaster(int tableId)
Gets the master index for the specified table.- Parameters:
tableId- The table id to lookup.- Returns:
- The master index with all rows belonging to the table.
-
get
public DBTableIndex get(int tableId, int columnId)
Gets the index for the specified table and column.- Parameters:
tableId- The table id to lookup.columnId- The column id to lookup.- Returns:
- The index for the specific table column.
-
-