public static class TimeConversions.TimeMicrosConversion extends Conversion<LocalTime>
| Constructor and Description | 
|---|
| TimeMicrosConversion() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | adjustAndSetValue(String varName,
                 String valParamName)Certain logical types may require adjusting the code within the "setter"
 methods to make sure the data that is set is properly formatted. | 
| LocalTime | fromLong(Long microsFromMidnight,
        Schema schema,
        LogicalType type) | 
| Class<LocalTime> | getConvertedType()Return the Java class representing the logical type. | 
| String | getLogicalTypeName()Return the logical type this class converts. | 
| Schema | getRecommendedSchema() | 
| Long | toLong(LocalTime time,
      Schema schema,
      LogicalType type) | 
fromArray, fromBoolean, fromBytes, fromCharSequence, fromDouble, fromEnumSymbol, fromFixed, fromFloat, fromInt, fromMap, fromRecord, toArray, toBoolean, toBytes, toCharSequence, toDouble, toEnumSymbol, toFixed, toFloat, toInt, toMap, toRecordpublic Class<LocalTime> getConvertedType()
ConversiongetConvertedType in class Conversion<LocalTime>public String getLogicalTypeName()
ConversiongetLogicalTypeName in class Conversion<LocalTime>public String adjustAndSetValue(String varName, String valParamName)
ConversionadjustAndSetValue in class Conversion<LocalTime>public LocalTime fromLong(Long microsFromMidnight, Schema schema, LogicalType type)
fromLong in class Conversion<LocalTime>public Long toLong(LocalTime time, Schema schema, LogicalType type)
toLong in class Conversion<LocalTime>public Schema getRecommendedSchema()
getRecommendedSchema in class Conversion<LocalTime>Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.