| Package | Description |
|---|---|
| net.openhft.chronicle.wire |
| 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 |
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
|
class |
YamlWire
YAML Based wire format
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull WireOut |
TextWire.addPadding(int paddingToAdd) |
@NotNull WireOut |
QueryWire.addPadding(int paddingToAdd) |
@NotNull WireOut |
BinaryWire.addPadding(int paddingToAdd) |
@NotNull WireOut |
RawWire.addPadding(int paddingToAdd) |
@NotNull WireOut |
YamlWire.addPadding(int paddingToAdd) |
@NotNull WireOut |
WireOut.addPadding(int paddingToAdd) |
@NotNull WireOut |
AbstractAnyWire.addPadding(int paddingToAdd) |
@NotNull WireOut |
HashWire.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 @NotNull WireOut |
ValueOut.array(@NotNull WriteValue writer,
@NotNull 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) |
@NotNull WireOut |
ValueOut.bool(Boolean flag)
scalar data types
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.bool(@Nullable Boolean flag) |
@NotNull WireOut |
ValueOut.boolForBinding(boolean value,
@NotNull net.openhft.chronicle.core.values.BooleanValue longValue) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.boolForBinding(boolean value,
@NotNull net.openhft.chronicle.core.values.BooleanValue booleanValue) |
@NotNull WireOut |
ValueOut.bytes(byte[] fromBytes) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.bytes(@NotNull byte[] fromBytes) |
@NotNull WireOut |
ValueOut.bytes(@Nullable net.openhft.chronicle.bytes.BytesStore fromBytes) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.bytes(@Nullable net.openhft.chronicle.bytes.BytesStore fromBytes) |
@NotNull WireOut |
ValueOut.bytes(String type,
byte[] fromBytes) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.bytes(String type,
@NotNull byte[] fromBytes) |
@NotNull WireOut |
ValueOut.bytes(String type,
@Nullable net.openhft.chronicle.bytes.BytesStore fromBytes) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.bytes(String type,
@Nullable net.openhft.chronicle.bytes.BytesStore fromBytes) |
default @NotNull WireOut |
ValueOut.bytesLiteral(@Nullable net.openhft.chronicle.bytes.BytesStore fromBytes) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.bytesLiteral(@Nullable net.openhft.chronicle.bytes.BytesStore fromBytes) |
default WireOut |
ValueOut.bytesMarshallable(net.openhft.chronicle.bytes.WriteBytesMarshallable value) |
WireOut |
BinaryWire.FixedBinaryValueOut.bytesMarshallable(net.openhft.chronicle.bytes.WriteBytesMarshallable object) |
default @NotNull WireOut |
ValueOut.character(char c) |
default <V> @NotNull WireOut |
ValueOut.collection(Collection<V> coll,
Class<V> assumedClass) |
default @NotNull WireOut |
ValueOut.compress(@NotNull String compression,
@Nullable net.openhft.chronicle.bytes.Bytes uncompressedBytes) |
default @NotNull WireOut |
ValueOut.compress(@NotNull String compression,
@Nullable String str)
Deprecated.
|
@NotNull WireOut |
ValueOut.date(LocalDate localDate) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.date(@NotNull LocalDate localDate) |
@NotNull WireOut |
ValueOut.dateTime(LocalDateTime localDateTime) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.dateTime(@NotNull LocalDateTime localDateTime) |
@NotNull WireOut |
TextWire.dropDefault(boolean dropDefault) |
@NotNull WireOut |
YamlWire.dropDefault(boolean dropDefault) |
default @NotNull WireOut |
WireOut.dropDefault(boolean dropDefault) |
default @NotNull WireOut |
ValueOut.fixedFloat32(float value) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.fixedFloat32(float f) |
default @NotNull WireOut |
ValueOut.fixedFloat64(double value) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.fixedFloat64(double d) |
default @NotNull WireOut |
ValueOut.fixedInt16(short value) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.fixedInt16(short i16) |
default @NotNull WireOut |
ValueOut.fixedInt32(int value) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.fixedInt32(int i32) |
default @NotNull WireOut |
ValueOut.fixedInt64(long value) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.fixedInt64(long i64) |
default @NotNull WireOut |
ValueOut.fixedInt8(byte value) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.fixedInt8(byte i8) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.fixedOrderedInt32(int i32) |
@NotNull WireOut |
ValueOut.float32(float f) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.float32(float f) |
@NotNull WireOut |
BinaryWire.BinaryValueOut.float32(float f) |
default @NotNull WireOut |
ValueOut.float32(float f,
float previous) |
@NotNull WireOut |
ValueOut.float64(double d) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.float64(double d) |
@NotNull WireOut |
BinaryWire.BinaryValueOut.float64(double d) |
default @NotNull WireOut |
ValueOut.float64(double d,
double previous) |
@NotNull WireOut |
WireCommon.headerNumber(long headerNumber) |
@NotNull WireOut |
HashWire.headerNumber(long headerNumber) |
default @NotNull WireOut |
ValueOut.int128forBinding(long value,
long value2) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int128forBinding(long value,
long value2) |
@NotNull WireOut |
ValueOut.int128forBinding(long i64x0,
long i64x1,
net.openhft.chronicle.core.values.TwoLongValue value) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int128forBinding(long i64x0,
long i64x1,
net.openhft.chronicle.core.values.TwoLongValue longValue) |
default @NotNull WireOut |
ValueOut.int16(long x) |
@NotNull WireOut |
ValueOut.int16(short i16) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int16(short i16) |
@NotNull WireOut |
BinaryWire.BinaryValueOut.int16(short i16) |
@NotNull WireOut |
ValueOut.int32(int i32) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int32(int i32) |
@NotNull WireOut |
BinaryWire.BinaryValueOut.int32(int i32) |
default @NotNull WireOut |
ValueOut.int32(int i32,
int previous) |
default @NotNull WireOut |
ValueOut.int32(long x) |
@NotNull WireOut |
ValueOut.int32forBinding(int value) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int32forBinding(int value) |
@NotNull WireOut |
ValueOut.int32forBinding(int value,
@NotNull net.openhft.chronicle.core.values.IntValue intValue) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int32forBinding(int value,
@NotNull net.openhft.chronicle.core.values.IntValue intValue) |
@NotNull WireOut |
ValueOut.int64_0x(long i64) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int64_0x(long i64) |
@NotNull WireOut |
ValueOut.int64(long i64) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int64(long i64) |
@NotNull WireOut |
BinaryWire.BinaryValueOut.int64(long i64) |
default @NotNull WireOut |
ValueOut.int64(long i64,
long previous) |
@NotNull WireOut |
ValueOut.int64array(long capacity) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int64array(long capacity) |
@NotNull WireOut |
ValueOut.int64array(long capacity,
net.openhft.chronicle.core.values.LongArrayValues values) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int64array(long capacity,
@NotNull net.openhft.chronicle.core.values.LongArrayValues values) |
@NotNull WireOut |
ValueOut.int64forBinding(long value) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int64forBinding(long value) |
@NotNull WireOut |
ValueOut.int64forBinding(long value,
@NotNull net.openhft.chronicle.core.values.LongValue longValue) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int64forBinding(long value,
@NotNull net.openhft.chronicle.core.values.LongValue longValue) |
@NotNull WireOut |
ValueOut.int8(byte i8) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int8(byte i8) |
@NotNull WireOut |
BinaryWire.BinaryValueOut.int8(byte i8) |
default @NotNull WireOut |
ValueOut.int8(long x) |
default <V> @NotNull WireOut |
ValueOut.list(List<V> coll) |
default <V> @NotNull WireOut |
ValueOut.list(List<V> coll,
Class<V> assumedClass) |
@NotNull WireOut |
ValueOut.map(Map map)
Deprecated.
use marshallable(map) or object(map)
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.map(Map map) |
default <K,V> @NotNull WireOut |
ValueOut.marshallable(Map<K,V> map) |
default <K,V> @NotNull WireOut |
ValueOut.marshallable(@Nullable Map<K,V> map,
@NotNull Class<K> kClass,
@NotNull Class<V> vClass,
boolean leaf) |
@NotNull WireOut |
ValueOut.marshallable(Serializable object) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.marshallable(@NotNull Serializable object) |
@NotNull WireOut |
ValueOut.marshallable(WriteMarshallable object) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.marshallable(@NotNull WriteMarshallable object) |
default @NotNull WireOut |
ValueOut.nu11() |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.nu11() |
default <V> @NotNull WireOut |
ValueOut.object(@NotNull Class<V> expectedType,
V v) |
default @NotNull WireOut |
ValueOut.object(@Nullable Object value) |
default @NotNull 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.
|
@NotNull WireOut |
ValueOut.rawBytes(byte[] value) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.rawBytes(@NotNull byte[] value) |
default @NotNull WireOut |
ValueOut.rawText(CharSequence value) |
default <T> @NotNull WireOut |
ValueOut.sequence(Iterable<T> t) |
<T> @NotNull WireOut |
ValueOut.sequence(T t,
BiConsumer<T,ValueOut> writer) |
<T> @NotNull WireOut |
BinaryWire.FixedBinaryValueOut.sequence(T t,
@NotNull BiConsumer<T,ValueOut> writer) |
<T,K> @NotNull WireOut |
ValueOut.sequence(T t,
K kls,
TriConsumer<T,K,ValueOut> writer) |
<T,K> @NotNull WireOut |
BinaryWire.FixedBinaryValueOut.sequence(T t,
K kls,
@NotNull TriConsumer<T,K,ValueOut> writer) |
default @NotNull WireOut |
ValueOut.sequence(WriteValue writer) |
default <T,K> WireOut |
ValueOut.sequenceWithLength(T t,
int length,
ObjectIntObjectConsumer<T,ValueOut> writer) |
default <V> @NotNull WireOut |
ValueOut.set(Set<V> coll) |
default <V> @NotNull WireOut |
ValueOut.set(Set<V> coll,
Class<V> assumedClass) |
default @NotNull WireOut |
ValueOut.text(@Nullable net.openhft.chronicle.bytes.BytesStore s) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.text(@Nullable net.openhft.chronicle.bytes.BytesStore s) |
default @NotNull WireOut |
ValueOut.text(char c) |
@NotNull WireOut |
ValueOut.text(@Nullable CharSequence s) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.text(@Nullable CharSequence s) |
default @NotNull WireOut |
ValueOut.text(@Nullable String s) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.text(@Nullable String s) |
default @NotNull WireOut |
ValueOut.throwable(@NotNull Throwable t) |
@NotNull WireOut |
ValueOut.time(LocalTime localTime) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.time(@NotNull LocalTime localTime) |
@NotNull WireOut |
ValueOut.typedMap(@NotNull Map<? extends WriteMarshallable,? extends Marshallable> map)
Deprecated.
use typedMarshallable(map) or object(map)
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.typedMap(@NotNull Map<? extends WriteMarshallable,? extends Marshallable> map) |
default @NotNull WireOut |
ValueOut.typedMarshallable(CharSequence typeName,
WriteMarshallable object) |
default @NotNull WireOut |
ValueOut.typedMarshallable(@Nullable Serializable object) |
default @NotNull WireOut |
ValueOut.typedMarshallable(@Nullable WriteMarshallable marshallable)
To be used when you know it is a typed marshallable object.
|
default @NotNull WireOut |
ValueOut.typedScalar(@NotNull Object value) |
@NotNull WireOut |
ValueOut.typeLiteral(@NotNull BiConsumer<Class,net.openhft.chronicle.bytes.Bytes> typeTranslator,
@Nullable Class type) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.typeLiteral(@NotNull BiConsumer<Class,net.openhft.chronicle.bytes.Bytes> typeTranslator,
@Nullable Class type) |
@NotNull WireOut |
ValueOut.typeLiteral(@Nullable CharSequence type) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.typeLiteral(CharSequence typeName) |
default @NotNull WireOut |
ValueOut.typeLiteral(@Nullable Class type) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.typeLiteral(@Nullable Class type) |
default @NotNull WireOut |
ValueOut.typeLiteral(@Nullable Type type) |
default @NotNull WireOut |
ValueOut.uint16(long x) |
@NotNull WireOut |
ValueOut.uint16checked(int u16) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.uint16checked(int u16) |
@NotNull WireOut |
BinaryWire.BinaryValueOut.uint16checked(int u16) |
default @NotNull WireOut |
ValueOut.uint32(long x) |
@NotNull WireOut |
ValueOut.uint32checked(long u32) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.uint32checked(long u32) |
@NotNull WireOut |
BinaryWire.BinaryValueOut.uint32checked(long u32) |
default @NotNull WireOut |
ValueOut.uint8(int x) |
@NotNull WireOut |
ValueOut.uint8checked(int u8) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.uint8checked(int u8) |
@NotNull WireOut |
BinaryWire.BinaryValueOut.uint8checked(int u8) |
default @NotNull WireOut |
ValueOut.untypedObject(@Nullable Object value) |
@NotNull WireOut |
ValueOut.utf8(int codepoint) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.utf8(int codepoint) |
@NotNull WireOut |
ValueOut.uuid(UUID uuid) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.uuid(@NotNull UUID uuid) |
@NotNull WireOut |
ValueOut.wireOut() |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.wireOut() |
default @NotNull WireOut |
WireOut.writeAlignTo(int alignment,
int plus) |
default WireOut |
ValueOut.writeBoolean(boolean x) |
default WireOut |
ValueOut.writeByte(byte x) |
default WireOut |
ValueOut.writeChar(char x) |
@NotNull WireOut |
WireOut.writeComment(CharSequence s) |
@NotNull WireOut |
AbstractAnyWire.writeComment(CharSequence s) |
@NotNull WireOut |
HashWire.writeComment(CharSequence s) |
default WireOut |
ValueOut.writeDouble(double x) |
default WireOut |
ValueOut.writeFloat(float x) |
default WireOut |
ValueOut.writeInt(int x) |
default WireOut |
ValueOut.writeLong(long x) |
default WireOut |
ValueOut.writeLong(LongConverter longConverter,
long l) |
WireOut |
BinaryWire.BinaryValueOut.writeLong(LongConverter longConverter,
long l) |
default WireOut |
ValueOut.writeShort(short x) |
default WireOut |
ValueOut.writeString(CharSequence x) |
@NotNull WireOut |
ValueOut.zonedDateTime(ZonedDateTime zonedDateTime) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.zonedDateTime(@NotNull ZonedDateTime zonedDateTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
BinaryWire.copyOne(@NotNull WireOut wire) |
void |
TextWire.copyTo(@NotNull WireOut wire) |
void |
WireIn.copyTo(@NotNull WireOut wire) |
void |
JSONWire.copyTo(@NotNull WireOut wire) |
void |
BinaryWire.copyTo(@NotNull WireOut wire) |
void |
RawWire.copyTo(@NotNull WireOut wire) |
void |
YamlWire.copyTo(@NotNull WireOut wire) |
void |
AbstractAnyWire.copyTo(@NotNull WireOut wire) |
void |
BinaryWire.readWithLength(@NotNull WireOut wire,
int len) |
static long |
WireInternal.writeData(@NotNull WireOut wireOut,
boolean metaData,
boolean notComplete,
@NotNull WriteMarshallable writer) |
static <T extends WriteMarshallable> |
Wires.writeData(@NotNull WireOut wireOut,
T writer) |
static void |
Wires.writeMarshallable(@NotNull Object marshallable,
@NotNull WireOut wire) |
static void |
Wires.writeMarshallable(@NotNull Object marshallable,
@NotNull WireOut wire,
boolean writeDefault) |
static void |
Wires.writeMarshallable(@NotNull Object marshallable,
@NotNull WireOut wire,
@NotNull Object previous,
boolean copy) |
void |
WireMarshaller.writeMarshallable(T t,
@NotNull WireOut out) |
void |
WireMarshaller.writeMarshallable(T t,
@NotNull WireOut out,
T previous,
boolean copy) |
void |
WriteMarshallable.writeMarshallable(@NotNull WireOut wire)
Write data to the wire
|
void |
LongValueBitSet.writeMarshallable(@NotNull WireOut wire) |
default void |
Marshallable.writeMarshallable(@NotNull WireOut wire) |
void |
VanillaMessageHistory.writeMarshallable(@NotNull WireOut wire) |
void |
AbstractBytesMarshallable.writeMarshallable(@NotNull WireOut wire)
Deprecated.
|
void |
AbstractMarshallableCfg.writeMarshallable(@NotNull WireOut wire) |
void |
WritingMarshaller.writeToWire(T t,
WireOut out) |
Copyright © 2020. All rights reserved.