@Public public class MultisetType extends DataType
NULL) is mapped to some
multiplicity. There is no restriction of element types; it is the responsibility of the user to
ensure uniqueness.
A conversion is possible through a map that assigns each value to an integer multiplicity
(Map<t, Integer>).
| 构造器和说明 |
|---|
MultisetType(boolean isNullable,
DataType elementType) |
MultisetType(DataType elementType) |
| 限定符和类型 | 方法和说明 |
|---|---|
<R> R |
accept(DataTypeVisitor<R> visitor) |
String |
asSQLString()
Returns a string that summarizes this type as SQL standard string for printing to a console.
|
void |
collectFieldIds(Set<Integer> fieldIds) |
DataType |
copy(boolean isNullable)
Returns a deep copy of this type with possibly different nullability.
|
boolean |
equals(Object o) |
DataType |
getElementType() |
int |
hashCode() |
void |
serializeJson(org.apache.paimon.shade.jackson2.com.fasterxml.jackson.core.JsonGenerator generator) |
copy, equalsIgnoreNullable, getTypeRoot, is, is, isAnyOf, isAnyOf, isNullable, notNull, nullable, toString, withNullabilitypublic MultisetType(boolean isNullable,
DataType elementType)
public MultisetType(DataType elementType)
public DataType getElementType()
public DataType copy(boolean isNullable)
DataTypepublic String asSQLString()
DataTypeasSQLString 在类中 DataTypepublic void serializeJson(org.apache.paimon.shade.jackson2.com.fasterxml.jackson.core.JsonGenerator generator)
throws IOException
serializeJson 在类中 DataTypeIOExceptionpublic <R> R accept(DataTypeVisitor<R> visitor)
public void collectFieldIds(Set<Integer> fieldIds)
collectFieldIds 在类中 DataTypeCopyright © 2023 The Apache Software Foundation. All rights reserved.