Package nl.cwi.monetdb.embedded.tables
Class MonetDBTableColumn
java.lang.Object
nl.cwi.monetdb.embedded.mapping.AbstractColumn
nl.cwi.monetdb.embedded.tables.MonetDBTableColumn
public final class MonetDBTableColumn extends AbstractColumn
Java representation of a MonetDB table column.
- Author:
- Pedro Ferreira
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description protected
MonetDBTableColumn(String columnType, String columnName, int columnDigits, int columnScale, String defaultValue, boolean isNullable)
-
Method Summary
Modifier and Type Method Description String
getDefaultValue()
Get the default value if there is one, or null if none.boolean
isNullable()
Get the indication if the column is nullable.Methods inherited from class nl.cwi.monetdb.embedded.mapping.AbstractColumn
getColumnDigits, getColumnInternalTypeName, getColumnName, getColumnScale, getMapping
-
Constructor Details
-
MonetDBTableColumn
protected MonetDBTableColumn(String columnType, String columnName, int columnDigits, int columnScale, String defaultValue, boolean isNullable) throws MonetDBEmbeddedException- Throws:
MonetDBEmbeddedException
-
-
Method Details
-
getDefaultValue
Get the default value if there is one, or null if none.- Returns:
- The default value if there is one, or null if none
-
isNullable
public boolean isNullable()Get the indication if the column is nullable.- Returns:
- The indication if the column is nullable
-