public enum StorageType extends java.lang.Enum<StorageType>
Coord.inputToStorage(java.lang.Object[], uk.ac.starlink.table.DomainMapper[])
.
At time of writing, this data is stored in memory, but in principle they could be cached in some disk-based file. For that reason, they should as far as possible be restricted to objects that are easily serialized to a byte array (primitives, ideally scalars or fixed-length arrays).
CachedColumnFactory
,
Coord
Enum Constant | Description |
---|---|
BOOLEAN |
Boolean type.
|
BYTE |
Byte type.
|
DOUBLE |
Double precision type.
|
DOUBLE_ARRAY |
Double precision variable length array type.
|
DOUBLE3 |
Double precision triple type.
|
FLOAT |
Single precision type.
|
FLOAT_ARRAY |
Single precision variable length array type.
|
FLOAT3 |
Single precision triple type.
|
INT |
Integer type.
|
INT3 |
Integer triple type.
|
SHORT |
Short integer type.
|
STRING |
String type.
|
Modifier and Type | Method | Description |
---|---|---|
static StorageType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static StorageType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageType BOOLEAN
Boolean
.public static final StorageType DOUBLE
Double
.public static final StorageType FLOAT
Float
.public static final StorageType INT
Integer
.public static final StorageType SHORT
Short
.public static final StorageType BYTE
Byte
.public static final StorageType STRING
String
.public static final StorageType INT3
int[3]
.public static final StorageType DOUBLE3
double[3]
.public static final StorageType FLOAT3
float[3]
.public static final StorageType DOUBLE_ARRAY
double[]
.public static final StorageType FLOAT_ARRAY
float[]
.public static StorageType[] values()
for (StorageType c : StorageType.values()) System.out.println(c);
public static StorageType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.