atoti.type module

atoti.type.BOOLEAN = DataType(java_type='boolean', nullable=False)

Boolean type.

atoti.type.DOUBLE = DataType(java_type='double', nullable=False)

Double type.

atoti.type.DOUBLE_ARRAY = DataType(java_type='double[]', nullable=False)

Double array type.

atoti.type.FLOAT = DataType(java_type='float', nullable=False)

Float type.

atoti.type.FLOAT_ARRAY = DataType(java_type='float[]', nullable=False)

Float array type.

atoti.type.INT = DataType(java_type='int', nullable=False)

Integer type.

atoti.type.INT_ARRAY = DataType(java_type='int[]', nullable=False)

Integer array type.

atoti.type.LOCAL_DATE = DataType(java_type='LocalDate', nullable=False)

LocalDate type.

atoti.type.LOCAL_DATE_TIME = DataType(java_type='LocalDateTime', nullable=False)

LocalDateTime type.

atoti.type.LOCAL_TIME = DataType(java_type='LocalTime', nullable=False)

LocalTime type.

atoti.type.LONG = DataType(java_type='long', nullable=False)

Long type.

atoti.type.LONG_ARRAY = DataType(java_type='long[]', nullable=False)

Long array type.

atoti.type.NULLABLE_BOOLEAN = DataType(java_type='boolean', nullable=True)

Nullable boolean type.

atoti.type.NULLABLE_DOUBLE = DataType(java_type='double', nullable=True)

Nullable double type.

atoti.type.NULLABLE_DOUBLE_ARRAY = DataType(java_type='double[]', nullable=True)

Nullable double array type.

atoti.type.NULLABLE_FLOAT = DataType(java_type='float', nullable=True)

Nullable float type.

atoti.type.NULLABLE_FLOAT_ARRAY = DataType(java_type='float[]', nullable=True)

Nullable float array type.

atoti.type.NULLABLE_INT = DataType(java_type='int', nullable=True)

Nullable integer type.

atoti.type.NULLABLE_INT_ARRAY = DataType(java_type='int[]', nullable=True)

Nullable integer array type.

atoti.type.NULLABLE_LOCAL_DATE = DataType(java_type='LocalDate', nullable=True)

Nullable localDate type.

atoti.type.NULLABLE_LOCAL_DATE_TIME = DataType(java_type='LocalDateTime', nullable=True)

Nullable localDateTime type.

atoti.type.NULLABLE_LOCAL_TIME = DataType(java_type='LocalTime', nullable=True)

Nullable localTime type.

atoti.type.NULLABLE_LONG = DataType(java_type='long', nullable=True)

Nullable long type.

atoti.type.NULLABLE_LONG_ARRAY = DataType(java_type='long[]', nullable=True)

Nullable long array type.

atoti.type.NULLABLE_STRING = DataType(java_type='string', nullable=True)

Nullable string type.

atoti.type.NULLABLE_ZONED_DATE_TIME = DataType(java_type='ZonedDateTime', nullable=False)

Nullable zonedDateTime type.

atoti.type.STRING = DataType(java_type='string', nullable=False)

String type.

atoti.type.ZONED_DATE_TIME = DataType(java_type='ZonedDateTime', nullable=False)

ZonedDateTime type.

class atoti.DataType

atoti Type.

java_type: Literal[typing.Literal[typing.Literal['boolean'], typing.Literal['double', 'float', 'int', 'long']], typing.Literal[typing.Literal['double[]', 'float[]', 'int[]', 'long[]'], 'Object[]'], typing.Literal[typing.Literal['LocalDate', 'LocalDateTime', 'ZonedDateTime'], typing.Literal['LocalTime']], 'Object', 'string']

Name of the associated Java type.

nullable: bool

Whether the objects of this type can be None.

Note

Elements within array types cannot be None and must share the same scalar type.