@PublicEvolving public final class ArrayType extends DataType
Integer.MAX_VALUE. Also, any
valid type is supported as a subtype.| 构造器和说明 |
|---|
ArrayType(boolean isNullable,
DataType elementType) |
ArrayType(DataType elementType) |
| 限定符和类型 | 方法和说明 |
|---|---|
<R> R |
accept(DataTypeVisitor<R> visitor) |
String |
asSerializableString()
Returns a string that fully serializes this instance.
|
String |
asSummaryString()
Returns a string that summarizes this type for printing to a console.
|
DataType |
copy(boolean isNullable)
Returns a deep copy of this type with possibly different nullability.
|
boolean |
equals(Object o) |
List<DataType> |
getChildren() |
DataType |
getElementType() |
int |
hashCode() |
copy, getTypeRoot, is, is, isAnyOf, isAnyOf, isNullable, notNull, nullable, toString, withNullabilitypublic ArrayType(boolean isNullable,
DataType elementType)
public ArrayType(DataType elementType)
public DataType getElementType()
public DataType copy(boolean isNullable)
DataTypepublic String asSummaryString()
DataTypeUse DataType.asSerializableString() for a type string that fully serializes this instance.
asSummaryString 在类中 DataTypepublic String asSerializableString()
DataTypeasSerializableString 在类中 DataTypepublic List<DataType> getChildren()
getChildren 在类中 DataTypepublic <R> R accept(DataTypeVisitor<R> visitor)
Copyright © 2025 The Apache Software Foundation. All rights reserved.