IMPL NOTE: since we do not necessarily know the datatype up front, and therefore do not necessarily know whether length or precision/scale sizing is needed, we simply account for both here. Additionally LOB definitions, by standard, are allowed a "multiplier" consisting of 'K' (Kb), 'M' (Mb) or 'G' (Gb).
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| private long | |
| private Size. | |
| private int | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | Size(int
numeric precision precision, int numeric scale scale, long type length length, Size.LOB length multiplier lobMultiplierComplete constructor. |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public Size. | |
| public int | |
| public int | |
| public void | |
| public static Size | |
| public static Size | |
| public static Size | |
| public static Size | |
| public void | |
| public void | |
| public void | |
| public void |
| DEFAULT_LENGTH | back to summary |
|---|---|
| public static final int DEFAULT_LENGTH | |
| DEFAULT_PRECISION | back to summary |
|---|---|
| public static final int DEFAULT_PRECISION | |
| DEFAULT_SCALE | back to summary |
|---|---|
| public static final int DEFAULT_SCALE | |
| length | back to summary |
|---|---|
| private long length | |
| lobMultiplier | back to summary |
|---|---|
| private Size. | |
| precision | back to summary |
|---|---|
| private int precision | |
| scale | back to summary |
|---|---|
| private int scale | |
| Size | back to summary |
|---|---|
| public Size() | |
| Size | back to summary |
|---|---|
| public Size(int precision, int scale, long length, Size. Complete constructor.
| |
| getLength | back to summary |
|---|---|
| public long getLength() | |
| getLobMultiplier | back to summary |
|---|---|
| public Size. | |
| getPrecision | back to summary |
|---|---|
| public int getPrecision() | |
| getScale | back to summary |
|---|---|
| public int getScale() | |
| initialize | back to summary |
|---|---|
| public void initialize(Size size) | |
| length | back to summary |
|---|---|
| public static Size length(long length) | |
| length | back to summary |
|---|---|
| public static Size length(long length, Size. | |
| precision | back to summary |
|---|---|
| public static Size precision(int precision) | |
| precision | back to summary |
|---|---|
| public static Size precision(int precision, int scale) | |
| setLength | back to summary |
|---|---|
| public void setLength(long length) | |
| setLobMultiplier | back to summary |
|---|---|
| public void setLobMultiplier(Size. | |
| setPrecision | back to summary |
|---|---|
| public void setPrecision(int precision) | |
| setScale | back to summary |
|---|---|
| public void setScale(int scale) | |
| Modifier and Type | Field and Description |
|---|---|
| private long | |
| public static final Size. | |
| public static final Size. | |
| public static final Size. | |
| public static final Size. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public static Size. | |
| public static Size. |
| factor | back to summary |
|---|---|
| private long factor | |
| G | back to summary |
|---|---|
| public static final Size. | |
| K | back to summary |
|---|---|
| public static final Size. | |
| M | back to summary |
|---|---|
| public static final Size. | |
| NONE | back to summary |
|---|---|
| public static final Size. | |
| LobMultiplier | back to summary |
|---|---|
| private LobMultiplier(long factor) | |
| getFactor | back to summary |
|---|---|
| public long getFactor() | |
| valueOf | back to summary |
|---|---|
| public static Size. | |
| values | back to summary |
|---|---|
| public static Size. | |