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
TextWire BinaryWire
|
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
Used typically for writing in conjunction with a readAny wire
Ideal when some bytes have to be read before the type is know, this type is subsequently set via
wireTypeSupplier
TextWire BinaryWire |
class |
JSONWire
JSON wire format
At the moment, this is a cut down version of the YAML 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 |
ResultSetWireIn |
class |
TextWire
YAML Based wire format
|
Modifier and Type | Field and Description |
---|---|
static WireIn |
Wires.EMPTY |
Modifier and Type | Method and Description |
---|---|
default <E extends Enum<E>> |
ValueIn.asEnum(Class<E> eClass,
Consumer<E> eConsumer) |
default <E extends Enum<E>,T> |
ValueIn.asEnum(Class<E> eClass,
T t,
BiConsumer<T,E> teConsumer) |
<T> WireIn |
DefaultValueIn.bool(T t,
net.openhft.chronicle.core.util.ObjBooleanConsumer<T> tFlag) |
<T> WireIn |
BinaryWire.BinaryValueIn.bool(T t,
net.openhft.chronicle.core.util.ObjBooleanConsumer<T> tFlag) |
<T> WireIn |
ValueIn.bool(T t,
net.openhft.chronicle.core.util.ObjBooleanConsumer<T> tFlag) |
WireIn |
DefaultValueIn.bytes(net.openhft.chronicle.bytes.BytesOut toBytes) |
WireIn |
BinaryWire.BinaryValueIn.bytes(net.openhft.chronicle.bytes.BytesOut toBytes) |
WireIn |
ValueIn.bytes(net.openhft.chronicle.bytes.BytesOut toBytes) |
WireIn |
BinaryWire.BinaryValueIn.bytes(net.openhft.chronicle.bytes.BytesOut toBytes,
boolean clearBytes) |
default WireIn |
ValueIn.bytes(net.openhft.chronicle.bytes.BytesOut toBytes,
boolean clearBytes) |
WireIn |
DefaultValueIn.bytes(net.openhft.chronicle.bytes.ReadBytesMarshallable wireInConsumer) |
WireIn |
BinaryWire.BinaryValueIn.bytes(net.openhft.chronicle.bytes.ReadBytesMarshallable bytesConsumer) |
WireIn |
ValueIn.bytes(net.openhft.chronicle.bytes.ReadBytesMarshallable bytesMarshallable) |
WireIn |
BinaryWire.BinaryValueIn.bytesLiteral(net.openhft.chronicle.bytes.BytesOut toBytes) |
default WireIn |
ValueIn.bytesLiteral(net.openhft.chronicle.bytes.BytesOut toBytes) |
WireIn |
DefaultValueIn.bytesMatch(net.openhft.chronicle.bytes.BytesStore compareBytes,
net.openhft.chronicle.core.util.BooleanConsumer consumer) |
WireIn |
BinaryWire.BinaryValueIn.bytesMatch(net.openhft.chronicle.bytes.BytesStore compareBytes,
net.openhft.chronicle.core.util.BooleanConsumer consumer) |
WireIn |
ValueIn.bytesMatch(net.openhft.chronicle.bytes.BytesStore compareBytes,
net.openhft.chronicle.core.util.BooleanConsumer consumer) |
WireIn |
DefaultValueIn.bytesSet(net.openhft.chronicle.bytes.PointerBytesStore toBytes) |
WireIn |
BinaryWire.BinaryValueIn.bytesSet(net.openhft.chronicle.bytes.PointerBytesStore toBytes) |
WireIn |
ValueIn.bytesSet(net.openhft.chronicle.bytes.PointerBytesStore toBytes) |
default <O,T extends ReadMarshallable,C extends Collection<T>> |
ValueIn.collection(O o,
Function<O,T> tSupplier) |
<T> WireIn |
DefaultValueIn.date(T t,
BiConsumer<T,LocalDate> tLocalDate) |
<T> WireIn |
BinaryWire.BinaryValueIn.date(T t,
BiConsumer<T,LocalDate> tLocalDate) |
<T> WireIn |
ValueIn.date(T t,
BiConsumer<T,LocalDate> tLocalDate) |
<T> WireIn |
DefaultValueIn.float32(T t,
net.openhft.chronicle.core.util.ObjFloatConsumer<T> tf) |
<T> WireIn |
BinaryWire.BinaryValueIn.float32(T t,
net.openhft.chronicle.core.util.ObjFloatConsumer<T> tf) |
<T> WireIn |
ValueIn.float32(T t,
net.openhft.chronicle.core.util.ObjFloatConsumer<T> tf) |
<T> WireIn |
DefaultValueIn.float64(T t,
ObjDoubleConsumer<T> td) |
<T> WireIn |
BinaryWire.BinaryValueIn.float64(T t,
ObjDoubleConsumer<T> td) |
<T> WireIn |
ValueIn.float64(T t,
ObjDoubleConsumer<T> td) |
<T> WireIn |
DefaultValueIn.int16(T t,
net.openhft.chronicle.core.util.ObjShortConsumer<T> ti) |
<T> WireIn |
BinaryWire.BinaryValueIn.int16(T t,
net.openhft.chronicle.core.util.ObjShortConsumer<T> ti) |
<T> WireIn |
ValueIn.int16(T t,
net.openhft.chronicle.core.util.ObjShortConsumer<T> ti) |
WireIn |
DefaultValueIn.int32(net.openhft.chronicle.core.values.IntValue value) |
WireIn |
BinaryWire.BinaryValueIn.int32(net.openhft.chronicle.core.values.IntValue value) |
WireIn |
ValueIn.int32(net.openhft.chronicle.core.values.IntValue value) |
<T> WireIn |
DefaultValueIn.int32(net.openhft.chronicle.core.values.IntValue value,
T t,
BiConsumer<T,net.openhft.chronicle.core.values.IntValue> setter) |
<T> WireIn |
BinaryWire.BinaryValueIn.int32(net.openhft.chronicle.core.values.IntValue value,
T t,
BiConsumer<T,net.openhft.chronicle.core.values.IntValue> setter) |
<T> WireIn |
ValueIn.int32(net.openhft.chronicle.core.values.IntValue value,
T t,
BiConsumer<T,net.openhft.chronicle.core.values.IntValue> setter) |
<T> WireIn |
DefaultValueIn.int32(T t,
ObjIntConsumer<T> ti) |
<T> WireIn |
BinaryWire.BinaryValueIn.int32(T t,
ObjIntConsumer<T> ti) |
<T> WireIn |
ValueIn.int32(T t,
ObjIntConsumer<T> ti) |
WireIn |
DefaultValueIn.int64(net.openhft.chronicle.core.values.LongValue value) |
WireIn |
BinaryWire.BinaryValueIn.int64(net.openhft.chronicle.core.values.LongValue value) |
WireIn |
ValueIn.int64(net.openhft.chronicle.core.values.LongValue value) |
<T> WireIn |
DefaultValueIn.int64(net.openhft.chronicle.core.values.LongValue value,
T t,
BiConsumer<T,net.openhft.chronicle.core.values.LongValue> setter) |
<T> WireIn |
BinaryWire.BinaryValueIn.int64(net.openhft.chronicle.core.values.LongValue value,
T t,
BiConsumer<T,net.openhft.chronicle.core.values.LongValue> setter) |
<T> WireIn |
ValueIn.int64(net.openhft.chronicle.core.values.LongValue value,
T t,
BiConsumer<T,net.openhft.chronicle.core.values.LongValue> setter) |
<T> WireIn |
DefaultValueIn.int64(T t,
ObjLongConsumer<T> tl) |
<T> WireIn |
BinaryWire.BinaryValueIn.int64(T t,
ObjLongConsumer<T> tl) |
<T> WireIn |
ValueIn.int64(T t,
ObjLongConsumer<T> tl) |
<T> WireIn |
DefaultValueIn.int64array(net.openhft.chronicle.core.values.LongArrayValues values,
T t,
BiConsumer<T,net.openhft.chronicle.core.values.LongArrayValues> setter) |
<T> WireIn |
BinaryWire.BinaryValueIn.int64array(net.openhft.chronicle.core.values.LongArrayValues values,
T t,
BiConsumer<T,net.openhft.chronicle.core.values.LongArrayValues> setter) |
<T> WireIn |
ValueIn.int64array(net.openhft.chronicle.core.values.LongArrayValues values,
T t,
BiConsumer<T,net.openhft.chronicle.core.values.LongArrayValues> setter) |
<T> WireIn |
DefaultValueIn.int8(T t,
net.openhft.chronicle.core.util.ObjByteConsumer<T> tb) |
<T> WireIn |
BinaryWire.BinaryValueIn.int8(T t,
net.openhft.chronicle.core.util.ObjByteConsumer<T> tb) |
<T> WireIn |
ValueIn.int8(T t,
net.openhft.chronicle.core.util.ObjByteConsumer<T> tb) |
default <O,T extends ReadMarshallable> |
ValueIn.list(O o,
Function<O,T> tSupplier) |
default <T,E> WireIn |
ValueIn.object(Class<E> clazz,
T t,
BiConsumer<T,E> e) |
default WireIn |
WireIn.readAlignTo(int alignment) |
WireIn |
RawWire.readAlignTo(int alignment) |
WireIn |
WireIn.readComment(StringBuilder sb) |
WireIn |
ResultSetWireIn.readComment(StringBuilder sb) |
WireIn |
AbstractAnyWire.readComment(StringBuilder sb) |
<T,K> WireIn |
DefaultValueIn.sequence(T t,
K kls,
TriConsumer<T,K,ValueIn> tReader) |
<T,K> WireIn |
BinaryWire.BinaryValueIn.sequence(T t,
K kls,
TriConsumer<T,K,ValueIn> tReader) |
<T,K> WireIn |
ValueIn.sequence(T t,
K k,
TriConsumer<T,K,ValueIn> tReader) |
default <O,T extends ReadMarshallable> |
ValueIn.set(O o,
Function<O,T> tSupplier) |
WireIn |
DefaultValueIn.skipValue() |
WireIn |
BinaryWire.BinaryValueIn.skipValue() |
WireIn |
ValueIn.skipValue() |
default WireIn |
ValueIn.text(net.openhft.chronicle.bytes.Bytes sdo) |
default WireIn |
ValueIn.text(StringBuilder sb) |
default <T> WireIn |
ValueIn.text(T t,
BiConsumer<T,String> ts) |
<T> WireIn |
DefaultValueIn.time(T t,
BiConsumer<T,LocalTime> setLocalTime) |
<T> WireIn |
BinaryWire.BinaryValueIn.time(T t,
BiConsumer<T,LocalTime> setLocalTime) |
<T> WireIn |
ValueIn.time(T t,
BiConsumer<T,LocalTime> setLocalTime) |
default <T> WireIn |
ValueIn.typeLiteral(T t,
BiConsumer<T,Class> classConsumer) |
default <T> WireIn |
ValueIn.typeLiteral(T t,
BiConsumer<T,Class> classConsumer,
Class defaultClass) |
<T> WireIn |
DefaultValueIn.typeLiteralAsText(T t,
BiConsumer<T,CharSequence> ts) |
<T> WireIn |
BinaryWire.BinaryValueIn.typeLiteralAsText(T t,
BiConsumer<T,CharSequence> classNameConsumer) |
<T> WireIn |
ValueIn.typeLiteralAsText(T t,
BiConsumer<T,CharSequence> classNameConsumer) |
<T> WireIn |
DefaultValueIn.uint16(T t,
ObjIntConsumer<T> ti) |
<T> WireIn |
BinaryWire.BinaryValueIn.uint16(T t,
ObjIntConsumer<T> ti) |
<T> WireIn |
ValueIn.uint16(T t,
ObjIntConsumer<T> ti) |
<T> WireIn |
DefaultValueIn.uint32(T t,
ObjLongConsumer<T> tl) |
<T> WireIn |
BinaryWire.BinaryValueIn.uint32(T t,
ObjLongConsumer<T> tl) |
<T> WireIn |
ValueIn.uint32(T t,
ObjLongConsumer<T> tl) |
<T> WireIn |
DefaultValueIn.uint8(T t,
net.openhft.chronicle.core.util.ObjShortConsumer<T> ti) |
<T> WireIn |
BinaryWire.BinaryValueIn.uint8(T t,
net.openhft.chronicle.core.util.ObjShortConsumer<T> ti) |
<T> WireIn |
ValueIn.uint8(T t,
net.openhft.chronicle.core.util.ObjShortConsumer<T> ti) |
<T> WireIn |
DefaultValueIn.uuid(T t,
BiConsumer<T,UUID> tuuid) |
<T> WireIn |
BinaryWire.BinaryValueIn.uuid(T t,
BiConsumer<T,UUID> tuuid) |
<T> WireIn |
ValueIn.uuid(T t,
BiConsumer<T,UUID> tuuid) |
WireIn |
DefaultValueIn.wireIn() |
WireIn |
BinaryWire.BinaryValueIn.wireIn() |
WireIn |
ValueIn.wireIn() |
<T> WireIn |
DefaultValueIn.zonedDateTime(T t,
BiConsumer<T,ZonedDateTime> tZonedDateTime) |
<T> WireIn |
BinaryWire.BinaryValueIn.zonedDateTime(T t,
BiConsumer<T,ZonedDateTime> tZonedDateTime) |
<T> WireIn |
ValueIn.zonedDateTime(T t,
BiConsumer<T,ZonedDateTime> tZonedDateTime) |
Modifier and Type | Method and Description |
---|---|
default void |
WireParser.accept(WireIn wireIn,
O marshallableOut) |
static CharSequence |
Wires.asText(WireIn wireIn) |
static String |
Wires.fromSizePrefixedBlobs(WireIn wireIn) |
static <T extends Demarshallable> |
Demarshallable.newInstance(Class<T> clazz,
WireIn wireIn) |
static WireDumper |
WireDumper.of(WireIn wireIn) |
default void |
WireParser.parseOne(WireIn wireIn,
O out) |
static void |
WireInternal.rawReadData(WireIn wireIn,
ReadMarshallable dataConsumer) |
static boolean |
WireInternal.readData(long offset,
WireIn wireIn,
ReadMarshallable metaDataConsumer,
ReadMarshallable dataConsumer) |
static boolean |
WireInternal.readData(WireIn wireIn,
ReadMarshallable metaDataConsumer,
ReadMarshallable dataConsumer) |
void |
ReadingMarshaller.readFromWire(T t,
WireIn in) |
static void |
Wires.readMarshallable(Object marshallable,
WireIn wire,
boolean overwrite) |
void |
WireMarshallerForUnexpectedFields.readMarshallable(T t,
WireIn in,
T defaults,
boolean overwrite) |
void |
WireMarshaller.readMarshallable(T t,
WireIn in,
T defaults,
boolean overwrite) |
default void |
Marshallable.readMarshallable(WireIn wire) |
void |
AbstractMarshallableCfg.readMarshallable(WireIn wire) |
void |
VanillaMessageHistory.readMarshallable(WireIn wire) |
void |
WireSerializedLambda.readMarshallable(WireIn wire) |
void |
ReadMarshallable.readMarshallable(WireIn wire)
Straight line ordered decoding.
|
static long |
Wires.readWire(WireIn wireIn,
long size,
ReadMarshallable readMarshallable) |
Modifier and Type | Method and Description |
---|---|
<T> T |
DefaultValueIn.applyToMarshallable(Function<WireIn,T> marshallableReader) |
<T> T |
BinaryWire.BinaryValueIn.applyToMarshallable(Function<WireIn,T> marshallableReader) |
<T> T |
ValueIn.applyToMarshallable(Function<WireIn,T> marshallableReader) |
Copyright © 2017. All rights reserved.