ValueIn.Reader| Modifier and Type | Method and Description |
|---|---|
<T> T |
applyToMarshallable(Function<WireIn,T> marshallableReader) |
boolean |
bool() |
WireIn |
bool(net.openhft.chronicle.core.values.BooleanValue ret) |
<T> WireIn |
bool(T t,
net.openhft.chronicle.core.util.ObjBooleanConsumer<T> tFlag) |
byte[] |
bytes() |
WireIn |
bytes(net.openhft.chronicle.bytes.BytesOut toBytes) |
WireIn |
bytes(net.openhft.chronicle.bytes.ReadBytesMarshallable wireInConsumer) |
WireIn |
bytesMatch(net.openhft.chronicle.bytes.BytesStore compareBytes,
net.openhft.chronicle.core.util.BooleanConsumer consumer) |
WireIn |
bytesSet(net.openhft.chronicle.bytes.PointerBytesStore toBytes) |
<T> WireIn |
date(T t,
BiConsumer<T,LocalDate> tLocalDate) |
float |
float32() |
<T> WireIn |
float32(T t,
net.openhft.chronicle.core.util.ObjFloatConsumer<T> tf) |
double |
float64() |
<T> WireIn |
float64(T t,
ObjDoubleConsumer<T> td) |
BracketType |
getBracketType() |
boolean |
hasNext() |
boolean |
hasNextSequenceItem() |
short |
int16() |
<T> WireIn |
int16(T t,
net.openhft.chronicle.core.util.ObjShortConsumer<T> ti) |
int |
int32() |
WireIn |
int32(net.openhft.chronicle.core.values.IntValue value) |
<T> WireIn |
int32(net.openhft.chronicle.core.values.IntValue value,
T t,
BiConsumer<T,net.openhft.chronicle.core.values.IntValue> setter) |
<T> WireIn |
int32(T t,
ObjIntConsumer<T> ti) |
long |
int64() |
WireIn |
int64(net.openhft.chronicle.core.values.LongValue value) |
<T> WireIn |
int64(net.openhft.chronicle.core.values.LongValue value,
T t,
BiConsumer<T,net.openhft.chronicle.core.values.LongValue> setter) |
<T> WireIn |
int64(T t,
ObjLongConsumer<T> tl) |
<T> WireIn |
int64array(net.openhft.chronicle.core.values.LongArrayValues values,
T t,
BiConsumer<T,net.openhft.chronicle.core.values.LongArrayValues> setter) |
byte |
int8() |
<T> WireIn |
int8(T t,
net.openhft.chronicle.core.util.ObjByteConsumer<T> tb) |
boolean |
isNull() |
boolean |
isTyped() |
<K,V> Map<K,V> |
map(Class<K> kClazz,
Class<V> vClass,
Map<K,V> usingMap)
reads the map from the wire
|
Object |
marshallable(Object object,
SerializationStrategy strategy) |
Object |
objectWithInferredType(Object using,
SerializationStrategy strategy,
Class type) |
long |
readLength()
the length of the field as bytes including any encoding and header character
|
void |
resetState() |
<T> boolean |
sequence(List<T> list,
List<T> buffer,
Supplier<T> bufferAdd,
ValueIn.Reader reader0) |
<T> boolean |
sequence(T t,
BiConsumer<T,ValueIn> tReader) |
<T,K> WireIn |
sequence(T t,
K kls,
TriConsumer<T,K,ValueIn> tReader) |
WireIn |
skipValue() |
String |
text() |
net.openhft.chronicle.bytes.Bytes |
textTo(net.openhft.chronicle.bytes.Bytes bytes) |
StringBuilder |
textTo(StringBuilder sb) |
<T> WireIn |
time(T t,
BiConsumer<T,LocalTime> setLocalTime) |
<K extends ReadMarshallable,V extends ReadMarshallable> |
typedMap(Map<K,V> usingMap) |
<T> T |
typedMarshallable() |
<T> Class<T> |
typeLiteral() |
<T> WireIn |
typeLiteralAsText(T t,
BiConsumer<T,CharSequence> ts) |
Class |
typePrefix() |
<T> ValueIn |
typePrefix(T t,
BiConsumer<T,CharSequence> ts) |
int |
uint16() |
<T> WireIn |
uint16(T t,
ObjIntConsumer<T> ti) |
<T> WireIn |
uint32(T t,
ObjLongConsumer<T> tl) |
<T> WireIn |
uint8(T t,
net.openhft.chronicle.core.util.ObjShortConsumer<T> ti) |
<T> WireIn |
uuid(T t,
BiConsumer<T,UUID> tuuid) |
WireIn |
wireIn() |
<T> WireIn |
zonedDateTime(T t,
BiConsumer<T,ZonedDateTime> tZonedDateTime) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitarray, array, array, array, array, array, arrayDelta, arrayDelta, asEnum, asEnum, asEnum, boolForBinding, byteBuffer, bytes, bytesLiteral, bytesLiteral, bytesStore, character, collection, collection, date, dateTime, float32, float64, int128, int32, int32ForBinding, int32ForBinding, int64, int64ForBinding, list, list, map, marshallable, marshallable, marshallableAsMap, marshallableAsMap, object, object, object, object, reader0, sequence, sequence, sequenceWithLength, set, set, text, text, text, throwable, time, typedMarshallable, typeLiteral, typeLiteral, typePrefixOrObject, uuid, zonedDateTime@Nullable public StringBuilder textTo(@NotNull StringBuilder sb)
@Nullable
public net.openhft.chronicle.bytes.Bytes textTo(@NotNull
net.openhft.chronicle.bytes.Bytes bytes)
@NotNull public WireIn bytes(@NotNull net.openhft.chronicle.bytes.BytesOut toBytes)
@Nullable public WireIn bytesSet(@NotNull net.openhft.chronicle.bytes.PointerBytesStore toBytes)
@NotNull public WireIn bytesMatch(@NotNull net.openhft.chronicle.bytes.BytesStore compareBytes, @NotNull net.openhft.chronicle.core.util.BooleanConsumer consumer)
bytesMatch in interface ValueIn@NotNull public WireIn bytes(@NotNull net.openhft.chronicle.bytes.ReadBytesMarshallable wireInConsumer)
public long readLength()
ValueInreadLength in interface ValueIn@NotNull public <T> WireIn bool(T t, @NotNull net.openhft.chronicle.core.util.ObjBooleanConsumer<T> tFlag)
@NotNull public <T> WireIn int8(@NotNull T t, @NotNull net.openhft.chronicle.core.util.ObjByteConsumer<T> tb)
@NotNull public <T> WireIn uint8(@NotNull T t, @NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> ti)
@NotNull public <T> WireIn int16(@NotNull T t, @NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> ti)
@NotNull public <T> WireIn uint16(@NotNull T t, @NotNull ObjIntConsumer<T> ti)
@NotNull public <T> WireIn int32(@NotNull T t, @NotNull ObjIntConsumer<T> ti)
@NotNull public <T> WireIn uint32(@NotNull T t, @NotNull ObjLongConsumer<T> tl)
@NotNull public <T> WireIn int64(@NotNull T t, @NotNull ObjLongConsumer<T> tl)
@NotNull public <T> WireIn float32(@NotNull T t, @NotNull net.openhft.chronicle.core.util.ObjFloatConsumer<T> tf)
@NotNull public <T> WireIn float64(@NotNull T t, @NotNull ObjDoubleConsumer<T> td)
@NotNull public <T> WireIn time(@NotNull T t, @NotNull BiConsumer<T,LocalTime> setLocalTime)
@NotNull public <T> WireIn zonedDateTime(@NotNull T t, @NotNull BiConsumer<T,ZonedDateTime> tZonedDateTime)
zonedDateTime in interface ValueIn@NotNull public <T> WireIn date(@NotNull T t, @NotNull BiConsumer<T,LocalDate> tLocalDate)
public boolean hasNextSequenceItem()
hasNextSequenceItem in interface ValueIn@NotNull public <T> WireIn uuid(@NotNull T t, @NotNull BiConsumer<T,UUID> tuuid)
@NotNull public <T> WireIn int64array(@Nullable net.openhft.chronicle.core.values.LongArrayValues values, T t, @NotNull BiConsumer<T,net.openhft.chronicle.core.values.LongArrayValues> setter)
int64array in interface ValueIn@NotNull public WireIn int64(@NotNull net.openhft.chronicle.core.values.LongValue value)
@NotNull public WireIn int32(@NotNull net.openhft.chronicle.core.values.IntValue value)
public WireIn bool(@NotNull net.openhft.chronicle.core.values.BooleanValue ret)
@NotNull public <T> WireIn int64(@Nullable net.openhft.chronicle.core.values.LongValue value, T t, @NotNull BiConsumer<T,net.openhft.chronicle.core.values.LongValue> setter)
@NotNull public <T> WireIn int32(@Nullable net.openhft.chronicle.core.values.IntValue value, T t, @NotNull BiConsumer<T,net.openhft.chronicle.core.values.IntValue> setter)
@NotNull
public <T> boolean sequence(@NotNull
T t,
@NotNull
BiConsumer<T,ValueIn> tReader)
public <T> boolean sequence(List<T> list, @NotNull List<T> buffer, Supplier<T> bufferAdd, ValueIn.Reader reader0)
@NotNull public <T,K> WireIn sequence(@NotNull T t, K kls, @NotNull TriConsumer<T,K,ValueIn> tReader)
@Nullable public <T> T applyToMarshallable(Function<WireIn,T> marshallableReader)
applyToMarshallable in interface ValueIn@Nullable
public <T> T typedMarshallable()
throws net.openhft.chronicle.core.io.IORuntimeException
typedMarshallable in interface ValueInnet.openhft.chronicle.core.io.IORuntimeException@NotNull public <T> ValueIn typePrefix(T t, @NotNull BiConsumer<T,CharSequence> ts)
typePrefix in interface ValueIn@NotNull public <T> WireIn typeLiteralAsText(T t, @NotNull BiConsumer<T,CharSequence> ts) throws net.openhft.chronicle.core.io.IORuntimeException, BufferUnderflowException
typeLiteralAsText in interface ValueInnet.openhft.chronicle.core.io.IORuntimeExceptionBufferUnderflowException@Nullable public Object marshallable(@NotNull Object object, SerializationStrategy strategy) throws BufferUnderflowException, net.openhft.chronicle.core.io.IORuntimeException
marshallable in interface ValueInBufferUnderflowExceptionnet.openhft.chronicle.core.io.IORuntimeExceptionpublic <K extends ReadMarshallable,V extends ReadMarshallable> void typedMap(@NotNull Map<K,V> usingMap)
@Nullable public <K,V> Map<K,V> map(@NotNull Class<K> kClazz, @NotNull Class<V> vClass, @NotNull Map<K,V> usingMap)
ValueInpublic boolean bool()
throws net.openhft.chronicle.core.io.IORuntimeException
@Nullable public <T> Class<T> typeLiteral() throws net.openhft.chronicle.core.io.IORuntimeException, BufferUnderflowException
typeLiteral in interface ValueInnet.openhft.chronicle.core.io.IORuntimeExceptionBufferUnderflowException@NotNull public BracketType getBracketType()
getBracketType in interface ValueInpublic Object objectWithInferredType(Object using, SerializationStrategy strategy, Class type)
objectWithInferredType in interface ValueInpublic Class typePrefix()
typePrefix in interface ValueInpublic void resetState()
resetState in interface ValueInCopyright © 2019. All rights reserved.