public static class ProtoConversions.TimestampMicrosConversion extends Conversion<com.google.protobuf.Timestamp>
| Constructor and Description | 
|---|
TimestampMicrosConversion()  | 
| Modifier and Type | Method and Description | 
|---|---|
com.google.protobuf.Timestamp | 
fromLong(Long microsFromEpoch,
        Schema schema,
        LogicalType type)  | 
Class<com.google.protobuf.Timestamp> | 
getConvertedType()
Return the Java class representing the logical type. 
 | 
String | 
getLogicalTypeName()
Return the logical type this class converts. 
 | 
Schema | 
getRecommendedSchema()  | 
Long | 
toLong(com.google.protobuf.Timestamp value,
      Schema schema,
      LogicalType type)  | 
adjustAndSetValue, fromArray, fromBoolean, fromBytes, fromCharSequence, fromDouble, fromEnumSymbol, fromFixed, fromFloat, fromInt, fromMap, fromRecord, toArray, toBoolean, toBytes, toCharSequence, toDouble, toEnumSymbol, toFixed, toFloat, toInt, toMap, toRecordpublic Class<com.google.protobuf.Timestamp> getConvertedType()
ConversiongetConvertedType in class Conversion<com.google.protobuf.Timestamp>public String getLogicalTypeName()
ConversiongetLogicalTypeName in class Conversion<com.google.protobuf.Timestamp>public com.google.protobuf.Timestamp fromLong(Long microsFromEpoch, Schema schema, LogicalType type) throws IllegalArgumentException
fromLong in class Conversion<com.google.protobuf.Timestamp>IllegalArgumentExceptionpublic Long toLong(com.google.protobuf.Timestamp value, Schema schema, LogicalType type)
toLong in class Conversion<com.google.protobuf.Timestamp>public Schema getRecommendedSchema()
getRecommendedSchema in class Conversion<com.google.protobuf.Timestamp>Copyright © 2009–2019 The Apache Software Foundation. All rights reserved.