You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, DataTypeString accepts three types in #serializeBinary, which are String, StringView and byte[].
To add Generic Type constraint on DataTypeString, we need to unified the types into one common super type, I proposal to refactor StringView implements CharSequence and introduce BytesCharSeq also implements CharSequence to be a wrapper of byte[], after this change, DataTypeString can be DataTypeString<CharSequence>.
Because IDataType couple with JDBC interface type now, the phase 1 only change StringView.
The text was updated successfully, but these errors were encountered:
Pave the way for #247
Currently,
DataTypeString
accepts three types in#serializeBinary
, which areString
,StringView
andbyte[]
.To add Generic Type constraint on
DataTypeString
, we need to unified the types into one common super type, I proposal to refactorStringView
implementsCharSequence
and introduceBytesCharSeq
also implementsCharSequence
to be a wrapper ofbyte[]
, after this change,DataTypeString
can beDataTypeString<CharSequence>
.Because
IDataType
couple with JDBC interface type now, the phase 1 only changeStringView
.The text was updated successfully, but these errors were encountered: