Class CompositeTypeColumnDto
java.lang.Object
org.evomaster.client.java.controller.api.dto.database.schema.CompositeTypeColumnDto
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanReturns if the column is a composite or a built-in type.booleanThe name of the composite typebooleanintThe number of dimensions for arrays, matrixs, etc.precision of number the scale is the number of digits to the right of the decimal pointintThe name of the composite type -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
The name of the composite type -
columnTypeIsComposite
public boolean columnTypeIsCompositeReturns if the column is a composite or a built-in type. Columns of composite types can be built-in (e.g. integer, varchar) or other composite types. For example, given the following composite types: CREATE TYPE Address ( street: varchar, city: varchar ); CREATE TYPE Person ( name: varchar, addr: Address ); The column "name" of Person type has varchar type (and columnTypeIsComposite==false). In contrast, the colun "addr" of Person type has Address type (and columnTypeIsComposite==true). -
type
The name of the composite type -
size
public int size -
nullable
public boolean nullable -
isUnsigned
public boolean isUnsigned -
scale
precision of number the scale is the number of digits to the right of the decimal point -
numberOfDimensions
public int numberOfDimensionsThe number of dimensions for arrays, matrixs, etc.
-
-
Constructor Details
-
CompositeTypeColumnDto
public CompositeTypeColumnDto()
-