AbstractCoerce a single data value into a form that can safely be passed to the datasource as a
bind parameter (as opposed to printCellAsValue, which formats it as an inline SQL literal).
The default implementation returns the value unchanged. SQL datasources override this to
apply driver-specific coercions (e.g. converting Date/boolean for drivers that only
accept primitive bind types). Non-SQL datasources (blob, nosql) can ignore it.
data value to bind
native type name for the table column
AbstractconnectConnect to database.
AbstractdisconnectDisconnect from database.
AbstractinitializeInitialize a data model by getting the SQL schema and populating OINODataFields of the model.
api which data model to initialize.
AbstractparseParse a single SQL result value for serialization using the context of the native data type.
data from serialization
native type name for table column
AbstractprintPrint a single data value from serialization using the context of the native data type with the correct SQL escaping.
data from sql results
native type name for table column
AbstractprintPrint a column name with correct datasource specific formatting.
name of the column
AbstractprintPrint a single string value as valid sql literal
string value
AbstractvalidateValidate connection to database is working.
Base class for database abstraction, implementing methods for connecting, making queries and parsing/formatting data between SQL and serialization formats.