public interface BinaryColumn extends Column
Interface of a column with datatype Column.Type.BINARY
or Column.Type.VARBINARY
.
Column.Name, Column.Type
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getLength()
If the column has fixed length: Returns the columns length.
|
boolean |
hasFixedLength()
Returns whether the column has fixed or variable length.
|
void |
setLength(long pLength)
Shortcut for
setLength(new Integer(pLength)) . |
void |
setLength(java.lang.Long pLength)
If the column has fixed length: Sets the columns length.
|
getCustomData, getName, getQName, getTable, getType, isBinaryColumn, isNullable, isPrimaryKeyPart, isStringColumn, isVirtual, setCustomData, setNullable
boolean hasFixedLength()
Returns whether the column has fixed or variable length.
void setLength(java.lang.Long pLength)
If the column has fixed length: Sets the columns length. Otherwise sets the columns maximum length.
void setLength(long pLength)
Shortcut for setLength(new Integer(pLength))
.
java.lang.Long getLength()
If the column has fixed length: Returns the columns length. Otherwise returns the columns maximum length.