protected T findOneObject(int columnIndex, Field field) throws IOException {
		// TODO: Support non-long keys, eventually.
		Field[] found = table.findRecords(field, columnIndex);
		if (found.length == 0) {
			return null;
		}
		if (found.length != 1) {
			throw new IllegalStateException("More than one match");
		}
		return getObjectAt(found[0].getLongValue());
	}
Search a column index for a single object having the given value

@param columnIndex the indexed column's number
@param field a field holding the value to seek
@return the object, if found, or null
@throws IOException if there's an issue reading the table
@throws IllegalStateException if the object is not unique
Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/database/DBCachedObjectStore.java