@Override
	public DBRecord createRecord(long dataTypeID, int numberOfElements, int length, long catID)
			throws IOException {

		long key = DataTypeManagerDB.createKey(DataTypeManagerDB.ARRAY, table.getKey());

		DBRecord record = V1_SCHEMA.createRecord(key);
		record.setLongValue(V1_ARRAY_DT_ID_COL, dataTypeID);
		record.setIntValue(V1_ARRAY_DIM_COL, numberOfElements);
		record.setIntValue(V1_ARRAY_ELEMENT_LENGTH_COL, length);
		record.setLongValue(V1_ARRAY_CAT_COL, catID);
		table.putRecord(record);
		return record;
	}
Gets a version 1 adapter for the {@link ArrayDB} database table.
@param handle handle to the database containing the table.
@param tablePrefix prefix to be used with default table name
@param create create table if true else acquire for read-only or update use
@throws VersionException if the table's version does not match the expected version
for this adapter.
@throws IOException an IO error occured during table creation
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ArrayDBAdapterV1.java