Mike,
You may want to look at DataTypeUtils.mergeDataTypes( final DataType thisDataType, final DataType
otherDataType )
I don't believe this is exactly what you are looking for, but will likely give you a good
starting point, if you
were to implement such a helper method.
Thanks
-Mark
On Jun 4, 2019, at 12:22 PM, Mike Thomsen <mikerthomsen@gmail.com<mailto:mikerthomsen@gmail.com>>
wrote:
Are there are any helper functions that would be useful for checking a
source RecordFieldType and a target RecordFieldType and letting you know if
the source is compatible with the target?
At this point, I don't have a Record object. It's simply evaluating
RecordFieldTypes off of two RecordSchema objects.
Thanks,
Mike
|