public class WireMarshallerForUnexpectedFields<T> extends WireMarshaller<T>
WIRE_MARSHALLER_CL| Constructor and Description |
|---|
WireMarshallerForUnexpectedFields(@NotNull Class<T> tClass,
@NotNull net.openhft.chronicle.wire.WireMarshaller.FieldAccess[] fields,
boolean isLeaf) |
| Modifier and Type | Method and Description |
|---|---|
void |
readMarshallable(T t,
@NotNull WireIn in,
T defaults,
boolean overwrite)
Reads and populates the DTO based on the provided input.
|
defaultValue, excludeFields, getAllField, getField, getLongField, isEqual, isLeaf, leafable, matchesFieldName, of, readMarshallableDTOOrder, readMarshallableInputOrder, reset, setField, setLongField, writeKey, writeMarshallable, writeMarshallable, writeMarshallablepublic void readMarshallable(T t, @NotNull @NotNull WireIn in, T defaults, boolean overwrite) throws net.openhft.chronicle.core.io.InvalidMarshallableException
WireMarshallerreadMarshallable in class WireMarshaller<T>t - Object to populate with read values.in - Input source from which values are read.defaults - Default values to use if a value isn't provided in the input.overwrite - Flag indicating whether to overwrite the existing value in the target object.net.openhft.chronicle.core.io.InvalidMarshallableException - If there is an error during marshalling.Copyright © 2023. All rights reserved.