public class MissingTypeInfo extends TypeInformation<InvalidTypesException>
Constructor and Description |
---|
MissingTypeInfo(String functionName) |
MissingTypeInfo(String functionName,
InvalidTypesException typeException) |
Modifier and Type | Method and Description |
---|---|
boolean |
canEqual(Object obj)
Returns true if the given object can be equaled with this object.
|
TypeSerializer<InvalidTypesException> |
createSerializer(ExecutionConfig config)
Create
TypeSerializer for this type. |
TypeSerializer<InvalidTypesException> |
createSerializer(SerializerConfig serializerConfig)
Creates a serializer for the type.
|
boolean |
equals(Object obj) |
int |
getArity()
Gets the arity of this type - the number of fields without nesting.
|
String |
getFunctionName() |
int |
getTotalFields()
Gets the number of logical fields in this type.
|
Class<InvalidTypesException> |
getTypeClass()
Gets the class of the type represented by this type information.
|
InvalidTypesException |
getTypeException() |
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, of
public MissingTypeInfo(String functionName)
public MissingTypeInfo(String functionName, InvalidTypesException typeException)
public String getFunctionName()
public InvalidTypesException getTypeException()
public boolean isBasicType()
TypeInformation
BasicTypeInfo
and are primitives, their boxing types, Strings, Date, Void, ...isBasicType
in class TypeInformation<InvalidTypesException>
public boolean isTupleType()
TypeInformation
isTupleType
in class TypeInformation<InvalidTypesException>
public int getArity()
TypeInformation
getArity
in class TypeInformation<InvalidTypesException>
public Class<InvalidTypesException> getTypeClass()
TypeInformation
getTypeClass
in class TypeInformation<InvalidTypesException>
public boolean isKeyType()
TypeInformation
isKeyType
in class TypeInformation<InvalidTypesException>
public TypeSerializer<InvalidTypesException> createSerializer(SerializerConfig serializerConfig)
TypeInformation
createSerializer
in class TypeInformation<InvalidTypesException>
serializerConfig
- The config used to parameterize the serializer.public TypeSerializer<InvalidTypesException> createSerializer(ExecutionConfig config)
TypeInformation
TypeSerializer
for this type.createSerializer
in class TypeInformation<InvalidTypesException>
config
- the configuration of this job executionpublic String toString()
toString
in class TypeInformation<InvalidTypesException>
public boolean equals(Object obj)
equals
in class TypeInformation<InvalidTypesException>
public int hashCode()
hashCode
in class TypeInformation<InvalidTypesException>
public boolean canEqual(Object obj)
TypeInformation
canEqual
in class TypeInformation<InvalidTypesException>
obj
- Object which wants to take part in the equality relationpublic int getTotalFields()
TypeInformation
The total number of fields must be at least 1.
getTotalFields
in class TypeInformation<InvalidTypesException>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.