@Override
	LegacyIndexField newIndexField(Field indexValue, Field primaryKey) {
		if (!indexValue.isSameType(getIndexedField()) || !(primaryKey instanceof LongField)) {
			throw new IllegalArgumentException("incorrect index value or key type");

		}
		return new LegacyIndexField(indexValue, (LongField) primaryKey);
	}
Constructor
@param indexField primary table field type being indexed
Ghidra/Framework/DB/src/main/java/db/LegacyIndexField.java