java.lang.Object
org.evomaster.client.java.controller.api.dto.database.schema.ColumnDto
public class ColumnDto
extends Object
-
Field Summary
Fields
boolean
boolean
boolean
From https://www.postgresql.org/docs/14/rowtypes.html
"""
A composite type represents the structure of a row or record;
it is essentially just a list of field names and their data types.
boolean
boolean
boolean
int
The number of dimensions for arrays, matrixs, etc.
boolean
scale of number
the scale is the number of digits to the right of the decimal point
Note that this presents the max range,
eg, DEC(4,2), the scale is 2 and its range would be from -99.99 to 99.99.
5.2 and 0.1 are considered as `valid`
int
boolean
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
-
-
-
-
primaryKey
public boolean primaryKey
-
nullable
public boolean nullable
-
unique
public boolean unique
-
autoIncrement
public boolean autoIncrement
-
foreignKeyToAutoIncrement
public boolean foreignKeyToAutoIncrement
-
isUnsigned
public boolean isUnsigned
-
isEnumeratedType
public boolean isEnumeratedType
-
isCompositeType
public boolean isCompositeType
From https://www.postgresql.org/docs/14/rowtypes.html
"""
A composite type represents the structure of a row or record;
it is essentially just a list of field names and their data types.
PostgreSQL allows composite types to be used in many of the same
ways that simple types can be used.
For example, a column of a table can be declared to be of a composite type.
"""
Example composite types:
CREATE TYPE complex AS (
r double precision,
i double precision
);
CREATE TYPE inventory_item AS (
name text,
supplier_id integer,
price numeric
);
-
scale
scale of number
the scale is the number of digits to the right of the decimal point
Note that this presents the max range,
eg, DEC(4,2), the scale is 2 and its range would be from -99.99 to 99.99.
5.2 and 0.1 are considered as `valid`
-
numberOfDimensions
public int numberOfDimensions
The number of dimensions for arrays, matrixs, etc.
-
Constructor Details
-
ColumnDto
public ColumnDto()