Uses of Interface
de.gsi.dataset.serializer.IoBuffer
-
Packages that use IoBuffer Package Description de.gsi.dataset.serializer de.gsi.dataset.serializer.spi de.gsi.dataset.serializer.spi.iobuffer -
-
Uses of IoBuffer in de.gsi.dataset.serializer
Methods in de.gsi.dataset.serializer that return IoBuffer Modifier and Type Method Description IoBufferIoBuffer. putBoolean(boolean value)default IoBufferIoBuffer. putBooleanArray(boolean[] src)default IoBufferIoBuffer. putBooleanArray(boolean[] src, int nToCopy)IoBufferIoBuffer. putBooleanArray(boolean[] src, long offset, int nToCopy)IoBufferIoBuffer. putByte(byte b)default IoBufferIoBuffer. putByteArray(byte[] src)default IoBufferIoBuffer. putByteArray(byte[] src, int nToCopy)IoBufferIoBuffer. putByteArray(byte[] src, long offset, int nToCopy)IoBufferIoBuffer. putChar(char value)default IoBufferIoBuffer. putCharArray(char[] src)default IoBufferIoBuffer. putCharArray(char[] src, int nToCopy)IoBufferIoBuffer. putCharArray(char[] src, long offset, int nToCopy)IoBufferIoBuffer. putDouble(double value)default IoBufferIoBuffer. putDoubleArray(double[] src)default IoBufferIoBuffer. putDoubleArray(double[] src, int nToCopy)IoBufferIoBuffer. putDoubleArray(double[] src, long offset, int nToCopy)IoBufferIoBuffer. putFloat(float value)default IoBufferIoBuffer. putFloatArray(float[] src)default IoBufferIoBuffer. putFloatArray(float[] src, int nToCopy)IoBufferIoBuffer. putFloatArray(float[] src, long offset, int nToCopy)IoBufferIoBuffer. putInt(int value)default IoBufferIoBuffer. putIntArray(int[] src)default IoBufferIoBuffer. putIntArray(int[] src, int nToCopy)IoBufferIoBuffer. putIntArray(int[] src, long offset, int nToCopy)IoBufferIoBuffer. putLong(long value)default IoBufferIoBuffer. putLongArray(long[] src)default IoBufferIoBuffer. putLongArray(long[] src, int nToCopy)IoBufferIoBuffer. putLongArray(long[] src, long offset, int nToCopy)IoBufferIoBuffer. putShort(short value)default IoBufferIoBuffer. putShortArray(short[] src)default IoBufferIoBuffer. putShortArray(short[] src, int nToCopy)IoBufferIoBuffer. putShortArray(short[] src, long offset, int nToCopy)IoBufferIoBuffer. putString(java.lang.String string)default IoBufferIoBuffer. putStringArray(java.lang.String[] src)default IoBufferIoBuffer. putStringArray(java.lang.String[] src, int nToCopy)IoBufferIoBuffer. putStringArray(java.lang.String[] src, long offset, int nToCopy) -
Uses of IoBuffer in de.gsi.dataset.serializer.spi
Classes in de.gsi.dataset.serializer.spi that implement IoBuffer Modifier and Type Class Description classByteBufferclassFastByteBufferFastByteBuffer implementation based on JVM 'Unsafe' Class.Methods in de.gsi.dataset.serializer.spi that return IoBuffer Modifier and Type Method Description IoBufferByteBuffer. clear()IoBufferFastByteBuffer. clear()IoBufferByteBuffer. ensureAdditionalCapacity(long capacity)IoBufferFastByteBuffer. ensureAdditionalCapacity(long capacity)IoBufferByteBuffer. ensureCapacity(long capacity)IoBufferFastByteBuffer. ensureCapacity(long newCapacity)IoBufferByteBuffer. forceCapacity(long length, long preserve)IoBufferFastByteBuffer. forceCapacity(long length, long preserve)Forces FastByteBUffer to contain the given number of entries, preserving just a part of the array.IoBufferByteBuffer. limit(int newLimit)IoBufferFastByteBuffer. limit(int newLimit)IoBufferByteBuffer. position(long newPosition)IoBufferFastByteBuffer. position(long newPosition)IoBufferByteBuffer. putBoolean(boolean value)IoBufferFastByteBuffer. putBoolean(boolean value)IoBufferByteBuffer. putBooleanArray(boolean[] src, long offset, int nToCopy)IoBufferFastByteBuffer. putBooleanArray(boolean[] values, long offset, int nToCopy)IoBufferByteBuffer. putByte(byte b)IoBufferFastByteBuffer. putByte(byte value)IoBufferByteBuffer. putByteArray(byte[] src, long offset, int nToCopy)IoBufferFastByteBuffer. putByteArray(byte[] values, long offset, int nToCopy)IoBufferByteBuffer. putChar(char value)IoBufferFastByteBuffer. putChar(char value)IoBufferByteBuffer. putCharArray(char[] src, long offset, int nToCopy)IoBufferFastByteBuffer. putCharArray(char[] values, long offset, int nToCopy)IoBufferByteBuffer. putDouble(double value)IoBufferFastByteBuffer. putDouble(double value)IoBufferByteBuffer. putDoubleArray(double[] src, long offset, int nToCopy)IoBufferFastByteBuffer. putDoubleArray(double[] values, long offset, int nToCopy)IoBufferByteBuffer. putFloat(float value)IoBufferFastByteBuffer. putFloat(float value)IoBufferByteBuffer. putFloatArray(float[] src, long offset, int nToCopy)IoBufferFastByteBuffer. putFloatArray(float[] values, long offset, int nToCopy)IoBufferByteBuffer. putInt(int value)IoBufferFastByteBuffer. putInt(int value)IoBufferByteBuffer. putIntArray(int[] src, long offset, int nToCopy)IoBufferFastByteBuffer. putIntArray(int[] values, long offset, int nToCopy)IoBufferByteBuffer. putLong(long value)IoBufferFastByteBuffer. putLong(long value)IoBufferByteBuffer. putLongArray(long[] src, long offset, int nToCopy)IoBufferFastByteBuffer. putLongArray(long[] values, long offset, int nToCopy)IoBufferByteBuffer. putShort(short value)IoBufferFastByteBuffer. putShort(short value)IoBufferByteBuffer. putShortArray(short[] src, long offset, int nToCopy)IoBufferFastByteBuffer. putShortArray(short[] values, long offset, int nToCopy)IoBufferByteBuffer. putString(java.lang.String string)IoBufferFastByteBuffer. putString(java.lang.String string)IoBufferByteBuffer. putStringArray(java.lang.String[] src, long offset, int nToCopy)IoBufferFastByteBuffer. putStringArray(java.lang.String[] values, long offset, int nToCopy)IoBufferByteBuffer. reset()IoBufferFastByteBuffer. reset()IoBufferByteBuffer. trim()IoBufferByteBuffer. trim(int requestedCapacity)IoBufferFastByteBuffer. trim()Trims the internal buffer array so that the capacity is equal to the size.IoBufferFastByteBuffer. trim(int requestedCapacity)Trims the internal buffer array if it is too large.Methods in de.gsi.dataset.serializer.spi with parameters of type IoBuffer Modifier and Type Method Description static voidBinarySerialiser. adjustDataByteSizeBlock(IoBuffer buffer, long sizeMarkerStart)static BinarySerialiser.HeaderInfoBinarySerialiser. checkHeaderInfo(IoBuffer readBuffer)static int[]BinarySerialiser. getArrayDimensions(IoBuffer readBuffer)static booleanBinarySerialiser. getBoolean(IoBuffer readBuffer)static boolean[]BinarySerialiser. getBooleanArray(IoBuffer readBuffer)static byteBinarySerialiser. getByte(IoBuffer readBuffer)static byte[]BinarySerialiser. getByteArray(IoBuffer readBuffer)static char[]BinarySerialiser. getCharArray(IoBuffer readBuffer)static <E> java.util.Collection<E>BinarySerialiser. getCollection(IoBuffer readBuffer, java.util.Collection<E> collection)static doubleBinarySerialiser. getDouble(IoBuffer readBuffer)static double[]BinarySerialiser. getDoubleArray(IoBuffer readBuffer)static double[]BinarySerialiser. getDoubleArray(IoBuffer readBuffer, DataType dataType)static java.lang.Enum<?>BinarySerialiser. getEnum(IoBuffer readBuffer, java.lang.Enum<?> enumeration)static java.lang.StringBinarySerialiser. getEnumTypeList(IoBuffer readBuffer)static FieldHeaderBinarySerialiser. getFieldHeader(IoBuffer readBuffer)static floatBinarySerialiser. getFloat(IoBuffer readBuffer)static float[]BinarySerialiser. getFloatArray(IoBuffer readBuffer)protected static java.lang.Object[]BinarySerialiser. getGenericArrayAsPrimitive(IoBuffer readBuffer, DataType dataType)static int[]BinarySerialiser. getIntArray(IoBuffer readBuffer)static intBinarySerialiser. getInteger(IoBuffer readBuffer)static <E> java.util.List<E>BinarySerialiser. getList(IoBuffer readBuffer, java.util.List<E> collection)static longBinarySerialiser. getLong(IoBuffer readBuffer)static long[]BinarySerialiser. getLongArray(IoBuffer readBuffer)static <K,V>
java.util.Map<K,V>BinarySerialiser. getMap(IoBuffer readBuffer, java.util.Map<K,V> map)static <E> java.util.Queue<E>BinarySerialiser. getQueue(IoBuffer readBuffer, java.util.Queue<E> collection)static <E> java.util.Set<E>BinarySerialiser. getSet(IoBuffer readBuffer, java.util.Set<E> collection)static shortBinarySerialiser. getShort(IoBuffer readBuffer)static short[]BinarySerialiser. getShortArray(IoBuffer readBuffer)static java.lang.StringBinarySerialiser. getString(IoBuffer readBuffer)static java.lang.String[]BinarySerialiser. getStringArray(IoBuffer readBuffer)static FieldHeaderBinarySerialiser. parseIoStream(IoBuffer buffer)protected static voidBinarySerialiser. parseIoStream(IoBuffer buffer, FieldHeader fieldRoot, int recursionDepth)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, boolean value)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, boolean[] arrayValue)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, boolean[] arrayValue, int[] dims)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, byte value)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, byte[] arrayValue)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, byte[] arrayValue, int[] dims)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, double value)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, double[] arrayValue)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, double[] arrayValue, int[] dims)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, float value)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, float[] arrayValue)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, float[] arrayValue, int[] dims)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, int value)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, int[] arrayValue)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, int[] arrayValue, int[] dims)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, long value)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, long[] arrayValue)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, long[] arrayValue, int[] dims)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, short value)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, short[] arrayValue)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, short[] arrayValue, int[] dims)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, java.lang.Enum<?> enumeration)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, java.lang.String value)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, java.lang.String[] arrayValue)static voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, java.lang.String[] arrayValue, int[] dims)static <E> voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, java.util.Collection<E> collection)static <K,V>
voidBinarySerialiser. put(IoBuffer buffer, java.lang.String fieldName, java.util.Map<K,V> map)static longBinarySerialiser. putArrayHeader(IoBuffer buffer, java.lang.String fieldName, DataType dataType, int[] dims, int nElements)static voidBinarySerialiser. putEndMarker(IoBuffer buffer, java.lang.String markerName)static voidBinarySerialiser. putFieldHeader(IoBuffer buffer, java.lang.String fieldName, DataType dataType)static voidBinarySerialiser. putFieldHeader(IoBuffer buffer, java.lang.String fieldName, DataType dataType, int additionalSize)static voidBinarySerialiser. putGenericArrayAsPrimitive(IoBuffer buffer, DataType dataType, java.lang.Object[] data, int nToCopy)static voidBinarySerialiser. putHeaderInfo(IoBuffer buffer)Adds header and version informationstatic voidBinarySerialiser. putStartMarker(IoBuffer buffer, java.lang.String markerName)static double[][]BinaryArrayFactory. readDoubleMatrix(IoBuffer buffer, FieldHeader fieldHeader)protected static voidBinarySerialiser. swallowRest(IoBuffer readBuffer, FieldHeader fieldHeader) -
Uses of IoBuffer in de.gsi.dataset.serializer.spi.iobuffer
Fields in de.gsi.dataset.serializer.spi.iobuffer declared as IoBuffer Modifier and Type Field Description protected IoBufferIoBufferFieldSerialiser. ioBufferMethods in de.gsi.dataset.serializer.spi.iobuffer that return IoBuffer Modifier and Type Method Description IoBufferIoBufferFieldSerialiser. getBuffer()IoBufferIoBufferSerialiser. getBuffer()Methods in de.gsi.dataset.serializer.spi.iobuffer with parameters of type IoBuffer Modifier and Type Method Description protected static java.util.Optional<FieldHeader>DataSetSerialiser. checkFieldCompatibility(IoBuffer buffer, java.util.List<FieldHeader> fieldHeaderList, java.lang.String fieldName, DataType... requireDataTypes)protected static voidDataSetSerialiser. parseDataLabels(IoBuffer readBuffer, DataSetBuilder builder, java.util.List<FieldHeader> fieldHeaderList)protected static voidDataSetSerialiser. parseHeader(IoBuffer readBuffer, DataSetBuilder builder, java.util.List<FieldHeader> fieldHeaderList)protected static voidDataSetSerialiser. parseMetaData(IoBuffer readBuffer, DataSetBuilder builder, java.util.List<FieldHeader> fieldHeaderList)protected static voidDataSetSerialiser. parseNumericData(IoBuffer readBuffer, DataSetBuilder builder, java.util.List<FieldHeader> fieldHeaderList)static DataSetDataSetSerialiser. readDataSetFromByteArray(IoBuffer readBuffer)Read a Dataset from a byte array containing comma separated values.
The data format is a custom extension of csv with an additional #-commented Metadata Header and a $-commented column header.static voidFieldBoxedValueArrayHelper. register(AbstractSerialiser serialiser, IoBuffer ioBuffer)registers default serialiser for boxed array primitive types (ie.static voidFieldBoxedValueHelper. register(AbstractSerialiser serialiser, IoBuffer ioBuffer)registers default serialiser for primitive array types (ie.static voidFieldDataSetHelper. register(AbstractSerialiser serialiser, IoBuffer ioBuffer)registers default DataSet interface and related helper methodsstatic voidFieldPrimitiveValueHelper. register(AbstractSerialiser serialiser, IoBuffer ioBuffer)registers default serialiser for primitive types (ie.static voidFieldPrimitveValueArrayHelper. register(AbstractSerialiser serialiser, IoBuffer ioBuffer)registers default serialiser for array primitive types (ie.protected static voidDataSetSerialiser. writeDataLabelsToStream(IoBuffer buffer, DataSet dataSet)static voidDataSetSerialiser. writeDataSetToByteArray(DataSet dataSet, IoBuffer buffer, boolean asFloat)Write data set into byte buffer.protected static voidDataSetSerialiser. writeHeaderDataToStream(IoBuffer buffer, DataSet dataSet)protected static voidDataSetSerialiser. writeMetaDataToStream(IoBuffer buffer, DataSet dataSet)protected static voidDataSetSerialiser. writeNumericBinaryDataToBuffer(IoBuffer buffer, DataSet dataSet, boolean asFloat)Constructors in de.gsi.dataset.serializer.spi.iobuffer with parameters of type IoBuffer Constructor Description FieldListAxisDescription(IoBuffer buffer)FieldSerialiser implementation for List<AxisDescription> to IoBuffer-backed byte-bufferIoBufferFieldSerialiser(IoBuffer buffer, FieldSerialiser.FieldSerialiserFunction reader, FieldSerialiser.FieldSerialiserFunction writer, java.lang.Class<?> classPrototype, java.lang.Class<?>... classGenericArguments)IoBufferSerialiser(IoBuffer buffer)Initialises new IoBuffer-backed object serialiser
-