public class ProtobufTypeInformation<M extends com.google.protobuf.Message>
extends org.apache.flink.api.common.typeinfo.TypeInformation<M>
Constructor and Description |
---|
ProtobufTypeInformation(java.lang.Class<M> messageTypeClass) |
Modifier and Type | Method and Description |
---|---|
boolean |
canEqual(java.lang.Object obj) |
org.apache.flink.api.common.typeutils.TypeSerializer<M> |
createSerializer(org.apache.flink.api.common.ExecutionConfig config) |
boolean |
equals(java.lang.Object o) |
int |
getArity() |
int |
getTotalFields() |
java.lang.Class<M> |
getTypeClass() |
int |
hashCode() |
boolean |
isBasicType() |
boolean |
isKeyType() |
boolean |
isTupleType() |
java.lang.String |
toString() |
public ProtobufTypeInformation(java.lang.Class<M> messageTypeClass)
public boolean isBasicType()
isBasicType
in class org.apache.flink.api.common.typeinfo.TypeInformation<M extends com.google.protobuf.Message>
public boolean isTupleType()
isTupleType
in class org.apache.flink.api.common.typeinfo.TypeInformation<M extends com.google.protobuf.Message>
public int getArity()
getArity
in class org.apache.flink.api.common.typeinfo.TypeInformation<M extends com.google.protobuf.Message>
public int getTotalFields()
getTotalFields
in class org.apache.flink.api.common.typeinfo.TypeInformation<M extends com.google.protobuf.Message>
public java.lang.Class<M> getTypeClass()
getTypeClass
in class org.apache.flink.api.common.typeinfo.TypeInformation<M extends com.google.protobuf.Message>
public boolean isKeyType()
isKeyType
in class org.apache.flink.api.common.typeinfo.TypeInformation<M extends com.google.protobuf.Message>
public org.apache.flink.api.common.typeutils.TypeSerializer<M> createSerializer(org.apache.flink.api.common.ExecutionConfig config)
createSerializer
in class org.apache.flink.api.common.typeinfo.TypeInformation<M extends com.google.protobuf.Message>
public java.lang.String toString()
toString
in class org.apache.flink.api.common.typeinfo.TypeInformation<M extends com.google.protobuf.Message>
public boolean equals(java.lang.Object o)
equals
in class org.apache.flink.api.common.typeinfo.TypeInformation<M extends com.google.protobuf.Message>
public int hashCode()
hashCode
in class org.apache.flink.api.common.typeinfo.TypeInformation<M extends com.google.protobuf.Message>
public boolean canEqual(java.lang.Object obj)
canEqual
in class org.apache.flink.api.common.typeinfo.TypeInformation<M extends com.google.protobuf.Message>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.