| Package | Description |
|---|---|
| de.gsi.dataset.serializer | |
| de.gsi.dataset.serializer.spi | |
| de.gsi.dataset.serializer.spi.iobuffer |
| Modifier and Type | Method and Description |
|---|---|
static DataType |
DataType.fromByte(byte value)
Returns the data type matching the given byte representation, if any.
|
static DataType |
DataType.fromClassType(Class<?> classType)
Returns the data type matching the given java class type, if any.
|
static DataType |
DataType.fromJavaTypeString(String str)
Returns the data type matching the given java string representation, if any.
|
static DataType |
DataType.fromString(String str)
Returns the data type matching the given string representation, if any.
|
static DataType |
DataType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
DataType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
protected static DataType |
ClassFieldDescription.dataTypeFomClassType(Class<?> classType)
Returns the data type matching the given java class type, if any.
|
DataType |
ClassFieldDescription.getDataType() |
DataType |
FieldHeader.getDataType() |
| Modifier and Type | Method and Description |
|---|---|
static double[] |
BinarySerialiser.getDoubleArray(IoBuffer readBuffer,
DataType dataType) |
protected static Object[] |
BinarySerialiser.getGenericArrayAsPrimitive(IoBuffer readBuffer,
DataType dataType) |
static long |
BinarySerialiser.putArrayHeader(IoBuffer buffer,
String fieldName,
DataType dataType,
int[] dims,
int nElements) |
static void |
BinarySerialiser.putFieldHeader(IoBuffer buffer,
String fieldName,
DataType dataType) |
static void |
BinarySerialiser.putFieldHeader(IoBuffer buffer,
String fieldName,
DataType dataType,
int additionalSize) |
static void |
BinarySerialiser.putGenericArrayAsPrimitive(IoBuffer buffer,
DataType dataType,
Object[] data,
int nToCopy) |
| Constructor and Description |
|---|
FieldHeader(FieldHeader parent,
String fieldName,
DataType dataType,
int[] dims,
long positionBuffer,
long expectedNumberOfBytes)
Constructs new serializer field header
|
FieldHeader(String fieldName,
DataType dataType,
int[] dims,
long positionBuffer,
long expectedNumberOfBytes)
Constructs new serializer field header
|
| Modifier and Type | Method and Description |
|---|---|
protected static Optional<FieldHeader> |
DataSetSerialiser.checkFieldCompatibility(IoBuffer buffer,
List<FieldHeader> fieldHeaderList,
String fieldName,
DataType... requireDataTypes) |
Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.