public abstract class SizedAtomPoemType<T> extends AtomPoemType<T>
AtomPoemType with a size.| Constructor and Description |
|---|
SizedAtomPoemType(int sqlTypeCode,
String sqlTypeName,
boolean nullable,
int size)
Constructor with size.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getSize() |
static boolean |
sizeGreaterEqual(int sizeA,
int sizeB)
Compare sizes, taking into account magic value -1.
|
SizedAtomPoemType<T> |
withSize(int newSize) |
sqlDefaultValueassertValidCooked, assertValidRaw, canRepresent, cookedOfRaw, getNullable, getRaw, possibleRaws, quotedRaw, rawOfCooked, rawOfString, saveColumnInfo, setRaw, setRawRange, sqlDefinition, sqlTypeCode, sqlTypeDefinition, stringOfCooked, stringOfRaw, toString, withNullablepublic SizedAtomPoemType(int sqlTypeCode,
String sqlTypeName,
boolean nullable,
int size)
sqlTypeCode - SQL TYPE codesqlTypeName - SQL TYPE namenullable - whether nullablesize - how bigpublic int getSize()
public SizedAtomPoemType<T> withSize(int newSize)
newSize - size of returned fieldpublic static boolean sizeGreaterEqual(int sizeA,
int sizeB)
sizeA - the size of first fieldsizeB - the size of second fieldCopyright © 2000–2021 PanEris. All rights reserved.