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.

class atoti.type.DataType(*, java_type, nullable)

atoti Type.

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

Name of the associated Java type.

nullable: bool

Whether the objects of this type can be None.

Elements within array types cannot be None and must share the same scalar 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 interger 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.