ValueIn.Reader| Constructor and Description |
|---|
TextValueIn() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
applyToMarshallable(@NotNull Function<WireIn,T> marshallableReader) |
boolean |
bool() |
WireIn |
bool(@NotNull net.openhft.chronicle.core.values.BooleanValue value) |
<T> @NotNull WireIn |
bool(T t,
@NotNull net.openhft.chronicle.core.util.ObjBooleanConsumer<T> tFlag) |
byte[] |
bytes(byte[] using) |
@NotNull WireIn |
bytes(@NotNull net.openhft.chronicle.bytes.BytesOut<?> toBytes) |
@NotNull WireIn |
bytes(@NotNull net.openhft.chronicle.bytes.ReadBytesMarshallable bytesConsumer) |
@NotNull WireIn |
bytesMatch(@NotNull net.openhft.chronicle.bytes.BytesStore compareBytes,
net.openhft.chronicle.core.util.BooleanConsumer consumer) |
@Nullable WireIn |
bytesSet(@NotNull net.openhft.chronicle.bytes.PointerBytesStore toBytes) |
void |
checkRewind() |
void |
checkRewindDouble() |
net.openhft.chronicle.core.pool.ClassLookup |
classLookup() |
protected void |
consumeAny() |
net.openhft.chronicle.wire.ValueInState |
curr() |
<T> @NotNull WireIn |
date(T t,
@NotNull BiConsumer<T,LocalDate> tLocalDate) |
@NotNull Demarshallable |
demarshallable(@NotNull Class clazz) |
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) |
protected boolean |
isASeparator(int nextChar) |
boolean |
isNull() |
boolean |
isTyped() |
@Nullable Object |
marshallable(@NotNull Object object,
@NotNull SerializationStrategy strategy) |
Object |
objectWithInferredType(Object using,
@NotNull SerializationStrategy strategy,
Class type) |
protected int |
peekBack() |
void |
popState() |
void |
pushState() |
long |
readLength()
the length of the field as bytes including any encoding and header character
|
protected long |
readLengthMarshallable() |
protected @Nullable Object |
readNumber() |
void |
resetState() |
<T> boolean |
sequence(@NotNull List<T> list,
@NotNull List<T> buffer,
@NotNull Supplier<T> bufferAdd)
sequence to use when using a cached buffer
|
<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) |
String |
toString() |
<T> T |
typedMarshallable() |
Type |
typeLiteral(BiFunction<CharSequence,ClassNotFoundException,Type> unresolvedHandler) |
<T> @NotNull WireIn |
typeLiteralAsText(T t,
@NotNull BiConsumer<T,CharSequence> classNameConsumer) |
Class |
typePrefix() |
<T> @NotNull ValueIn |
typePrefix(T t,
@NotNull BiConsumer<T,CharSequence> ts) |
Object |
typePrefixOrObject(Class tClass)
read a class with a super class or actual class as a hint
|
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, wait, wait, waitarray, array, array, array, array, array, arrayDelta, arrayDelta, asEnum, asEnum, asEnum, byteBuffer, bytes, bytes, bytesLiteral, bytesLiteral, bytesStore, character, collection, collection, date, dateTime, float32, float64, int128, int32, int64, int64ForBinding, isBinary, isPresent, lenientTypeLiteral, list, list, marshallable, marshallable, marshallableAsMap, marshallableAsMap, object, object, object, object, object, objectBestEffort, readBoolean, readByte, readChar, readDouble, reader0, readFloat, readInt, readLong, readLong, readShort, readString, sequence, sequenceWithLength, set, set, text, text, text, throwable, time, typedMarshallable, typeLiteral, typeLiteral, typeLiteral, uuid, zonedDateTimepublic void resetState()
resetState in interface ValueInpublic void pushState()
public void popState()
public net.openhft.chronicle.wire.ValueInState curr()
@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 BracketType getBracketType()
getBracketType in interface ValueInprotected int peekBack()
@NotNull public @NotNull WireIn bytesMatch(@NotNull @NotNull net.openhft.chronicle.bytes.BytesStore compareBytes, net.openhft.chronicle.core.util.BooleanConsumer consumer)
bytesMatch in interface ValueIn@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 bytes(@NotNull @NotNull net.openhft.chronicle.bytes.ReadBytesMarshallable bytesConsumer)
public long readLength()
ValueInreadLength in interface ValueInprotected long readLengthMarshallable()
protected void consumeAny()
protected boolean isASeparator(int nextChar)
@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)
@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 value)
@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) throws net.openhft.chronicle.core.io.InvalidMarshallableException
public <T> boolean sequence(@NotNull
@NotNull List<T> list,
@NotNull
@NotNull List<T> buffer,
@NotNull
@NotNull Supplier<T> bufferAdd)
throws net.openhft.chronicle.core.io.InvalidMarshallableException
ValueIn@NotNull public <T,K> @NotNull WireIn sequence(@NotNull T t, K kls, @NotNull @NotNull TriConsumer<T,K,ValueIn> tReader) throws net.openhft.chronicle.core.io.InvalidMarshallableException
public boolean hasNextSequenceItem()
hasNextSequenceItem in interface ValueInpublic <T> T applyToMarshallable(@NotNull
@NotNull Function<WireIn,T> marshallableReader)
applyToMarshallable in interface ValueIn@NotNull public <T> @NotNull ValueIn typePrefix(T t, @NotNull @NotNull BiConsumer<T,CharSequence> ts)
typePrefix in interface ValueInpublic Class typePrefix()
typePrefix in interface ValueInpublic Object typePrefixOrObject(Class tClass)
ValueIntypePrefixOrObject in interface ValueIntClass - the super-class, or actual class to use@NotNull public <T> @NotNull WireIn typeLiteralAsText(T t, @NotNull @NotNull BiConsumer<T,CharSequence> classNameConsumer) throws net.openhft.chronicle.core.io.IORuntimeException, BufferUnderflowException
typeLiteralAsText in interface ValueInnet.openhft.chronicle.core.io.IORuntimeExceptionBufferUnderflowExceptionpublic net.openhft.chronicle.core.pool.ClassLookup classLookup()
classLookup in interface ValueInpublic Type typeLiteral(BiFunction<CharSequence,ClassNotFoundException,Type> unresolvedHandler)
typeLiteral in interface ValueIn@Nullable public @Nullable Object marshallable(@NotNull @NotNull Object object, @NotNull @NotNull SerializationStrategy strategy) throws BufferUnderflowException, net.openhft.chronicle.core.io.IORuntimeException, net.openhft.chronicle.core.io.InvalidMarshallableException
marshallable in interface ValueInBufferUnderflowExceptionnet.openhft.chronicle.core.io.IORuntimeExceptionnet.openhft.chronicle.core.io.InvalidMarshallableException@NotNull public @NotNull Demarshallable demarshallable(@NotNull @NotNull Class clazz)
@Nullable
public <T> T typedMarshallable()
throws net.openhft.chronicle.core.io.InvalidMarshallableException
typedMarshallable in interface ValueInnet.openhft.chronicle.core.io.InvalidMarshallableExceptionpublic void checkRewind()
public void checkRewindDouble()
public double float64()
public boolean isNull()
public Object objectWithInferredType(Object using, @NotNull @NotNull SerializationStrategy strategy, Class type) throws net.openhft.chronicle.core.io.InvalidMarshallableException
objectWithInferredType in interface ValueInnet.openhft.chronicle.core.io.InvalidMarshallableException@Nullable protected @Nullable Object readNumber()
Copyright © 2023. All rights reserved.