IndexField newIndexField(Field indexValue, Field key) {
		if (!indexValue.isSameType(indexedField) || !primaryKey.isSameType(getPrimaryKey())) {
			throw new IllegalArgumentException("incorrect index value or key type");

		}
		return new IndexField(indexValue, key);
	}
Construct a new {@link IndexField} instance for the given indexValue and 
associated primary key.  These fields are verified against this instance to 
ensure that they are of the correct type.
@param indexValue column field value to be indexed
@param key primary key associated with indexValue
@return new IndexField instance
Ghidra/Framework/DB/src/main/java/db/IndexField.java