Package org.apache.flink.table.dataview
Class ListViewTypeInfo<T>
- java.lang.Object
-
- org.apache.flink.api.common.typeinfo.TypeInformation<ListView<T>>
-
- org.apache.flink.table.dataview.ListViewTypeInfo<T>
-
- Type Parameters:
T
- element type
- All Implemented Interfaces:
Serializable
@Internal @Deprecated public class ListViewTypeInfo<T> extends TypeInformation<ListView<T>>
Deprecated.Type information forListView
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListViewTypeInfo(TypeInformation<T> elementType)
Deprecated.ListViewTypeInfo(TypeInformation<T> elementType, boolean nullSerializer)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
canEqual(Object obj)
Deprecated.Returns true if the given object can be equaled with this object.TypeSerializer<ListView<T>>
createSerializer(SerializerConfig config)
Deprecated.Creates a serializer for the type.boolean
equals(Object obj)
Deprecated.int
getArity()
Deprecated.Gets the arity of this type - the number of fields without nesting.TypeInformation<T>
getElementType()
Deprecated.int
getTotalFields()
Deprecated.Gets the number of logical fields in this type.Class<ListView<T>>
getTypeClass()
Deprecated.Gets the class of the type represented by this type information.int
hashCode()
Deprecated.boolean
isBasicType()
Deprecated.Checks if this type information represents a basic type.boolean
isKeyType()
Deprecated.Checks whether this type can be used as a key.boolean
isNullSerializer()
Deprecated.boolean
isTupleType()
Deprecated.Checks if this type information represents a Tuple type.void
setNullSerializer(boolean nullSerializer)
Deprecated.String
toString()
Deprecated.-
Methods inherited from class org.apache.flink.api.common.typeinfo.TypeInformation
getGenericParameters, isSortKeyType, of, of
-
-
-
-
Constructor Detail
-
ListViewTypeInfo
public ListViewTypeInfo(TypeInformation<T> elementType, boolean nullSerializer)
Deprecated.
-
ListViewTypeInfo
public ListViewTypeInfo(TypeInformation<T> elementType)
Deprecated.
-
-
Method Detail
-
getElementType
public TypeInformation<T> getElementType()
Deprecated.
-
isNullSerializer
public boolean isNullSerializer()
Deprecated.
-
setNullSerializer
public void setNullSerializer(boolean nullSerializer)
Deprecated.
-
isBasicType
public boolean isBasicType()
Deprecated.Description copied from class:TypeInformation
Checks if this type information represents a basic type. Basic types are defined inBasicTypeInfo
and are primitives, their boxing types, Strings, Date, Void, ...- Specified by:
isBasicType
in classTypeInformation<ListView<T>>
- Returns:
- True, if this type information describes a basic type, false otherwise.
-
isTupleType
public boolean isTupleType()
Deprecated.Description copied from class:TypeInformation
Checks if this type information represents a Tuple type. Tuple types are subclasses of the Java API tuples.- Specified by:
isTupleType
in classTypeInformation<ListView<T>>
- Returns:
- True, if this type information describes a tuple type, false otherwise.
-
getArity
public int getArity()
Deprecated.Description copied from class:TypeInformation
Gets the arity of this type - the number of fields without nesting.- Specified by:
getArity
in classTypeInformation<ListView<T>>
- Returns:
- Gets the number of fields in this type without nesting.
-
getTotalFields
public int getTotalFields()
Deprecated.Description copied from class:TypeInformation
Gets the number of logical fields in this type. This includes its nested and transitively nested fields, in the case of composite types. In the example above, the OuterType type has three fields in total.The total number of fields must be at least 1.
- Specified by:
getTotalFields
in classTypeInformation<ListView<T>>
- Returns:
- The number of fields in this type, including its sub-fields (for composite types)
-
getTypeClass
public Class<ListView<T>> getTypeClass()
Deprecated.Description copied from class:TypeInformation
Gets the class of the type represented by this type information.- Specified by:
getTypeClass
in classTypeInformation<ListView<T>>
- Returns:
- The class of the type represented by this type information.
-
isKeyType
public boolean isKeyType()
Deprecated.Description copied from class:TypeInformation
Checks whether this type can be used as a key. As a bare minimum, types have to be hashable and comparable to be keys.- Specified by:
isKeyType
in classTypeInformation<ListView<T>>
- Returns:
- True, if the type can be used as a key, false otherwise.
-
createSerializer
public TypeSerializer<ListView<T>> createSerializer(SerializerConfig config)
Deprecated.Description copied from class:TypeInformation
Creates a serializer for the type. The serializer may use the ExecutionConfig for parameterization.- Specified by:
createSerializer
in classTypeInformation<ListView<T>>
- Parameters:
config
- The config used to parameterize the serializer.- Returns:
- A serializer for this type.
-
toString
public String toString()
Deprecated.- Specified by:
toString
in classTypeInformation<ListView<T>>
-
equals
public boolean equals(Object obj)
Deprecated.- Specified by:
equals
in classTypeInformation<ListView<T>>
-
hashCode
public int hashCode()
Deprecated.- Specified by:
hashCode
in classTypeInformation<ListView<T>>
-
canEqual
public boolean canEqual(Object obj)
Deprecated.Description copied from class:TypeInformation
Returns true if the given object can be equaled with this object. If not, it returns false.- Specified by:
canEqual
in classTypeInformation<ListView<T>>
- Parameters:
obj
- Object which wants to take part in the equality relation- Returns:
- true if obj can be equaled with this, otherwise false
-
-