atoti.type module

class atoti.type.DataType(java_type, nullable)

Bases: object

atoti Type.

java_type: str

Name of the associated Java literal 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.local_date(java_format, nullable=False)

Create a date type with the given Java date format.

atoti.type.local_date_time(java_format, nullable=False)

Create a datetime type with the given Java datetime format.