Uses of Interface
uk.gov.gchq.gaffer.serialisation.ToBytesSerialiser
-
Packages that use ToBytesSerialiser Package Description uk.gov.gchq.gaffer.bitmap.serialisation Serialisation classes for bitmap objects.uk.gov.gchq.gaffer.serialisation Serialisation classes.uk.gov.gchq.gaffer.serialisation.implementation Implementations of serialisers for various data types.uk.gov.gchq.gaffer.serialisation.implementation.ordered Serialisation implementations which maintain the ordering of bytes.uk.gov.gchq.gaffer.serialisation.implementation.raw Serialisation classes for efficient serialisation of primitive types.uk.gov.gchq.gaffer.serialisation.util Utilities to aid the serialisation and deserialisation of objects in Gaffer.uk.gov.gchq.gaffer.sketches.clearspring.cardinality.serialisation Serialisation classes for the Clearspring HyperLogLogPlus objects.uk.gov.gchq.gaffer.sketches.datasketches.cardinality.serialisation Serialisation classes for the Datasketches cardinality objects.uk.gov.gchq.gaffer.sketches.datasketches.frequencies.serialisation Serialisation classes for the Datasketches frequencies objects.uk.gov.gchq.gaffer.sketches.datasketches.quantiles.serialisation Serialisation classes for the Datasketches quantiles objects.uk.gov.gchq.gaffer.sketches.datasketches.sampling.serialisation Serialisation classes for the Datasketches sampling objects.uk.gov.gchq.gaffer.sketches.datasketches.theta.serialisation Serialisation classes for the Datasketches theta objects.uk.gov.gchq.gaffer.spark.serialisation.kryo uk.gov.gchq.gaffer.store.serialiser Serialiser implementations for stores.uk.gov.gchq.gaffer.time.serialisation Serialisation classes for the Gaffer timestamp classes.uk.gov.gchq.gaffer.types Additional data types for use within Gaffer. -
-
Uses of ToBytesSerialiser in uk.gov.gchq.gaffer.bitmap.serialisation
Classes in uk.gov.gchq.gaffer.bitmap.serialisation that implement ToBytesSerialiser Modifier and Type Class Description class
RoaringBitmapSerialiser
ASerialiser
implementation forRoaringBitmap
instances. -
Uses of ToBytesSerialiser in uk.gov.gchq.gaffer.serialisation
Classes in uk.gov.gchq.gaffer.serialisation that implement ToBytesSerialiser Modifier and Type Class Description class
AvroSerialiser
AnAvroSerialiser
is used to serialise and deserialise Avro files.class
CustomMapSerialiser
class
FreqMapSerialiser
AFreqMapSerialiser
serialises and deserialisesFreqMap
s.class
ToBytesViaStringDeserialiser<T>
Abstract serialiser that deserialises the given byte[] via an interim String object.class
TypeSubTypeValueSerialiser
ATypeSubTypeValueSerialiser
is used to serialise and deserialiseTypeSubTypeValue
instances.class
TypeValueSerialiser
ATypeValueSerialiser
is used to serialise and deserialiseTypeValue
instances. -
Uses of ToBytesSerialiser in uk.gov.gchq.gaffer.serialisation.implementation
Classes in uk.gov.gchq.gaffer.serialisation.implementation that implement ToBytesSerialiser Modifier and Type Class Description class
BooleanSerialiser
This class is used to serialise and deserialise a boolean valueclass
BytesSerialiser
This class is used to serialise and deserialise byte arrays.class
JavaSerialiser
This class is used to serialise and deserialise objects in java.class
MapSerialiser
This class is used to serialise and deserialiseMap
s.class
MultiSerialiser
This class is used to serialise and deserialise multiple object types.class
NullSerialiser
ANullSerialiser
is aToBytesSerialiser
that always returns null regardless of the input.class
SetSerialiser
class
StringSerialiser
AStringSerialiser
is used to serialiseString
s.class
TreeSetStringSerialiser
Methods in uk.gov.gchq.gaffer.serialisation.implementation that return ToBytesSerialiser Modifier and Type Method Description ToBytesSerialiser
MapSerialiser. getKeySerialiser()
ToBytesSerialiser
SetSerialiser. getObjectSerialiser()
ToBytesSerialiser
MultiSerialiserStorage.SerialiserDetail. getSerialiser()
ToBytesSerialiser
MultiSerialiserStorage. getSerialiserFromKey(Byte key)
ToBytesSerialiser
MultiSerialiserStorage. getSerialiserFromValue(Object object)
ToBytesSerialiser
MapSerialiser. getValueSerialiser()
Methods in uk.gov.gchq.gaffer.serialisation.implementation with parameters of type ToBytesSerialiser Modifier and Type Method Description MultiSerialiser
MultiSerialiser. addSerialiser(byte key, ToBytesSerialiser serialiser, Class aClass)
void
MultiSerialiserStorage. addSerialiserDetails(byte key, ToBytesSerialiser serialiser, Class aClass)
void
MultiSerialiserStorage. put(byte serialiserEncoding, ToBytesSerialiser serialiser, Class supportedClass)
MultiSerialiserStorage.SerialiserDetail
MultiSerialiserStorage.SerialiserDetail. serialiser(ToBytesSerialiser serialiser)
void
MapSerialiser. setKeySerialiser(ToBytesSerialiser keySerialiser)
void
SetSerialiser. setObjectSerialiser(ToBytesSerialiser objectSerialiser)
void
MapSerialiser. setValueSerialiser(ToBytesSerialiser valueSerialiser)
Constructors in uk.gov.gchq.gaffer.serialisation.implementation with parameters of type ToBytesSerialiser Constructor Description SerialiserDetail(byte key, ToBytesSerialiser serialiser, Class valueClass)
SetSerialiser(ToBytesSerialiser objectSerialiser)
-
Uses of ToBytesSerialiser in uk.gov.gchq.gaffer.serialisation.implementation.ordered
Classes in uk.gov.gchq.gaffer.serialisation.implementation.ordered that implement ToBytesSerialiser Modifier and Type Class Description class
OrderedDateSerialiser
AnOrderedDateSerialiser
serialises aDate
to an array of bytes by directly converting the underlying long to a byte array.class
OrderedDoubleSerialiser
AnOrderedDoubleSerialser
serialises aDouble
to an array of bytes by directly converting the double to a raw long and then converting this to a byte array.class
OrderedFloatSerialiser
AnOrderedFloatSerialser
serialises aFloat
to an array of bytes by directly converting the float to a raw int and then converting this to a byte array.class
OrderedIntegerSerialiser
AnOrderedIntegerSerialser
serialises aInteger
to an array of bytes.class
OrderedLongSerialiser
AnOrderedLongSerialser
serialises aLong
to an array of bytes. -
Uses of ToBytesSerialiser in uk.gov.gchq.gaffer.serialisation.implementation.raw
Classes in uk.gov.gchq.gaffer.serialisation.implementation.raw that implement ToBytesSerialiser Modifier and Type Class Description class
CompactRawIntegerSerialiser
Serialises integers using a variable-length scheme that means smaller integers get serialised into a smaller number of bytes.class
CompactRawLongSerialiser
Serialises longs using a variable-length scheme that means smaller longs get serialised into a smaller number of bytes. -
Uses of ToBytesSerialiser in uk.gov.gchq.gaffer.serialisation.util
Methods in uk.gov.gchq.gaffer.serialisation.util with parameters of type ToBytesSerialiser Modifier and Type Method Description static ByteArrayOutputStream
LengthValueBytesSerialiserUtil. appendLengthValueFromObjectToByteStream(ByteArrayOutputStream byteOut, ToBytesSerialiser serialiser, Object object)
LengthValueBytesSerialiserUtil.LengthValueBuilder
LengthValueBytesSerialiserUtil.LengthValueBuilder. appendLengthValueFromObjectToByteStream(ToBytesSerialiser serialiser, Object object)
static <T> T
LengthValueBytesSerialiserUtil. deserialise(ToBytesSerialiser<T> serialiser, byte[] allBytes)
static <T> T
LengthValueBytesSerialiserUtil. deserialise(ToBytesSerialiser<T> serialiser, byte[] allBytes, int delimiter)
static <T> T
LengthValueBytesSerialiserUtil. deserialise(ToBytesSerialiser<T> serialiser, byte[] allBytes, int[] delimiterWrapper)
static <T> LengthValueBytesSerialiserUtil.ObjectCarriage<T>
LengthValueBytesSerialiserUtil. deserialiseNextObject(ToBytesSerialiser<T> serialiser, int currentCarriage, byte[] bytes)
static <T> byte[]
LengthValueBytesSerialiserUtil. getValueBytes(ToBytesSerialiser<T> serialiser, T value)
static <T> byte[]
LengthValueBytesSerialiserUtil. serialise(ToBytesSerialiser<T> serialiser, T value)
static <T> void
LengthValueBytesSerialiserUtil. serialise(ToBytesSerialiser<T> serialiser, T value, ByteArrayOutputStream out)
-
Uses of ToBytesSerialiser in uk.gov.gchq.gaffer.sketches.clearspring.cardinality.serialisation
Classes in uk.gov.gchq.gaffer.sketches.clearspring.cardinality.serialisation that implement ToBytesSerialiser Modifier and Type Class Description class
HyperLogLogPlusSerialiser
Deprecated. -
Uses of ToBytesSerialiser in uk.gov.gchq.gaffer.sketches.datasketches.cardinality.serialisation
Classes in uk.gov.gchq.gaffer.sketches.datasketches.cardinality.serialisation that implement ToBytesSerialiser Modifier and Type Class Description class
HllSketchSerialiser
AHllSketchSerialiser
serialises aHllSketch
using itstoCompactByteArray()
method.class
HllUnionSerialiser
AHllUnionSerialiser
serialises aUnion
using itstoCompactByteArray()
method. -
Uses of ToBytesSerialiser in uk.gov.gchq.gaffer.sketches.datasketches.frequencies.serialisation
Classes in uk.gov.gchq.gaffer.sketches.datasketches.frequencies.serialisation that implement ToBytesSerialiser Modifier and Type Class Description class
LongsSketchSerialiser
ALongsSketchSerialiser
serialises aLongsSketch
using itstoByteArray()
method.class
StringsSketchSerialiser
-
Uses of ToBytesSerialiser in uk.gov.gchq.gaffer.sketches.datasketches.quantiles.serialisation
Classes in uk.gov.gchq.gaffer.sketches.datasketches.quantiles.serialisation that implement ToBytesSerialiser Modifier and Type Class Description class
DoublesSketchSerialiser
ADoublesSketchSerialiser
serialises aDoublesSketch
using itstoByteArray()
method.class
DoublesUnionSerialiser
ADoublesUnionSerialiser
serialises aDoublesUnion
using itstoByteArray()
method.class
KllFloatsSketchSerialiser
AKllFloatsSketchSerialiser
serialises aKllFloatsSketch
using itstoByteArray()
method.class
StringsSketchSerialiser
class
StringsUnionSerialiser
-
Uses of ToBytesSerialiser in uk.gov.gchq.gaffer.sketches.datasketches.sampling.serialisation
Classes in uk.gov.gchq.gaffer.sketches.datasketches.sampling.serialisation that implement ToBytesSerialiser Modifier and Type Class Description class
ReservoirItemsSketchSerialiser<T>
AReservoirItemsSketchSerialiser
serialises aReservoirItemsSketch
using itstoByteArray()
method and the providedArrayOfItemsSerDe
.class
ReservoirLongsSketchSerialiser
AReservoirLongsSketchSerialiser
serialises aReservoirLongsSketch
using itstoByteArray()
method.class
ReservoirLongsUnionSerialiser
AReservoirLongsUnionSerialiser
serialises aReservoirLongsUnion
using itstoByteArray()
method.class
ReservoirNumbersSketchSerialiser
AReservoirNumbersSketchSerialiser
serialises aReservoirItemsSketch
using itstoByteArray()
method.class
ReservoirNumbersUnionSerialiser
AReservoirNumbersUnionSerialiser
serialises aReservoirItemsUnion
ofNumber
s using itstoByteArray()
method.class
ReservoirStringsSketchSerialiser
AReservoirStringsSketchSerialiser
serialises aReservoirItemsSketch
ofString
s using itstoByteArray()
method.class
ReservoirStringsUnionSerialiser
AReservoirStringsUnionSerialiser
serialises aReservoirItemsUnion
ofString
s using itstoByteArray()
method. -
Uses of ToBytesSerialiser in uk.gov.gchq.gaffer.sketches.datasketches.theta.serialisation
Classes in uk.gov.gchq.gaffer.sketches.datasketches.theta.serialisation that implement ToBytesSerialiser Modifier and Type Class Description class
SketchSerialiser
ASketchSerialiser
serialises aSketch
using itstoByteArray()
.class
UnionSerialiser
AUnionSerialiser
serialises anUnion
using thetoByteArray()
method from the sketch -
Uses of ToBytesSerialiser in uk.gov.gchq.gaffer.spark.serialisation.kryo
Classes in uk.gov.gchq.gaffer.spark.serialisation.kryo with type parameters of type ToBytesSerialiser Modifier and Type Class Description class
WrappedKryoSerializer<S extends ToBytesSerialiser<T>,T>
AWrappedKryoSerializer
is a utility class for anyKryo
Serializer
that wraps around any implementation of a GafferToBytesSerialiser
. -
Uses of ToBytesSerialiser in uk.gov.gchq.gaffer.store.serialiser
Classes in uk.gov.gchq.gaffer.store.serialiser that implement ToBytesSerialiser Modifier and Type Class Description class
EdgeIdSerialiser
Serialiser to serialise and deserialiseEdgeId
objects in a byte array representation.class
EdgeSerialiser
Serialiser to serialise and deserialiseEdge
objects in a byte array representation.class
ElementIdSerialiser
Serialiser to serialise and deserialiseElementId
objects in a byte array representation.class
ElementSerialiser
Serialiser to serialise and deserialiseElement
objects in a byte array representation by delegating to the relevant serialiser.class
EntityIdSerialiser
Serialiser to serialise and deserialiseEntityId
objects in a byte array representation.class
EntitySerialiser
Serialiser to serialise and deserialiseEntity
objects in a byte array representation.class
GroupedPropertiesSerialiser
Serialiser to serialise and deserialiseGroupedProperties
objects in a byte array representation.class
PropertiesSerialiser<T>
Serialiser to serialise and deserialise objects containingProperties
in a byte array representation.Constructors in uk.gov.gchq.gaffer.store.serialiser with parameters of type ToBytesSerialiser Constructor Description EdgeIdSerialiser(ToBytesSerialiser vertexSerialiser)
ElementIdSerialiser(ToBytesSerialiser vertexSerialiser)
EntityIdSerialiser(ToBytesSerialiser vertexSerialiser)
-
Uses of ToBytesSerialiser in uk.gov.gchq.gaffer.time.serialisation
Classes in uk.gov.gchq.gaffer.time.serialisation that implement ToBytesSerialiser Modifier and Type Class Description class
BoundedTimestampSetSerialiser
ABoundedTimestampSetSerialiser
serialises aBoundedTimestampSet
to an array of bytes.class
DeltaLongTimeSeriesSerialiser
Serialises aLongTimeSeries
by writing out the deltas between consecutive values in the timeseries.class
RBMBackedTimestampSetSerialiser
ARBMBackedTimestampSetSerialiser
serialises aRBMBackedTimestampSet
to an array of bytes. -
Uses of ToBytesSerialiser in uk.gov.gchq.gaffer.types
Methods in uk.gov.gchq.gaffer.types that return ToBytesSerialiser Modifier and Type Method Description ToBytesSerialiser<? super K>
CustomMap. getKeySerialiser()
ToBytesSerialiser<? super V>
CustomMap. getValueSerialiser()
Constructors in uk.gov.gchq.gaffer.types with parameters of type ToBytesSerialiser Constructor Description CustomMap(ToBytesSerialiser<? super K> keySerialiser, ToBytesSerialiser<? super V> valueSerialiser)
CustomMap(ToBytesSerialiser<? super K> keySerialiser, ToBytesSerialiser<? super V> valueSerialiser, HashSet<Pair<K,V>> interimPairs)
CustomMap(ToBytesSerialiser<? super K> keySerialiser, ToBytesSerialiser<? super V> valueSerialiser, Map<K,V> storageMap)
-