org.melati.poem.dbms
Class MySQL.BlobPoemType
java.lang.Object
org.melati.poem.BasePoemType<T>
org.melati.poem.AtomPoemType
org.melati.poem.SizedAtomPoemType
org.melati.poem.BinaryPoemType
org.melati.poem.dbms.MySQL.BlobPoemType
- All Implemented Interfaces:
- Cloneable, PoemType, SQLPoemType, SQLType
- Enclosing class:
- MySQL
public static class MySQL.BlobPoemType
- extends BinaryPoemType
Translates a MySQL Blob into a Poem IntegerPoemType
.
Methods inherited from class org.melati.poem.BasePoemType |
_possibleRaws, assertValidCooked, assertValidRaw, clone, cookedOfRaw, getLimitRaw, getLowRaw, getNullable, getRaw, possibleRaws, quotedRaw, rawOfCooked, rawOfString, saveColumnInfo, setRaw, setRawRange, sqlDefinition, sqlTypeCode, sqlTypeDefinition, stringOfCooked, stringOfRaw, withNullable |
MySQL.BlobPoemType
public MySQL.BlobPoemType(boolean nullable,
int size)
- Constructor.
- Parameters:
nullable
- whether nullablesize
- size
_canRepresent
protected boolean _canRepresent(SQLPoemType other)
- Overrides:
_canRepresent
in class BinaryPoemType
canRepresent
public PoemType<?> canRepresent(PoemType other)
- Return a PoemType which can can represent another,
or null.
- Specified by:
canRepresent
in interface PoemType
- Overrides:
canRepresent
in class BasePoemType
- Parameters:
other
- the other type to check
- Returns:
- the other or null
- See Also:
BasePoemType.canRepresent(PoemType)
Copyright © 2000-2010 PanEris. All Rights Reserved.