@Override
	DBRecord getRootRecord() throws IOException {
		Field[] keys = table.findRecords(new LongField(-1), V0_CATEGORY_PARENT_COL);
		if (keys.length != 1) {
			throw new IOException("Found " + keys.length + " entries for root category");
		}
		return getRecord(keys[0].getLongValue());
	}
Gets a version 0 adapter for the Category database table.
@param handle handle to the database containing the table.
@param tablePrefix prefix to be used with default table name
@param create true if this constructor should create the table.
@throws VersionException if the table's version does not match the expected version
for this adapter.
@throws IOException if an IO error occurs
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CategoryDBAdapterV0.java