public final class ColumnMetadata extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ColumnMetadata.Builder
Builder for
ColumnMetadata |
| Modifier and Type | Method and Description |
|---|---|
static ColumnMetadata.Builder |
builder()
Create a new builder for
ColumnMetadata |
boolean |
equals(Object o) |
String |
getAdapterNotes()
Get the adapter notes
|
String |
getComment()
Get the comment associated with the column
|
String |
getDefaultValue()
Get the default value
|
String |
getName()
Get the column name
|
String |
getOriginalTypeName()
Get the original name of the type as it was used in the JDBC driver of the remote data source
|
DataType |
getType()
Get the column's data type
|
boolean |
hasComment()
Check if a comment is associated with the column
|
boolean |
hasDefault()
Check if a default value is defined for the column
|
int |
hashCode() |
boolean |
isIdentity()
Check if the column supports auto-increment
|
boolean |
isNullable()
Check if the column is nullable
|
String |
toString() |
public String getName()
public String getAdapterNotes()
public DataType getType()
public boolean isNullable()
true if the column can contain NULLpublic boolean isIdentity()
true if the column contains an auto-incrementing IDpublic boolean hasDefault()
true if a default value is defined for the columnpublic String getDefaultValue()
public boolean hasComment()
true if the column has a commentpublic String getComment()
public String getOriginalTypeName()
public static ColumnMetadata.Builder builder()
ColumnMetadataCopyright © 2019. All rights reserved.