public static enum PicodataStaticTypeInfo.PicodataType extends Enum<PicodataStaticTypeInfo.PicodataType>
Enum Constant and Description |
---|
ANY
Picodata "any" type (in fact might be number, JSON, array, string, etc)
|
ARRAY
Picodata "array" type
|
BIGINT
Picodata "bigint" type
|
BOOL
Alias for Picodata "boolean" type
|
BOOLEAN
Picodata "boolean" type
|
DATETIME
Picodata "datetime" type
|
DECIMAL
Picodata "decimal" type (fixed point)
|
DOUBLE
Picodata "double" type (float point)
|
INTEGER
Picodata "integer" type
|
INTERVAL
Picodata "interval" type for timestamps
|
JSON
Picodata "JSON" type (in fact a map that is encoded as pgproto JSON)
|
MAP
Picodata "map" type
|
NUMBER
Picodata "number" type.
|
SCALAR
Picodata "scalar" type.
|
SMALLINT
Picodata "smallint" type
|
STRING
Picodata "string" type
|
TEXT
Picodata "text" type (alias for string type)
|
UNSIGNED
Picodata "unsigned" integer type
|
UUID
Picodata "uuid" type
|
VARBINARY
Picodata "varbinary" type, contains plain binary data
|
VARCHAR
Picodata "varchar" type (alias for string)
|
Modifier and Type | Method and Description |
---|---|
Integer |
getDisplaySize()
Size in characters for displaying the values in UI (default encoding)
|
String |
getJavaType()
Matching Java class that can represent the value
|
int |
getMaximumPrecision()
Maximum number value that it can represent
|
String |
getName()
Picodata type name as using in the server
|
Integer |
getPGOID()
Matching type ID from pgproto
|
String |
getPGType()
Matching Postgres type name as using in its output
|
int |
getScale()
Maximum number scale that it can handle
|
Integer |
getSQLType()
Matching type from java.sql.Types
|
boolean |
isCaseSensitive()
Character sets are case sensitive, numbers and literals are not
|
boolean |
isSigned()
Is it unsigned value - in Picodata we have 'unsigned' type
|
boolean |
requiresQuoting()
Numbers and literals does not require quoting
|
static PicodataStaticTypeInfo.PicodataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PicodataStaticTypeInfo.PicodataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PicodataStaticTypeInfo.PicodataType ANY
public static final PicodataStaticTypeInfo.PicodataType ARRAY
public static final PicodataStaticTypeInfo.PicodataType BIGINT
public static final PicodataStaticTypeInfo.PicodataType BOOLEAN
public static final PicodataStaticTypeInfo.PicodataType BOOL
public static final PicodataStaticTypeInfo.PicodataType DATETIME
public static final PicodataStaticTypeInfo.PicodataType DECIMAL
public static final PicodataStaticTypeInfo.PicodataType DOUBLE
public static final PicodataStaticTypeInfo.PicodataType INTEGER
public static final PicodataStaticTypeInfo.PicodataType INTERVAL
public static final PicodataStaticTypeInfo.PicodataType NUMBER
public static final PicodataStaticTypeInfo.PicodataType MAP
public static final PicodataStaticTypeInfo.PicodataType SCALAR
public static final PicodataStaticTypeInfo.PicodataType SMALLINT
public static final PicodataStaticTypeInfo.PicodataType STRING
public static final PicodataStaticTypeInfo.PicodataType TEXT
public static final PicodataStaticTypeInfo.PicodataType JSON
public static final PicodataStaticTypeInfo.PicodataType UNSIGNED
public static final PicodataStaticTypeInfo.PicodataType UUID
public static final PicodataStaticTypeInfo.PicodataType VARBINARY
public static final PicodataStaticTypeInfo.PicodataType VARCHAR
public static PicodataStaticTypeInfo.PicodataType[] values()
for (PicodataStaticTypeInfo.PicodataType c : PicodataStaticTypeInfo.PicodataType.values()) System.out.println(c);
public static PicodataStaticTypeInfo.PicodataType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public Integer getSQLType()
public Integer getPGOID()
public String getPGType()
public String getJavaType()
public Integer getDisplaySize()
public boolean isCaseSensitive()
public boolean isSigned()
public int getMaximumPrecision()
public boolean requiresQuoting()
public int getScale()
Copyright © 2025 Picodata. All rights reserved.