Modifier and Type | Interface and Description |
---|---|
interface |
Wire
The defines the stand interface for writing and reading sequentially to/from a Bytes stream.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAnyWire
A wire type than can be either
|
class |
AbstractWire |
class |
BinaryWire
This Wire is a binary translation of TextWire which is a sub set of YAML.
|
class |
CSVWire
YAML Based wire format
|
class |
DeferredTypeWire
Deprecated.
|
class |
HashWire |
class |
JSONWire
JSON wire format
|
class |
QueryWire
This wire decodes URL query strings.
|
class |
RawWire
This format writes just the data, without meta data.
|
class |
ReadAnyWire
A wire type than can be either
|
class |
TextWire
YAML Based wire format
|
Modifier and Type | Method and Description |
---|---|
WireOut |
HashWire.addPadding(int paddingToAdd) |
WireOut |
TextWire.addPadding(int paddingToAdd) |
WireOut |
BinaryWire.addPadding(int paddingToAdd) |
WireOut |
AbstractAnyWire.addPadding(int paddingToAdd) |
WireOut |
RawWire.addPadding(int paddingToAdd) |
WireOut |
QueryWire.addPadding(int paddingToAdd) |
WireOut |
WireOut.addPadding(int paddingToAdd) |
default WireOut |
ValueOut.array(boolean[] array,
int length) |
default WireOut |
ValueOut.array(byte[] array,
int length) |
default WireOut |
ValueOut.array(net.openhft.chronicle.bytes.Bytes[] array,
int length) |
default WireOut |
ValueOut.array(double[] array,
int length) |
default WireOut |
ValueOut.array(int[] array,
int length) |
default WireOut |
ValueOut.array(long[] array,
int length) |
default WireOut |
ValueOut.array(WriteValue writer,
Class arrayType) |
default WireOut |
ValueOut.arrayDelta(double[] array,
int length)
This write values relative to the first one using 6 digit precision
|
default WireOut |
ValueOut.arrayDelta(long[] array,
int length) |
default <E extends Enum<E>> |
ValueOut.asEnum(E e) |
WireOut |
ValueOut.bool(Boolean flag)
scalar data types
|
WireOut |
BinaryWire.FixedBinaryValueOut.bool(Boolean flag) |
WireOut |
ValueOut.boolForBinding(boolean value,
net.openhft.chronicle.core.values.BooleanValue longValue) |
WireOut |
BinaryWire.FixedBinaryValueOut.boolForBinding(boolean value,
net.openhft.chronicle.core.values.BooleanValue booleanValue) |
WireOut |
ValueOut.bytes(byte[] fromBytes) |
WireOut |
BinaryWire.FixedBinaryValueOut.bytes(byte[] fromBytes) |
WireOut |
ValueOut.bytes(net.openhft.chronicle.bytes.BytesStore fromBytes) |
WireOut |
BinaryWire.FixedBinaryValueOut.bytes(net.openhft.chronicle.bytes.BytesStore fromBytes) |
WireOut |
ValueOut.bytes(String type,
byte[] fromBytes) |
WireOut |
BinaryWire.FixedBinaryValueOut.bytes(String type,
byte[] fromBytes) |
WireOut |
ValueOut.bytes(String type,
net.openhft.chronicle.bytes.BytesStore fromBytes) |
WireOut |
BinaryWire.FixedBinaryValueOut.bytes(String type,
net.openhft.chronicle.bytes.BytesStore fromBytes) |
default WireOut |
ValueOut.bytesLiteral(net.openhft.chronicle.bytes.BytesStore fromBytes) |
WireOut |
BinaryWire.FixedBinaryValueOut.bytesLiteral(net.openhft.chronicle.bytes.BytesStore fromBytes) |
default WireOut |
ValueOut.character(char c) |
default <V> WireOut |
ValueOut.collection(Collection<V> coll,
Class<V> assumedClass) |
default WireOut |
ValueOut.compress(String compression,
net.openhft.chronicle.bytes.Bytes uncompressedBytes) |
default WireOut |
ValueOut.compress(String compression,
String str)
Deprecated.
|
WireOut |
ValueOut.date(LocalDate localDate) |
WireOut |
BinaryWire.FixedBinaryValueOut.date(LocalDate localDate) |
WireOut |
ValueOut.dateTime(LocalDateTime localDateTime) |
WireOut |
BinaryWire.FixedBinaryValueOut.dateTime(LocalDateTime localDateTime) |
WireOut |
TextWire.dropDefault(boolean dropDefault) |
default WireOut |
WireOut.dropDefault(boolean dropDefault) |
default WireOut |
ValueOut.fixedFloat32(float value) |
WireOut |
BinaryWire.FixedBinaryValueOut.fixedFloat32(float f) |
default WireOut |
ValueOut.fixedFloat64(double value) |
WireOut |
BinaryWire.FixedBinaryValueOut.fixedFloat64(double d) |
default WireOut |
ValueOut.fixedInt16(short value) |
WireOut |
BinaryWire.FixedBinaryValueOut.fixedInt16(short i16) |
default WireOut |
ValueOut.fixedInt32(int value) |
WireOut |
BinaryWire.FixedBinaryValueOut.fixedInt32(int i32) |
default WireOut |
ValueOut.fixedInt64(long value) |
WireOut |
BinaryWire.FixedBinaryValueOut.fixedInt64(long i64) |
default WireOut |
ValueOut.fixedInt8(byte value) |
WireOut |
BinaryWire.FixedBinaryValueOut.fixedInt8(byte i8) |
WireOut |
BinaryWire.FixedBinaryValueOut.fixedOrderedInt32(int i32) |
WireOut |
ValueOut.float32(float f) |
WireOut |
BinaryWire.FixedBinaryValueOut.float32(float f) |
WireOut |
BinaryWire.BinaryValueOut.float32(float f) |
default WireOut |
ValueOut.float32(float f,
float previous) |
WireOut |
ValueOut.float64(double d) |
WireOut |
BinaryWire.FixedBinaryValueOut.float64(double d) |
WireOut |
BinaryWire.BinaryValueOut.float64(double d) |
default WireOut |
ValueOut.float64(double d,
double previous) |
WireOut |
HashWire.headerNumber(long headerNumber) |
WireOut |
WireCommon.headerNumber(long headerNumber) |
default WireOut |
ValueOut.int128forBinding(long value,
long value2) |
WireOut |
BinaryWire.FixedBinaryValueOut.int128forBinding(long value,
long value2) |
WireOut |
ValueOut.int128forBinding(long i64x0,
long i64x1,
net.openhft.chronicle.core.values.TwoLongValue value) |
WireOut |
BinaryWire.FixedBinaryValueOut.int128forBinding(long i64x0,
long i64x1,
net.openhft.chronicle.core.values.TwoLongValue longValue) |
default WireOut |
ValueOut.int16(long x) |
WireOut |
ValueOut.int16(short i16) |
WireOut |
BinaryWire.FixedBinaryValueOut.int16(short i16) |
WireOut |
BinaryWire.BinaryValueOut.int16(short i16) |
WireOut |
ValueOut.int32(int i32) |
WireOut |
BinaryWire.FixedBinaryValueOut.int32(int i32) |
WireOut |
BinaryWire.BinaryValueOut.int32(int i32) |
default WireOut |
ValueOut.int32(int i32,
int previous) |
default WireOut |
ValueOut.int32(long x) |
WireOut |
ValueOut.int32forBinding(int value) |
WireOut |
BinaryWire.FixedBinaryValueOut.int32forBinding(int value) |
WireOut |
ValueOut.int32forBinding(int value,
net.openhft.chronicle.core.values.IntValue intValue) |
WireOut |
BinaryWire.FixedBinaryValueOut.int32forBinding(int value,
net.openhft.chronicle.core.values.IntValue intValue) |
WireOut |
ValueOut.int64_0x(long i64) |
WireOut |
BinaryWire.FixedBinaryValueOut.int64_0x(long i64) |
WireOut |
ValueOut.int64(long i64) |
WireOut |
BinaryWire.FixedBinaryValueOut.int64(long i64) |
WireOut |
BinaryWire.BinaryValueOut.int64(long i64) |
default WireOut |
ValueOut.int64(long i64,
long previous) |
WireOut |
ValueOut.int64array(long capacity) |
WireOut |
BinaryWire.FixedBinaryValueOut.int64array(long capacity) |
WireOut |
ValueOut.int64array(long capacity,
net.openhft.chronicle.core.values.LongArrayValues values) |
WireOut |
BinaryWire.FixedBinaryValueOut.int64array(long capacity,
net.openhft.chronicle.core.values.LongArrayValues values) |
WireOut |
ValueOut.int64forBinding(long value) |
WireOut |
BinaryWire.FixedBinaryValueOut.int64forBinding(long value) |
WireOut |
ValueOut.int64forBinding(long value,
net.openhft.chronicle.core.values.LongValue longValue) |
WireOut |
BinaryWire.FixedBinaryValueOut.int64forBinding(long value,
net.openhft.chronicle.core.values.LongValue longValue) |
WireOut |
ValueOut.int8(byte i8) |
WireOut |
BinaryWire.FixedBinaryValueOut.int8(byte i8) |
WireOut |
BinaryWire.BinaryValueOut.int8(byte i8) |
default WireOut |
ValueOut.int8(long x) |
default <V> WireOut |
ValueOut.list(List<V> coll) |
default <V> WireOut |
ValueOut.list(List<V> coll,
Class<V> assumedClass) |
WireOut |
ValueOut.map(Map map)
Deprecated.
use marshallable(map) or object(map)
|
WireOut |
BinaryWire.FixedBinaryValueOut.map(Map map) |
default <K,V> WireOut |
ValueOut.marshallable(Map<K,V> map) |
default <K,V> WireOut |
ValueOut.marshallable(Map<K,V> map,
Class<K> kClass,
Class<V> vClass,
boolean leaf) |
WireOut |
ValueOut.marshallable(Serializable object) |
WireOut |
BinaryWire.FixedBinaryValueOut.marshallable(Serializable object) |
WireOut |
ValueOut.marshallable(WriteMarshallable object) |
WireOut |
BinaryWire.FixedBinaryValueOut.marshallable(WriteMarshallable object) |
default WireOut |
ValueOut.nu11() |
WireOut |
BinaryWire.FixedBinaryValueOut.nu11() |
default <V> WireOut |
ValueOut.object(Class<V> expectedType,
V v) |
default WireOut |
ValueOut.object(Object value) |
default WireOut |
WireOut.padToCacheAlign()
If near the end of a cache line, pad it so a following 4-byte int value will not split a
cache line.
|
WireOut |
ValueOut.rawBytes(byte[] value) |
WireOut |
BinaryWire.FixedBinaryValueOut.rawBytes(byte[] value) |
default WireOut |
ValueOut.rawText(CharSequence value) |
default <T> WireOut |
ValueOut.sequence(Iterable<T> t) |
<T> WireOut |
ValueOut.sequence(T t,
BiConsumer<T,ValueOut> writer) |
<T> WireOut |
BinaryWire.FixedBinaryValueOut.sequence(T t,
BiConsumer<T,ValueOut> writer) |
<T,K> WireOut |
ValueOut.sequence(T t,
K kls,
TriConsumer<T,K,ValueOut> writer) |
<T,K> WireOut |
BinaryWire.FixedBinaryValueOut.sequence(T t,
K kls,
TriConsumer<T,K,ValueOut> writer) |
default WireOut |
ValueOut.sequence(WriteValue writer) |
default <T,K> WireOut |
ValueOut.sequenceWithLength(T t,
int length,
ObjectIntObjectConsumer<T,ValueOut> writer) |
default <V> WireOut |
ValueOut.set(Set<V> coll) |
default <V> WireOut |
ValueOut.set(Set<V> coll,
Class<V> assumedClass) |
default WireOut |
ValueOut.text(net.openhft.chronicle.bytes.BytesStore s) |
WireOut |
BinaryWire.FixedBinaryValueOut.text(net.openhft.chronicle.bytes.BytesStore s) |
default WireOut |
ValueOut.text(char c) |
WireOut |
ValueOut.text(CharSequence s) |
WireOut |
BinaryWire.FixedBinaryValueOut.text(CharSequence s) |
default WireOut |
ValueOut.text(String s) |
WireOut |
BinaryWire.FixedBinaryValueOut.text(String s) |
default WireOut |
ValueOut.throwable(Throwable t) |
WireOut |
ValueOut.time(LocalTime localTime) |
WireOut |
BinaryWire.FixedBinaryValueOut.time(LocalTime localTime) |
WireOut |
ValueOut.typedMap(Map<? extends WriteMarshallable,? extends Marshallable> map)
Deprecated.
use typedMarshallable(map) or object(map)
|
WireOut |
BinaryWire.FixedBinaryValueOut.typedMap(Map<? extends WriteMarshallable,? extends Marshallable> map) |
default WireOut |
ValueOut.typedMarshallable(CharSequence typeName,
WriteMarshallable object) |
default WireOut |
ValueOut.typedMarshallable(Serializable object) |
default WireOut |
ValueOut.typedMarshallable(WriteMarshallable marshallable)
To be used when you know it is a typed marshallable object.
|
default WireOut |
ValueOut.typedScalar(Object value) |
WireOut |
ValueOut.typeLiteral(BiConsumer<Class,net.openhft.chronicle.bytes.Bytes> typeTranslator,
Class type) |
WireOut |
BinaryWire.FixedBinaryValueOut.typeLiteral(BiConsumer<Class,net.openhft.chronicle.bytes.Bytes> typeTranslator,
Class type) |
WireOut |
ValueOut.typeLiteral(CharSequence type) |
WireOut |
BinaryWire.FixedBinaryValueOut.typeLiteral(CharSequence type) |
default WireOut |
ValueOut.typeLiteral(Class type) |
WireOut |
BinaryWire.FixedBinaryValueOut.typeLiteral(Class type) |
default WireOut |
ValueOut.typeLiteral(Type type) |
default WireOut |
ValueOut.uint16(long x) |
WireOut |
ValueOut.uint16checked(int u16) |
WireOut |
BinaryWire.FixedBinaryValueOut.uint16checked(int u16) |
WireOut |
BinaryWire.BinaryValueOut.uint16checked(int u16) |
default WireOut |
ValueOut.uint32(long x) |
WireOut |
ValueOut.uint32checked(long u32) |
WireOut |
BinaryWire.FixedBinaryValueOut.uint32checked(long u32) |
WireOut |
BinaryWire.BinaryValueOut.uint32checked(long u32) |
default WireOut |
ValueOut.uint8(int x) |
WireOut |
ValueOut.uint8checked(int u8) |
WireOut |
BinaryWire.FixedBinaryValueOut.uint8checked(int u8) |
WireOut |
BinaryWire.BinaryValueOut.uint8checked(int u8) |
default WireOut |
ValueOut.untypedObject(Object value) |
WireOut |
ValueOut.utf8(int codepoint) |
WireOut |
BinaryWire.FixedBinaryValueOut.utf8(int codepoint) |
WireOut |
ValueOut.uuid(UUID uuid) |
WireOut |
BinaryWire.FixedBinaryValueOut.uuid(UUID uuid) |
WireOut |
ValueOut.wireOut() |
WireOut |
BinaryWire.FixedBinaryValueOut.wireOut() |
default WireOut |
WireOut.writeAlignTo(int alignment,
int plus) |
WireOut |
HashWire.writeComment(CharSequence s) |
WireOut |
AbstractAnyWire.writeComment(CharSequence s) |
WireOut |
WireOut.writeComment(CharSequence s) |
WireOut |
ValueOut.zonedDateTime(ZonedDateTime zonedDateTime) |
WireOut |
BinaryWire.FixedBinaryValueOut.zonedDateTime(ZonedDateTime zonedDateTime) |
Modifier and Type | Method and Description |
---|---|
void |
BinaryWire.copyOne(WireOut wire) |
void |
WireIn.copyTo(WireOut wire) |
void |
JSONWire.copyTo(WireOut wire) |
void |
TextWire.copyTo(WireOut wire) |
void |
BinaryWire.copyTo(WireOut wire) |
void |
AbstractAnyWire.copyTo(WireOut wire) |
void |
RawWire.copyTo(WireOut wire) |
void |
BinaryWire.readWithLength(WireOut wire,
int len) |
static long |
WireInternal.writeData(WireOut wireOut,
boolean metaData,
boolean notComplete,
WriteMarshallable writer) |
static <T extends WriteMarshallable> |
Wires.writeData(WireOut wireOut,
T writer) |
static void |
Wires.writeMarshallable(Object marshallable,
WireOut wire) |
static void |
Wires.writeMarshallable(Object marshallable,
WireOut wire,
boolean writeDefault) |
static void |
Wires.writeMarshallable(Object marshallable,
WireOut wire,
Object previous,
boolean copy) |
void |
WireMarshaller.writeMarshallable(T t,
WireOut out) |
void |
WireMarshaller.writeMarshallable(T t,
WireOut out,
T previous,
boolean copy) |
void |
LongValueBitSet.writeMarshallable(WireOut wire) |
default void |
Marshallable.writeMarshallable(WireOut wire) |
void |
AbstractMarshallableCfg.writeMarshallable(WireOut wire) |
void |
AbstractBytesMarshallable.writeMarshallable(WireOut wire) |
void |
VanillaMessageHistory.writeMarshallable(WireOut wire) |
void |
WriteMarshallable.writeMarshallable(WireOut wire)
Write data to the wire
|
void |
WritingMarshaller.writeToWire(T t,
WireOut out) |
Copyright © 2019. All rights reserved.