ValueIn.Reader| Modifier and Type | Method and Description |
|---|---|
<T> T |
applyToMarshallable(Function<WireIn,T> marshallableReader) |
boolean |
bool() |
WireIn |
bool(@NotNull net.openhft.chronicle.core.values.BooleanValue ret) |
<T> @NotNull WireIn |
bool(T t,
@NotNull net.openhft.chronicle.core.util.ObjBooleanConsumer<T> tFlag) |
byte[] |
bytes() |
@NotNull WireIn |
bytes(@NotNull net.openhft.chronicle.bytes.BytesOut toBytes) |
@NotNull WireIn |
bytes(@NotNull net.openhft.chronicle.bytes.ReadBytesMarshallable wireInConsumer) |
@NotNull WireIn |
bytesMatch(@NotNull net.openhft.chronicle.bytes.BytesStore compareBytes,
@NotNull net.openhft.chronicle.core.util.BooleanConsumer consumer) |
@Nullable WireIn |
bytesSet(@NotNull net.openhft.chronicle.bytes.PointerBytesStore toBytes) |
<T> @NotNull WireIn |
date(T t,
@NotNull BiConsumer<T,LocalDate> tLocalDate) |
float |
float32() |
<T> @NotNull WireIn |
float32(T t,
@NotNull net.openhft.chronicle.core.util.ObjFloatConsumer<T> tf) |
double |
float64() |
<T> @NotNull WireIn |
float64(T t,
@NotNull ObjDoubleConsumer<T> td) |
@NotNull BracketType |
getBracketType() |
boolean |
hasNext() |
boolean |
hasNextSequenceItem() |
short |
int16() |
<T> @NotNull WireIn |
int16(T t,
@NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> ti) |
int |
int32() |
@NotNull WireIn |
int32(@NotNull net.openhft.chronicle.core.values.IntValue value) |
<T> @NotNull WireIn |
int32(@Nullable net.openhft.chronicle.core.values.IntValue value,
T t,
@NotNull BiConsumer<T,net.openhft.chronicle.core.values.IntValue> setter) |
<T> @NotNull WireIn |
int32(T t,
@NotNull ObjIntConsumer<T> ti) |
long |
int64() |
@NotNull WireIn |
int64(@NotNull net.openhft.chronicle.core.values.LongValue value) |
<T> @NotNull WireIn |
int64(@Nullable net.openhft.chronicle.core.values.LongValue value,
T t,
@NotNull BiConsumer<T,net.openhft.chronicle.core.values.LongValue> setter) |
<T> @NotNull WireIn |
int64(T t,
@NotNull ObjLongConsumer<T> tl) |
<T> @NotNull WireIn |
int64array(@Nullable net.openhft.chronicle.core.values.LongArrayValues values,
T t,
@NotNull BiConsumer<T,net.openhft.chronicle.core.values.LongArrayValues> setter) |
byte |
int8() |
<T> @NotNull WireIn |
int8(T t,
@NotNull net.openhft.chronicle.core.util.ObjByteConsumer<T> tb) |
boolean |
isNull() |
boolean |
isTyped() |
<K,V> @Nullable Map<K,V> |
map(@NotNull Class<K> kClazz,
@NotNull Class<V> vClass,
@NotNull Map<K,V> usingMap)
reads the map from the wire
|
@Nullable Object |
marshallable(@NotNull 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,
@NotNull List<T> buffer,
Supplier<T> bufferAdd,
ValueIn.Reader reader0) |
<T> boolean |
sequence(T t,
@NotNull BiConsumer<T,ValueIn> tReader) |
<T,K> @NotNull WireIn |
sequence(T t,
K kls,
@NotNull TriConsumer<T,K,ValueIn> tReader) |
@NotNull WireIn |
skipValue() |
@Nullable String |
text() |
@Nullable net.openhft.chronicle.bytes.Bytes |
textTo(@NotNull net.openhft.chronicle.bytes.Bytes bytes) |
@Nullable StringBuilder |
textTo(@NotNull StringBuilder sb) |
<T> @NotNull WireIn |
time(T t,
@NotNull BiConsumer<T,LocalTime> setLocalTime) |
<K extends ReadMarshallable,V extends ReadMarshallable> |
typedMap(@NotNull Map<K,V> usingMap) |
<T> T |
typedMarshallable() |
Type |
typeLiteral(BiFunction<CharSequence,ClassNotFoundException,Type> unresolvedHandler) |
<T> @NotNull WireIn |
typeLiteralAsText(T t,
@NotNull BiConsumer<T,CharSequence> ts) |
Class |
typePrefix() |
<T> @NotNull ValueIn |
typePrefix(T t,
@NotNull BiConsumer<T,CharSequence> ts) |
int |
uint16() |
<T> @NotNull WireIn |
uint16(T t,
@NotNull ObjIntConsumer<T> ti) |
<T> @NotNull WireIn |
uint32(T t,
@NotNull ObjLongConsumer<T> tl) |
<T> @NotNull WireIn |
uint8(T t,
@NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> ti) |
<T> @NotNull WireIn |
uuid(T t,
@NotNull BiConsumer<T,UUID> tuuid) |
@NotNull WireIn |
wireIn() |
<T> @NotNull WireIn |
zonedDateTime(T t,
@NotNull 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, byteBuffer, bytes, bytesLiteral, bytesLiteral, bytesStore, character, collection, collection, date, dateTime, float32, float64, int128, int32, int64, int64ForBinding, isBinary, lenientTypeLiteral, list, list, map, marshallable, marshallable, marshallableAsMap, marshallableAsMap, object, object, object, object, readBoolean, readByte, readChar, readDouble, reader0, readFloat, readInt, readLong, readLong, readShort, readString, sequence, sequence, sequenceWithLength, set, set, text, text, text, throwable, time, typedMarshallable, typeLiteral, typeLiteral, typeLiteral, typePrefixOrObject, uuid, zonedDateTime@Nullable public @Nullable StringBuilder textTo(@NotNull @NotNull StringBuilder sb)
@Nullable
public @Nullable net.openhft.chronicle.bytes.Bytes textTo(@NotNull
@NotNull net.openhft.chronicle.bytes.Bytes bytes)
@NotNull public @NotNull WireIn bytes(@NotNull @NotNull net.openhft.chronicle.bytes.BytesOut toBytes)
@Nullable public @Nullable WireIn bytesSet(@NotNull @NotNull net.openhft.chronicle.bytes.PointerBytesStore toBytes)
@NotNull public @NotNull WireIn bytesMatch(@NotNull @NotNull net.openhft.chronicle.bytes.BytesStore compareBytes, @NotNull @NotNull net.openhft.chronicle.core.util.BooleanConsumer consumer)
bytesMatch in interface ValueIn@NotNull public @NotNull WireIn bytes(@NotNull @NotNull net.openhft.chronicle.bytes.ReadBytesMarshallable wireInConsumer)
public long readLength()
ValueInreadLength in interface ValueIn@NotNull public <T> @NotNull WireIn bool(T t, @NotNull @NotNull net.openhft.chronicle.core.util.ObjBooleanConsumer<T> tFlag)
@NotNull public <T> @NotNull WireIn int8(@NotNull T t, @NotNull @NotNull net.openhft.chronicle.core.util.ObjByteConsumer<T> tb)
@NotNull public <T> @NotNull WireIn uint8(@NotNull T t, @NotNull @NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> ti)
@NotNull public <T> @NotNull WireIn int16(@NotNull T t, @NotNull @NotNull net.openhft.chronicle.core.util.ObjShortConsumer<T> ti)
@NotNull public <T> @NotNull WireIn uint16(@NotNull T t, @NotNull @NotNull ObjIntConsumer<T> ti)
@NotNull public <T> @NotNull WireIn int32(@NotNull T t, @NotNull @NotNull ObjIntConsumer<T> ti)
@NotNull public <T> @NotNull WireIn uint32(@NotNull T t, @NotNull @NotNull ObjLongConsumer<T> tl)
@NotNull public <T> @NotNull WireIn int64(@NotNull T t, @NotNull @NotNull ObjLongConsumer<T> tl)
@NotNull public <T> @NotNull WireIn float32(@NotNull T t, @NotNull @NotNull net.openhft.chronicle.core.util.ObjFloatConsumer<T> tf)
@NotNull public <T> @NotNull WireIn float64(@NotNull T t, @NotNull @NotNull ObjDoubleConsumer<T> td)
@NotNull public <T> @NotNull WireIn time(@NotNull T t, @NotNull @NotNull BiConsumer<T,LocalTime> setLocalTime)
@NotNull public <T> @NotNull WireIn zonedDateTime(@NotNull T t, @NotNull @NotNull BiConsumer<T,ZonedDateTime> tZonedDateTime)
zonedDateTime in interface ValueIn@NotNull public <T> @NotNull WireIn date(@NotNull T t, @NotNull @NotNull BiConsumer<T,LocalDate> tLocalDate)
public boolean hasNextSequenceItem()
hasNextSequenceItem in interface ValueIn@NotNull public <T> @NotNull WireIn uuid(@NotNull T t, @NotNull @NotNull BiConsumer<T,UUID> tuuid)
@NotNull public <T> @NotNull WireIn int64array(@Nullable @Nullable net.openhft.chronicle.core.values.LongArrayValues values, T t, @NotNull @NotNull BiConsumer<T,net.openhft.chronicle.core.values.LongArrayValues> setter)
int64array in interface ValueIn@NotNull public @NotNull WireIn int64(@NotNull @NotNull net.openhft.chronicle.core.values.LongValue value)
@NotNull public @NotNull WireIn int32(@NotNull @NotNull net.openhft.chronicle.core.values.IntValue value)
public WireIn bool(@NotNull @NotNull net.openhft.chronicle.core.values.BooleanValue ret)
@NotNull public <T> @NotNull WireIn int64(@Nullable @Nullable net.openhft.chronicle.core.values.LongValue value, T t, @NotNull @NotNull BiConsumer<T,net.openhft.chronicle.core.values.LongValue> setter)
@NotNull public <T> @NotNull WireIn int32(@Nullable @Nullable net.openhft.chronicle.core.values.IntValue value, T t, @NotNull @NotNull BiConsumer<T,net.openhft.chronicle.core.values.IntValue> setter)
public <T> boolean sequence(@NotNull
T t,
@NotNull
@NotNull BiConsumer<T,ValueIn> tReader)
public <T> boolean sequence(List<T> list, @NotNull @NotNull List<T> buffer, Supplier<T> bufferAdd, ValueIn.Reader reader0)
@NotNull public <T,K> @NotNull WireIn sequence(@NotNull T t, K kls, @NotNull @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> @NotNull ValueIn typePrefix(T t, @NotNull @NotNull BiConsumer<T,CharSequence> ts)
typePrefix in interface ValueIn@NotNull public <T> @NotNull WireIn typeLiteralAsText(T t, @NotNull @NotNull BiConsumer<T,CharSequence> ts) throws net.openhft.chronicle.core.io.IORuntimeException, BufferUnderflowException
typeLiteralAsText in interface ValueInnet.openhft.chronicle.core.io.IORuntimeExceptionBufferUnderflowException@Nullable public @Nullable Object marshallable(@NotNull @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 @NotNull Map<K,V> usingMap)
@Nullable public <K,V> @Nullable Map<K,V> map(@NotNull @NotNull Class<K> kClazz, @NotNull @NotNull Class<V> vClass, @NotNull @NotNull Map<K,V> usingMap)
ValueInpublic boolean bool()
throws net.openhft.chronicle.core.io.IORuntimeException
public Type typeLiteral(BiFunction<CharSequence,ClassNotFoundException,Type> unresolvedHandler)
typeLiteral in interface ValueIn@NotNull public @NotNull 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 © 2020. All rights reserved.