Implementation 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
sizes, by standard, are allowed a "multiplier", K (Kb), M (Mb) or G (Gb).
| Modifier and Type | Class and Description |
|---|---|
| public static enum |
| Modifier and Type | Field and Description |
|---|---|
| private Integer | |
| public static final long | |
| public static final long | |
| public static final int | |
| public static final int | |
| private Long | |
| private Size. | |
| public static final long | |
| private Integer | |
| private Integer |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Integer | |
| public Long | |
| public Size. | |
| public Integer | |
| public Integer | |
| public void | |
| public static Size | |
| public static Size | |
| public static Size | |
| public static Size | |
| public static Size | |
| public Size | |
| public Size | |
| public Size | |
| public Size | |
| public Size |
| arrayLength | back to summary |
|---|---|
| private Integer arrayLength | |
| DEFAULT_LENGTH | back to summary |
|---|---|
| public static final long DEFAULT_LENGTH | |
| DEFAULT_LOB_LENGTH | back to summary |
|---|---|
| public static final long DEFAULT_LOB_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. | |
| LONG_LENGTH | back to summary |
|---|---|
| public static final long LONG_LENGTH | |
| precision | back to summary |
|---|---|
| private Integer precision | |
| scale | back to summary |
|---|---|
| private Integer scale | |
| Size | back to summary |
|---|---|
| public Size() | |
| Size | back to summary |
|---|---|
| public Size(Integer precision, Integer scale, Long length, Size. Complete constructor.
| |
| Size | back to summary |
|---|---|
| public Size(Integer precision, Integer scale, Integer length, Size. | |
| getArrayLength | back to summary |
|---|---|
| public Integer getArrayLength() | |
| getLength | back to summary |
|---|---|
| public Long getLength() | |
| getLobMultiplier | back to summary |
|---|---|
| public Size. | |
| getPrecision | back to summary |
|---|---|
| public Integer getPrecision() | |
| getScale | back to summary |
|---|---|
| public Integer 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. | |
| nil | back to summary |
|---|---|
| public static Size nil() | |
| precision | back to summary |
|---|---|
| public static Size precision(int precision) | |
| precision | back to summary |
|---|---|
| public static Size precision(int precision, int scale) | |
| setArrayLength | back to summary |
|---|---|
| public Size setArrayLength(Integer arrayLength) | |
| setLength | back to summary |
|---|---|
| public Size setLength(Long length) | |
| setLobMultiplier | back to summary |
|---|---|
| public Size setLobMultiplier(Size. | |
| setPrecision | back to summary |
|---|---|
| public Size setPrecision(Integer precision) | |
| setScale | back to summary |
|---|---|
| public Size setScale(Integer scale) | |
| Modifier and Type | Field and Description |
|---|---|
| private final 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 final 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. | |