public final class TypeUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DAYS_INTO_CE_LENGTH |
static int |
IMAGE_TEXT_MAX_BYTES |
static int |
MAX_FRACTIONAL_SECONDS_SCALE |
static int |
MINUTES_OFFSET_LENGTH |
static int |
SHORT_VARTYPE_MAX_BYTES
Max length in bytes allowed by the "short" VARBINARY/VARCHAR types.
|
static int |
UNKNOWN_STREAM_LENGTH |
| Constructor and Description |
|---|
TypeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getDateTimeValueLength(int scale)
Returns the length of Date-Time2 values using
scale. |
static int |
getTimeValueLength(int scale)
Returns the length of time values using
scale. |
public static final int SHORT_VARTYPE_MAX_BYTES
public static final int IMAGE_TEXT_MAX_BYTES
public static final int UNKNOWN_STREAM_LENGTH
public static final int MAX_FRACTIONAL_SECONDS_SCALE
public static final int DAYS_INTO_CE_LENGTH
public static final int MINUTES_OFFSET_LENGTH
public static int getTimeValueLength(int scale)
scale.scale - the time scale.public static int getDateTimeValueLength(int scale)
scale.scale - the time scale.Copyright © 2023. All rights reserved.