CommT - The committable type of the Committer.@Internal
public final class CommittableTypeInformation<CommT>
extends org.apache.flink.api.common.typeinfo.TypeInformation<CommT>
TypeInformation for Sink's committable,
which uses the SimpleVersionedSerializer to serialize the object.
This should not be used as a general TypeInformation. It's meant to be used by sink's
operators.
| Constructor and Description |
|---|
CommittableTypeInformation(Class<CommT> typeClazz,
org.apache.flink.util.function.SerializableSupplier<org.apache.flink.core.io.SimpleVersionedSerializer<CommT>> serializerSerializableSupplier) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEqual(Object obj) |
org.apache.flink.api.common.typeutils.TypeSerializer<CommT> |
createSerializer(org.apache.flink.api.common.ExecutionConfig config) |
boolean |
equals(Object o) |
int |
getArity() |
int |
getTotalFields() |
Class<CommT> |
getTypeClass() |
int |
hashCode() |
boolean |
isBasicType() |
boolean |
isKeyType() |
boolean |
isTupleType() |
String |
toString() |
public boolean isBasicType()
isBasicType in class org.apache.flink.api.common.typeinfo.TypeInformation<CommT>public boolean isTupleType()
isTupleType in class org.apache.flink.api.common.typeinfo.TypeInformation<CommT>public int getArity()
getArity in class org.apache.flink.api.common.typeinfo.TypeInformation<CommT>public int getTotalFields()
getTotalFields in class org.apache.flink.api.common.typeinfo.TypeInformation<CommT>public Class<CommT> getTypeClass()
getTypeClass in class org.apache.flink.api.common.typeinfo.TypeInformation<CommT>public boolean isKeyType()
isKeyType in class org.apache.flink.api.common.typeinfo.TypeInformation<CommT>public org.apache.flink.api.common.typeutils.TypeSerializer<CommT> createSerializer(org.apache.flink.api.common.ExecutionConfig config)
createSerializer in class org.apache.flink.api.common.typeinfo.TypeInformation<CommT>public String toString()
toString in class org.apache.flink.api.common.typeinfo.TypeInformation<CommT>public boolean equals(Object o)
equals in class org.apache.flink.api.common.typeinfo.TypeInformation<CommT>public int hashCode()
hashCode in class org.apache.flink.api.common.typeinfo.TypeInformation<CommT>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.