protected class BinaryWire.BinaryValueIn extends Object implements ValueIn
Modifier | Constructor and Description |
---|---|
protected |
BinaryValueIn() |
Modifier and Type | Method and Description |
---|---|
protected <T> T |
anchor() |
<T> T |
applyToMarshallable(Function<WireIn,T> marshallableReader) |
boolean |
bool() |
<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.BytesOut toBytes,
boolean clearBytes) |
WireIn |
bytes(net.openhft.chronicle.bytes.ReadBytesMarshallable bytesConsumer) |
net.openhft.chronicle.bytes.BytesStore |
bytesLiteral() |
WireIn |
bytesLiteral(net.openhft.chronicle.bytes.BytesOut toBytes) |
WireIn |
bytesMatch(net.openhft.chronicle.bytes.BytesStore compareBytes,
net.openhft.chronicle.core.util.BooleanConsumer consumer) |
WireIn |
bytesSet(net.openhft.chronicle.bytes.PointerBytesStore toBytes) |
net.openhft.chronicle.bytes.BytesStore |
bytesStore() |
void |
bytesStore(net.openhft.chronicle.bytes.Bytes toBytes) |
void |
bytesStore(StringBuilder sb) |
net.openhft.chronicle.wire.ValueInState |
curr() |
<T> WireIn |
date(T t,
BiConsumer<T,LocalDate> tLocalDate) |
Demarshallable |
demarshallable(Class clazz) |
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) |
boolean |
marshallable(ReadMarshallable object) |
boolean |
marshallable(ReadMarshallable object,
boolean overwrite) |
<E> E |
object(E using,
Class clazz) |
Object |
objectWithInferredType(Object using,
SerializationStrategy strategy,
Class type) |
void |
popState() |
void |
pushState() |
long |
readLength()
the length of the field as bytes including any encoding and header character
|
void |
resetState() |
<T> boolean |
sequence(T t,
BiConsumer<T,ValueIn> tReader) |
<T,K> WireIn |
sequence(T t,
K kls,
TriConsumer<T,K,ValueIn> tReader) |
<T> int |
sequenceWithLength(T t,
ToIntBiFunction<ValueIn,T> 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> T |
typedMarshallable(Function<Class,ReadMarshallable> marshallableFunction) |
protected <T> T |
typedMarshallable0() |
<T> Class<T> |
typeLiteral() |
<T> WireIn |
typeLiteralAsText(T t,
BiConsumer<T,CharSequence> classNameConsumer) |
Class |
typePrefix() |
<T> ValueIn |
typePrefix(T t,
BiConsumer<T,CharSequence> ts) |
Object |
typePrefixOrObject(Class tClass) |
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) |
protected <T> T |
updateAlias() |
UUID |
uuid() |
<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, wait
array, array, array, array, array, array, arrayDelta, arrayDelta, asEnum, asEnum, asEnum, byteBuffer, character, collection, collection, date, dateTime, float32, float64, int32, int32ForBinding, int64, int64ForBinding, list, list, map, marshallable, marshallableAsMap, marshallableAsMap, object, object, object, sequence, sequence, set, set, text, text, text, throwable, time, typeLiteral, typeLiteral, zonedDateTime
@Nullable public <E> E object(@Nullable E using, @Nullable Class clazz)
public void resetState()
resetState
in interface ValueIn
public void pushState()
public void popState()
public net.openhft.chronicle.wire.ValueInState curr()
@NotNull public BracketType getBracketType()
getBracketType
in interface ValueIn
@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)
@NotNull public WireIn bytes(@NotNull net.openhft.chronicle.bytes.BytesOut toBytes, boolean clearBytes)
@NotNull public WireIn bytesLiteral(@NotNull net.openhft.chronicle.bytes.BytesOut toBytes)
bytesLiteral
in interface ValueIn
@NotNull public net.openhft.chronicle.bytes.BytesStore bytesLiteral()
bytesLiteral
in interface ValueIn
@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
@Nullable public net.openhft.chronicle.bytes.BytesStore bytesStore()
bytesStore
in interface ValueIn
public void bytesStore(@NotNull StringBuilder sb)
public void bytesStore(@NotNull net.openhft.chronicle.bytes.Bytes toBytes)
@NotNull public WireIn bytes(@NotNull net.openhft.chronicle.bytes.ReadBytesMarshallable bytesConsumer)
public long readLength()
ValueIn
readLength
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(net.openhft.chronicle.core.values.LongValue value)
@NotNull public WireIn int32(net.openhft.chronicle.core.values.IntValue value)
@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)
@NotNull public <T,K> WireIn sequence(@NotNull T t, K kls, @NotNull TriConsumer<T,K,ValueIn> tReader)
public <T> int sequenceWithLength(@NotNull T t, @NotNull ToIntBiFunction<ValueIn,T> tReader)
sequenceWithLength
in interface ValueIn
public <T> T applyToMarshallable(@NotNull Function<WireIn,T> marshallableReader)
applyToMarshallable
in interface ValueIn
@Nullable public <T> T typedMarshallable() throws net.openhft.chronicle.core.io.IORuntimeException
typedMarshallable
in interface ValueIn
net.openhft.chronicle.core.io.IORuntimeException
@Nullable protected <T> T typedMarshallable0()
@NotNull protected <T> T updateAlias()
@NotNull protected <T> T anchor()
@Nullable public <T> T typedMarshallable(@NotNull Function<Class,ReadMarshallable> marshallableFunction) throws net.openhft.chronicle.core.io.IORuntimeException
typedMarshallable
in interface ValueIn
net.openhft.chronicle.core.io.IORuntimeException
public Class typePrefix()
typePrefix
in interface ValueIn
public Object typePrefixOrObject(Class tClass)
typePrefixOrObject
in interface ValueIn
@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> classNameConsumer)
typeLiteralAsText
in interface ValueIn
@Nullable public <T> Class<T> typeLiteral()
typeLiteral
in interface ValueIn
@NotNull public boolean marshallable(@NotNull ReadMarshallable object) throws BufferUnderflowException, net.openhft.chronicle.core.io.IORuntimeException
marshallable
in interface ValueIn
BufferUnderflowException
net.openhft.chronicle.core.io.IORuntimeException
public boolean marshallable(@NotNull ReadMarshallable object, boolean overwrite) throws BufferUnderflowException, net.openhft.chronicle.core.io.IORuntimeException
BufferUnderflowException
net.openhft.chronicle.core.io.IORuntimeException
@Nullable public Object marshallable(@Nullable Object object, @NotNull SerializationStrategy strategy) throws BufferUnderflowException, net.openhft.chronicle.core.io.IORuntimeException
marshallable
in interface ValueIn
BufferUnderflowException
net.openhft.chronicle.core.io.IORuntimeException
@Nullable public Demarshallable demarshallable(@NotNull Class clazz) throws BufferUnderflowException, net.openhft.chronicle.core.io.IORuntimeException
BufferUnderflowException
net.openhft.chronicle.core.io.IORuntimeException
public <K extends ReadMarshallable,V extends ReadMarshallable> void typedMap(@NotNull Map<K,V> usingMap)
@NotNull public <K,V> Map<K,V> map(@NotNull Class<K> kClazz, @NotNull Class<V> vClass, @NotNull Map<K,V> usingMap)
ValueIn
public boolean bool() throws net.openhft.chronicle.core.io.IORuntimeException
public Object objectWithInferredType(Object using, @NotNull SerializationStrategy strategy, Class type)
objectWithInferredType
in interface ValueIn
Copyright © 2017. All rights reserved.