@Public public class BinaryType extends DataType
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_LENGTH |
static int |
MAX_LENGTH |
static int |
MIN_LENGTH |
| Constructor and Description |
|---|
BinaryType() |
BinaryType(boolean isNullable,
int length) |
BinaryType(int length) |
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(DataTypeVisitor<R> visitor) |
String |
asSQLString()
Returns a string that summarizes this type as SQL standard string for printing to a console.
|
DataType |
copy(boolean isNullable)
Returns a deep copy of this type with possibly different nullability.
|
boolean |
equals(Object o) |
int |
getLength() |
int |
hashCode() |
collectFieldIds, copy, equalsIgnoreNullable, getTypeRoot, is, is, isAnyOf, isAnyOf, isNullable, notNull, nullable, serializeJson, toString, withNullabilitypublic static final int MIN_LENGTH
public static final int MAX_LENGTH
public static final int DEFAULT_LENGTH
public BinaryType(boolean isNullable,
int length)
public BinaryType(int length)
public BinaryType()
public int getLength()
public DataType copy(boolean isNullable)
DataTypepublic String asSQLString()
DataTypeasSQLString in class DataTypepublic <R> R accept(DataTypeVisitor<R> visitor)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.