public DBRecord getRecord(Field key) throws IOException {
		synchronized (db) {
			if (rootBufferId < 0) {
				return null;
			}
			if (key instanceof LongField) {
				return getRecord(key.getLongValue());
			}
			FieldKeyRecordNode leaf;
			try {
				if (key instanceof FixedField) {
					leaf = nodeMgr.getFixedKeyNode(rootBufferId).getLeafNode(key);
					return leaf.getRecord(key, schema);
				}
				leaf = getFieldKeyNode(rootBufferId).getLeafNode(key);
				return leaf.getRecord(key, schema);
			}
			finally {
				nodeMgr.releaseNodes();
			}
		}
	}
Get the record identified by the specified key value.
@param key unique record key.
@return Record the record identified by key, or null if record was not
found.
@throws IOException throw if an IO Error occurs
Ghidra/Framework/DB/src/main/java/db/Table.java