Class MapViewSpec
- java.lang.Object
-
- org.apache.flink.table.runtime.dataview.DataViewSpec
-
- org.apache.flink.table.runtime.dataview.MapViewSpec
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DataViewUtils.DistinctViewSpec
@Internal public class MapViewSpec extends DataViewSpec
Specification for aMapView
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MapViewSpec(String stateId, int fieldIndex, DataType dataType, boolean containsNullKey)
MapViewSpec(String stateId, int fieldIndex, DataType dataType, boolean containsNullKey, TypeSerializer<?> keySerializer, TypeSerializer<?> valueSerializer)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsNullKey()
DataType
getKeyDataType()
Optional<TypeSerializer<?>>
getKeySerializer()
DataType
getValueDataType()
Optional<TypeSerializer<?>>
getValueSerializer()
-
Methods inherited from class org.apache.flink.table.runtime.dataview.DataViewSpec
getDataType, getFieldIndex, getStateId
-
-
-
-
Constructor Detail
-
MapViewSpec
public MapViewSpec(String stateId, int fieldIndex, DataType dataType, boolean containsNullKey)
-
MapViewSpec
@Deprecated public MapViewSpec(String stateId, int fieldIndex, DataType dataType, boolean containsNullKey, TypeSerializer<?> keySerializer, TypeSerializer<?> valueSerializer)
Deprecated.
-
-
Method Detail
-
getKeyDataType
public DataType getKeyDataType()
-
getValueDataType
public DataType getValueDataType()
-
getKeySerializer
public Optional<TypeSerializer<?>> getKeySerializer()
-
getValueSerializer
public Optional<TypeSerializer<?>> getValueSerializer()
-
containsNullKey
public boolean containsNullKey()
-
-