|
Nowhere do we expose the native type expected out of a GridType. This is needed for strongly typed schemas like Cassandra to generate the right type.
This kind of info is present via Type.sqlTypes() in the ORM side. We need to offer something similar.
Proposal:
Add Class[] GridType.nativeTypes(). implement it in AbstractGenericBasicType via something like that
public Class[] GridType.nativeTypes() {
return gridTypeDescriptor.getNativeTypes();
}
Add GridTypeDescriptor.getNativeTypes()
|