public class ObjectArrayTypeInfo<T,C>
extends org.apache.flink.api.common.typeinfo.TypeInformation<T>
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.api.common.typeutils.TypeSerializer<T> |
createSerializer(org.apache.flink.api.common.ExecutionConfig executionConfig) |
boolean |
equals(Object o) |
int |
getArity() |
org.apache.flink.api.common.typeinfo.TypeInformation<C> |
getComponentInfo() |
Type |
getComponentType() |
static <T,C> ObjectArrayTypeInfo<T,C> |
getInfoFor(Type type) |
static <T,C> ObjectArrayTypeInfo<T,C> |
getInfoFor(org.apache.flink.api.common.typeinfo.TypeInformation<C> componentInfo)
Creates a new
ObjectArrayTypeInfo from a
TypeInformation for the component type. |
static <T,C> ObjectArrayTypeInfo<T,C> |
getInfoFor(Type type,
org.apache.flink.api.common.typeinfo.TypeInformation<C> componentInfo) |
int |
getTotalFields() |
Type |
getType() |
Class<T> |
getTypeClass() |
int |
hashCode() |
boolean |
isBasicType() |
boolean |
isKeyType() |
boolean |
isTupleType() |
String |
toString() |
public boolean isBasicType()
isBasicType in class org.apache.flink.api.common.typeinfo.TypeInformation<T>public boolean isTupleType()
isTupleType in class org.apache.flink.api.common.typeinfo.TypeInformation<T>public int getArity()
getArity in class org.apache.flink.api.common.typeinfo.TypeInformation<T>public int getTotalFields()
getTotalFields in class org.apache.flink.api.common.typeinfo.TypeInformation<T>public Class<T> getTypeClass()
getTypeClass in class org.apache.flink.api.common.typeinfo.TypeInformation<T>public Type getType()
public Type getComponentType()
public org.apache.flink.api.common.typeinfo.TypeInformation<C> getComponentInfo()
public boolean isKeyType()
isKeyType in class org.apache.flink.api.common.typeinfo.TypeInformation<T>public org.apache.flink.api.common.typeutils.TypeSerializer<T> createSerializer(org.apache.flink.api.common.ExecutionConfig executionConfig)
createSerializer in class org.apache.flink.api.common.typeinfo.TypeInformation<T>public static <T,C> ObjectArrayTypeInfo<T,C> getInfoFor(Type type, org.apache.flink.api.common.typeinfo.TypeInformation<C> componentInfo)
public static <T,C> ObjectArrayTypeInfo<T,C> getInfoFor(org.apache.flink.api.common.typeinfo.TypeInformation<C> componentInfo)
ObjectArrayTypeInfo from a
TypeInformation for the component type.
This must be used in cases where the complete type of the array is not available as a
Type or Class.
public static <T,C> ObjectArrayTypeInfo<T,C> getInfoFor(Type type)
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.