@Public public final class DataField extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_FORMAT_NO_DESCRIPTION |
static String |
FIELD_FORMAT_WITH_DESCRIPTION |
Constructor and Description |
---|
DataField(int id,
String name,
DataType dataType) |
DataField(int id,
String name,
DataType type,
String description) |
Modifier and Type | Method and Description |
---|---|
String |
asSQLString() |
DataField |
copy() |
DataField |
copy(boolean isNullable) |
String |
description() |
boolean |
equals(Object o) |
int |
hashCode() |
int |
id() |
String |
name() |
DataField |
newDescription(String newDescription) |
DataField |
newId(int newid) |
DataField |
newName(String newName) |
void |
serializeJson(org.apache.paimon.shade.jackson2.com.fasterxml.jackson.core.JsonGenerator generator) |
String |
toString() |
DataType |
type() |
public static final String FIELD_FORMAT_WITH_DESCRIPTION
public static final String FIELD_FORMAT_NO_DESCRIPTION
public int id()
public String name()
public DataType type()
public DataField newId(int newid)
public DataField copy()
public DataField copy(boolean isNullable)
public String asSQLString()
public void serializeJson(org.apache.paimon.shade.jackson2.com.fasterxml.jackson.core.JsonGenerator generator) throws IOException
IOException
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.