T
- The type of the elements in the Multiset.@PublicEvolving public final class MultisetTypeInfo<T> extends MapTypeInfo<T,Integer>
TypeInformation
for the Multiset types of the Java API.Constructor and Description |
---|
MultisetTypeInfo(Class<T> elementTypeClass) |
MultisetTypeInfo(TypeInformation<T> elementTypeInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
canEqual(Object obj)
Returns true if the given object can be equaled with this object.
|
boolean |
equals(Object obj) |
TypeInformation<T> |
getElementTypeInfo()
Gets the type information for the elements contained in the Multiset
|
static <C> MultisetTypeInfo<C> |
getInfoFor(TypeInformation<C> componentInfo) |
int |
hashCode() |
String |
toString() |
createSerializer, getArity, getKeyTypeInfo, getTotalFields, getTypeClass, getValueTypeInfo, isBasicType, isKeyType, isTupleType
getGenericParameters, isSortKeyType, of, of
public MultisetTypeInfo(TypeInformation<T> elementTypeInfo)
public TypeInformation<T> getElementTypeInfo()
public String toString()
toString
in class MapTypeInfo<T,Integer>
public boolean equals(Object obj)
equals
in class MapTypeInfo<T,Integer>
public int hashCode()
hashCode
in class MapTypeInfo<T,Integer>
public boolean canEqual(Object obj)
TypeInformation
canEqual
in class MapTypeInfo<T,Integer>
obj
- Object which wants to take part in the equality relation@PublicEvolving public static <C> MultisetTypeInfo<C> getInfoFor(TypeInformation<C> componentInfo)
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.