| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class |
| Access | Constructor and Description |
|---|---|
| public |
| TimeConversions | back to summary |
|---|---|
| public TimeConversions() | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public LocalDate | fromInt(Integer daysFromEpoch, Schema schema, LogicalType type)
Overrides org. |
| public Class | getConvertedType()
Implements abstract org. |
| public String | getLogicalTypeName()
Implements abstract org. |
| public Schema | |
| public Integer |
| DateConversion | back to summary |
|---|---|
| public DateConversion() | |
| fromInt | back to summary |
|---|---|
| public LocalDate fromInt(Integer daysFromEpoch, Schema schema, LogicalType type) Overrides org.
| |
| getConvertedType | back to summary |
|---|---|
| public Class Implements abstract org. Doc from org. Return the Java class representing the logical type. | |
| getLogicalTypeName | back to summary |
|---|---|
| public String getLogicalTypeName() Implements abstract org. Doc from org. Return the logical type this class converts. | |
| getRecommendedSchema | back to summary |
|---|---|
| public Schema getRecommendedSchema() Overrides org.
| |
| toInt | back to summary |
|---|---|
| public Integer toInt(LocalDate date, Schema schema, LogicalType type) Overrides org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final TimeConversions. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public LocalDateTime | fromLong(Long microsFromEpoch, Schema schema, LogicalType type)
Overrides org. |
| public Class | getConvertedType()
Implements abstract org. |
| public String | getLogicalTypeName()
Implements abstract org. |
| public Schema | |
| public Long | toLong(LocalDateTime timestamp, Schema schema, LogicalType type)
Overrides org. |
| timestampMicrosConversion | back to summary |
|---|---|
| private final TimeConversions. | |
| LocalTimestampMicrosConversion | back to summary |
|---|---|
| public LocalTimestampMicrosConversion() | |
| fromLong | back to summary |
|---|---|
| public LocalDateTime fromLong(Long microsFromEpoch, Schema schema, LogicalType type) Overrides org.
| |
| getConvertedType | back to summary |
|---|---|
| public Class Implements abstract org. Doc from org. Return the Java class representing the logical type.
| |
| getLogicalTypeName | back to summary |
|---|---|
| public String getLogicalTypeName() Implements abstract org. Doc from org. Return the logical type this class converts. | |
| getRecommendedSchema | back to summary |
|---|---|
| public Schema getRecommendedSchema() Overrides org.
| |
| toLong | back to summary |
|---|---|
| public Long toLong(LocalDateTime timestamp, Schema schema, LogicalType type) Overrides org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final TimeConversions. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public LocalDateTime | fromLong(Long millisFromEpoch, Schema schema, LogicalType type)
Overrides org. |
| public Class | getConvertedType()
Implements abstract org. |
| public String | getLogicalTypeName()
Implements abstract org. |
| public Schema | |
| public Long | toLong(LocalDateTime timestamp, Schema schema, LogicalType type)
Overrides org. |
| timestampMillisConversion | back to summary |
|---|---|
| private final TimeConversions. | |
| LocalTimestampMillisConversion | back to summary |
|---|---|
| public LocalTimestampMillisConversion() | |
| fromLong | back to summary |
|---|---|
| public LocalDateTime fromLong(Long millisFromEpoch, Schema schema, LogicalType type) Overrides org.
| |
| getConvertedType | back to summary |
|---|---|
| public Class Implements abstract org. Doc from org. Return the Java class representing the logical type.
| |
| getLogicalTypeName | back to summary |
|---|---|
| public String getLogicalTypeName() Implements abstract org. Doc from org. Return the logical type this class converts. | |
| getRecommendedSchema | back to summary |
|---|---|
| public Schema getRecommendedSchema() Overrides org.
| |
| toLong | back to summary |
|---|---|
| public Long toLong(LocalDateTime timestamp, Schema schema, LogicalType type) Overrides org.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | adjustAndSetValue(String
the name of the variable holding the converted value varName, String the name of the parameter with the new converted value valParamName)Overrides org. |
| public LocalTime | fromLong(Long microsFromMidnight, Schema schema, LogicalType type)
Overrides org. |
| public Class | getConvertedType()
Implements abstract org. |
| public String | getLogicalTypeName()
Implements abstract org. |
| public Schema | |
| public Long |
| TimeMicrosConversion | back to summary |
|---|---|
| public TimeMicrosConversion() | |
| adjustAndSetValue | back to summary |
|---|---|
| public String adjustAndSetValue(String varName, String valParamName) Overrides org. Doc from org. Certain logical types may require adjusting the code within the "setter" methods to make sure the data that is set is properly formatted. This method allows the Conversion to generate custom setter code if required. | |
| fromLong | back to summary |
|---|---|
| public LocalTime fromLong(Long microsFromMidnight, Schema schema, LogicalType type) Overrides org.
| |
| getConvertedType | back to summary |
|---|---|
| public Class Implements abstract org. Doc from org. Return the Java class representing the logical type. | |
| getLogicalTypeName | back to summary |
|---|---|
| public String getLogicalTypeName() Implements abstract org. Doc from org. Return the logical type this class converts. | |
| getRecommendedSchema | back to summary |
|---|---|
| public Schema getRecommendedSchema() Overrides org.
| |
| toLong | back to summary |
|---|---|
| public Long toLong(LocalTime time, Schema schema, LogicalType type) Overrides org.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | adjustAndSetValue(String
the name of the variable holding the converted value varName, String the name of the parameter with the new converted value valParamName)Overrides org. |
| public LocalTime | fromInt(Integer millisFromMidnight, Schema schema, LogicalType type)
Overrides org. |
| public Class | getConvertedType()
Implements abstract org. |
| public String | getLogicalTypeName()
Implements abstract org. |
| public Schema | |
| public Integer |
| TimeMillisConversion | back to summary |
|---|---|
| public TimeMillisConversion() | |
| adjustAndSetValue | back to summary |
|---|---|
| public String adjustAndSetValue(String varName, String valParamName) Overrides org. Doc from org. Certain logical types may require adjusting the code within the "setter" methods to make sure the data that is set is properly formatted. This method allows the Conversion to generate custom setter code if required. | |
| fromInt | back to summary |
|---|---|
| public LocalTime fromInt(Integer millisFromMidnight, Schema schema, LogicalType type) Overrides org.
| |
| getConvertedType | back to summary |
|---|---|
| public Class Implements abstract org. Doc from org. Return the Java class representing the logical type. | |
| getLogicalTypeName | back to summary |
|---|---|
| public String getLogicalTypeName() Implements abstract org. Doc from org. Return the logical type this class converts. | |
| getRecommendedSchema | back to summary |
|---|---|
| public Schema getRecommendedSchema() Overrides org.
| |
| toInt | back to summary |
|---|---|
| public Integer toInt(LocalTime time, Schema schema, LogicalType type) Overrides org.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | adjustAndSetValue(String
the name of the variable holding the converted value varName, String the name of the parameter with the new converted value valParamName)Overrides org. |
| public Instant | fromLong(Long microsFromEpoch, Schema schema, LogicalType type)
Overrides org. |
| public Class | getConvertedType()
Implements abstract org. |
| public String | getLogicalTypeName()
Implements abstract org. |
| public Schema | |
| public Long | toLong(Instant instant, Schema schema, LogicalType type)
Overrides org. |
| TimestampMicrosConversion | back to summary |
|---|---|
| public TimestampMicrosConversion() | |
| adjustAndSetValue | back to summary |
|---|---|
| public String adjustAndSetValue(String varName, String valParamName) Overrides org. Doc from org. Certain logical types may require adjusting the code within the "setter" methods to make sure the data that is set is properly formatted. This method allows the Conversion to generate custom setter code if required. | |
| fromLong | back to summary |
|---|---|
| public Instant fromLong(Long microsFromEpoch, Schema schema, LogicalType type) Overrides org.
| |
| getConvertedType | back to summary |
|---|---|
| public Class Implements abstract org. Doc from org. Return the Java class representing the logical type. | |
| getLogicalTypeName | back to summary |
|---|---|
| public String getLogicalTypeName() Implements abstract org. Doc from org. Return the logical type this class converts. | |
| getRecommendedSchema | back to summary |
|---|---|
| public Schema getRecommendedSchema() Overrides org.
| |
| toLong | back to summary |
|---|---|
| public Long toLong(Instant instant, Schema schema, LogicalType type) Overrides org.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | adjustAndSetValue(String
the name of the variable holding the converted value varName, String the name of the parameter with the new converted value valParamName)Overrides org. |
| public Instant | fromLong(Long millisFromEpoch, Schema schema, LogicalType type)
Overrides org. |
| public Class | getConvertedType()
Implements abstract org. |
| public String | getLogicalTypeName()
Implements abstract org. |
| public Schema | |
| public Long | toLong(Instant timestamp, Schema schema, LogicalType type)
Overrides org. |
| TimestampMillisConversion | back to summary |
|---|---|
| public TimestampMillisConversion() | |
| adjustAndSetValue | back to summary |
|---|---|
| public String adjustAndSetValue(String varName, String valParamName) Overrides org. Doc from org. Certain logical types may require adjusting the code within the "setter" methods to make sure the data that is set is properly formatted. This method allows the Conversion to generate custom setter code if required. | |
| fromLong | back to summary |
|---|---|
| public Instant fromLong(Long millisFromEpoch, Schema schema, LogicalType type) Overrides org.
| |
| getConvertedType | back to summary |
|---|---|
| public Class Implements abstract org. Doc from org. Return the Java class representing the logical type. | |
| getLogicalTypeName | back to summary |
|---|---|
| public String getLogicalTypeName() Implements abstract org. Doc from org. Return the logical type this class converts. | |
| getRecommendedSchema | back to summary |
|---|---|
| public Schema getRecommendedSchema() Overrides org.
| |
| toLong | back to summary |
|---|---|
| public Long toLong(Instant timestamp, Schema schema, LogicalType type) Overrides org.
| |