public interface ColumnSource extends RelationalValueSource
RelationalValueSource.Nature
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCheckCondition()
Obtain the specified check constraint condition
|
java.lang.String |
getComment()
Obtain the specified SQL comment
|
JdbcDataType |
getDatatype()
The deduced (and dialect convertible) type for this column
|
java.lang.String |
getDefaultValue()
Obtain a specified default value for the column
|
java.util.Set<java.lang.String> |
getIndexConstraintNames() |
java.lang.String |
getName()
Obtain the name of the column.
|
java.lang.String |
getReadFragment()
A SQL fragment to apply to the column value on read.
|
SizeSource |
getSizeSource()
Obtain the source for the specified column size.
|
java.lang.String |
getSqlType()
Obtain the free-hand definition of the column's type.
|
java.util.Set<java.lang.String> |
getUniqueKeyConstraintNames() |
java.lang.String |
getWriteFragment()
A SQL fragment to apply to the column value on write.
|
TruthValue |
isNullable()
Is this column nullable?
|
boolean |
isUnique()
Is this column unique?
|
getContainingTableName, getNature
java.lang.String getName()
null
, in which case a naming strategy is applied.java.lang.String getReadFragment()
java.lang.String getWriteFragment()
TruthValue isNullable()
true
indicates it is nullable; false
non-nullable.java.lang.String getDefaultValue()
java.lang.String getSqlType()
JdbcDataType getDatatype()
SizeSource getSizeSource()
boolean isUnique()
true
indicates it is unique; false
non-unique.java.lang.String getCheckCondition()
java.lang.String getComment()
java.util.Set<java.lang.String> getIndexConstraintNames()
java.util.Set<java.lang.String> getUniqueKeyConstraintNames()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.