T - The type represented by this type information.public class EnumTypeInfo<T extends Enum<T>>
extends org.apache.flink.api.common.typeinfo.TypeInformation<T>
implements org.apache.flink.api.common.typeinfo.AtomicType<T>
TypeInformation for java enumeration types.| Constructor and Description |
|---|
EnumTypeInfo(Class<T> typeClass) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.common.typeutils.TypeComparator<T> |
createComparator(boolean sortOrderAscending,
org.apache.flink.api.common.ExecutionConfig executionConfig) |
org.apache.flink.api.common.typeutils.TypeSerializer<T> |
createSerializer(org.apache.flink.api.common.ExecutionConfig executionConfig) |
boolean |
equals(Object obj) |
int |
getArity() |
int |
getTotalFields() |
Class<T> |
getTypeClass() |
int |
hashCode() |
boolean |
isBasicType() |
boolean |
isKeyType() |
boolean |
isTupleType() |
String |
toString() |
public org.apache.flink.api.common.typeutils.TypeComparator<T> createComparator(boolean sortOrderAscending, org.apache.flink.api.common.ExecutionConfig executionConfig)
public boolean isBasicType()
public boolean isTupleType()
public int getArity()
public int getTotalFields()
public boolean isKeyType()
public org.apache.flink.api.common.typeutils.TypeSerializer<T> createSerializer(org.apache.flink.api.common.ExecutionConfig executionConfig)
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.