Type

Data Type

As see above there are three root elements of database, but only Table and Request are data elements. All the possible types of data are contained in the DataType enumeration.

The type of the data can be :

Change Type

The change can be a creation, a modification or a deletion. All the possible types of change are contained in the ChangeType enumeration.

The type of the change depends of operation on database :

Value Type

The value can be a date, a boolean or a text for example. All the possible types of value are contained in the ValueType enumeration.

The type of the value depends of class of the object given by java.sql when the data are got from database :

  • BYTES for a array of bytes (byte[])

  • BOOLEAN for a java.lang.Boolean

  • TEXT for a java.lang.String

  • DATE for a java.sql.Date

  • TIME for a java.sql.Time

  • DATE_TIME for a java.sql.Timestamp

  • UUID for a java.util.UUID

  • NUMBER for a java.lang.Byte, java.lang.Short, java.lang.Integer, java.lang.Long, java.lang.Double, java.lang.Float or java.math.BigDecimal

  • NOT_IDENTIFIED for other cases (for example when the value is null)

Order Type

The order can be a ascending or descending. All the possible types of order are contained in the Table.Order.OrderType enumeration.

The type of the order can be :

  • ASC for an ascending order

  • DESC for a descending order