Package org.apache.derby.catalog
Interface DefaultInfo
- All Known Implementing Classes:
DefaultInfoImpl
public interface DefaultInfo
An interface for describing a default for a column or parameter in Derby systems.
-
Method Summary
Modifier and TypeMethodDescriptionGet the text of a default.Return the name of the current schema when the default was created.String[]
If this default is a generation clause, then return the names of other columns in the row which the generation clause references.boolean
Is default value generated by auto increment?boolean
Return true if this is the generation clause for a generated column.
-
Method Details
-
getDefaultText
String getDefaultText()Get the text of a default.- Returns:
- The text of the default.
-
getReferencedColumnNames
String[] getReferencedColumnNames()If this default is a generation clause, then return the names of other columns in the row which the generation clause references. -
isDefaultValueAutoinc
boolean isDefaultValueAutoinc()Is default value generated by auto increment?- Returns:
- true if always generated by auto increment.
-
isGeneratedColumn
boolean isGeneratedColumn()Return true if this is the generation clause for a generated column. -
getOriginalCurrentSchema
String getOriginalCurrentSchema()Return the name of the current schema when the default was created. This is filled in for generated columns.
-