Skip to content

SqlType

SqlType is an abstraction of SQL types.

Contract

toString

String toString(
  FormatOptions formatOptions)

Used when:

  • Column is requested to toString
  • SqlTypeSchemaSerializer is requested to serialize a SqlType
  • FilterTypeValidator is requested to validateFilterExpression
  • ExpressionFormatter.Formatter is requested to visitType
  • QueryEndpoint is requested to colTypesFromSchema

Implementations

Creating Instance

SqlType takes the following to be created:

Abstract Class

SqlType is an abstract class and cannot be created directly. It is created indirectly for the concrete SqlTypes.

SqlTypeSchemaSerializer

SqlType is serialized using SqlTypeSchemaSerializer.