@Internal public class MapViewSpec extends DataViewSpec
MapView
.Constructor and Description |
---|
MapViewSpec(String stateId,
int fieldIndex,
DataType dataType,
boolean containsNullKey) |
MapViewSpec(String stateId,
int fieldIndex,
DataType dataType,
boolean containsNullKey,
TypeSerializer<?> keySerializer,
TypeSerializer<?> valueSerializer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsNullKey() |
DataType |
getKeyDataType() |
Optional<TypeSerializer<?>> |
getKeySerializer() |
DataType |
getValueDataType() |
Optional<TypeSerializer<?>> |
getValueSerializer() |
getDataType, getFieldIndex, getStateId
public MapViewSpec(String stateId, int fieldIndex, DataType dataType, boolean containsNullKey)
@Deprecated public MapViewSpec(String stateId, int fieldIndex, DataType dataType, boolean containsNullKey, TypeSerializer<?> keySerializer, TypeSerializer<?> valueSerializer)
public DataType getKeyDataType()
public DataType getValueDataType()
public Optional<TypeSerializer<?>> getKeySerializer()
public Optional<TypeSerializer<?>> getValueSerializer()
public boolean containsNullKey()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.