@Public public final class BasicArrayTypeInfo<T,C> extends TypeInformation<T>
| Modifier and Type | Field and Description |
|---|---|
static BasicArrayTypeInfo<Boolean[],Boolean> |
BOOLEAN_ARRAY_TYPE_INFO |
static BasicArrayTypeInfo<Byte[],Byte> |
BYTE_ARRAY_TYPE_INFO |
static BasicArrayTypeInfo<Character[],Character> |
CHAR_ARRAY_TYPE_INFO |
static BasicArrayTypeInfo<Double[],Double> |
DOUBLE_ARRAY_TYPE_INFO |
static BasicArrayTypeInfo<Float[],Float> |
FLOAT_ARRAY_TYPE_INFO |
static BasicArrayTypeInfo<Integer[],Integer> |
INT_ARRAY_TYPE_INFO |
static BasicArrayTypeInfo<Long[],Long> |
LONG_ARRAY_TYPE_INFO |
static BasicArrayTypeInfo<Short[],Short> |
SHORT_ARRAY_TYPE_INFO |
static BasicArrayTypeInfo<String[],String> |
STRING_ARRAY_TYPE_INFO |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEqual(Object obj)
Returns true if the given object can be equaled with this object.
|
TypeSerializer<T> |
createSerializer(ExecutionConfig executionConfig)
Creates a serializer for the type.
|
boolean |
equals(Object obj) |
int |
getArity()
Gets the arity of this type - the number of fields without nesting.
|
TypeInformation<C> |
getComponentInfo() |
Class<C> |
getComponentTypeClass() |
static <X,C> BasicArrayTypeInfo<X,C> |
getInfoFor(Class<X> type) |
int |
getTotalFields()
Gets the number of logical fields in this type.
|
Class<T> |
getTypeClass()
Gets the class of the type represented by this type information.
|
int |
hashCode() |
boolean |
isBasicType()
Checks if this type information represents a basic type.
|
boolean |
isKeyType()
Checks whether this type can be used as a key.
|
boolean |
isTupleType()
Checks if this type information represents a Tuple type.
|
String |
toString() |
getGenericParameters, isSortKeyType, of, ofpublic static final BasicArrayTypeInfo<String[],String> STRING_ARRAY_TYPE_INFO
public static final BasicArrayTypeInfo<Boolean[],Boolean> BOOLEAN_ARRAY_TYPE_INFO
public static final BasicArrayTypeInfo<Byte[],Byte> BYTE_ARRAY_TYPE_INFO
public static final BasicArrayTypeInfo<Short[],Short> SHORT_ARRAY_TYPE_INFO
public static final BasicArrayTypeInfo<Integer[],Integer> INT_ARRAY_TYPE_INFO
public static final BasicArrayTypeInfo<Long[],Long> LONG_ARRAY_TYPE_INFO
public static final BasicArrayTypeInfo<Float[],Float> FLOAT_ARRAY_TYPE_INFO
public static final BasicArrayTypeInfo<Double[],Double> DOUBLE_ARRAY_TYPE_INFO
public static final BasicArrayTypeInfo<Character[],Character> CHAR_ARRAY_TYPE_INFO
@PublicEvolving public boolean isBasicType()
TypeInformationBasicTypeInfo and are primitives, their boxing types,
Strings, Date, Void, ...isBasicType in class TypeInformation<T>@PublicEvolving public boolean isTupleType()
TypeInformationisTupleType in class TypeInformation<T>@PublicEvolving public int getArity()
TypeInformationgetArity in class TypeInformation<T>@PublicEvolving public int getTotalFields()
TypeInformationgetTotalFields in class TypeInformation<T>@PublicEvolving public Class<T> getTypeClass()
TypeInformationgetTypeClass in class TypeInformation<T>@PublicEvolving public TypeInformation<C> getComponentInfo()
@PublicEvolving public boolean isKeyType()
TypeInformationisKeyType in class TypeInformation<T>@PublicEvolving public TypeSerializer<T> createSerializer(ExecutionConfig executionConfig)
TypeInformationcreateSerializer in class TypeInformation<T>executionConfig - The config used to parameterize the serializer.public boolean equals(Object obj)
equals in class TypeInformation<T>public int hashCode()
hashCode in class TypeInformation<T>public boolean canEqual(Object obj)
TypeInformationcanEqual in class TypeInformation<T>obj - Object which wants to take part in the equality relationpublic String toString()
toString in class TypeInformation<T>@PublicEvolving public static <X,C> BasicArrayTypeInfo<X,C> getInfoFor(Class<X> type)
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.