Uses of Interface
org.apache.juneau.marshall.stream.RecordWriter
Packages that use RecordWriter
Package
Description
BSON (Binary JSON) marshalling support.
CBOR (Concise Binary Object Representation) marshalling support per RFC 8949.
CSV Marshalling Support
Hjson (Human JSON) format serializer and parser for Apache Juneau.
HOCON (Human-Optimized Config Object Notation) format serializer and parser for Apache Juneau.
INI format serializer and parser for Apache Juneau.
JCS (JSON Canonicalization Scheme) Marshalling Support.
JSON Marshalling Support.
JSONL (JSON Lines) marshalling support.
Markdown serializer and parser support for Apache Juneau.
Marshallers
MessagePack Marshalling Support
Apache Parquet serialization and parsing support.
Plaintext Marshalling Support
Server-Sent Events (SSE) marshalling support —
text/event-stream.Public low-level token-streaming API (pull parser + push generator) shared by every Juneau
format.
TOML v1.0.0 serializer and parser for Apache Juneau.
UON Marshalling Support
XML Marshalling Support
YAML Marshalling Support
Next-generation REST client — transport-agnostic HTTP client built on Juneau's serialization stack.
REST Client API
-
Uses of RecordWriter in org.apache.juneau.marshall.bson
Methods in org.apache.juneau.marshall.bson that return RecordWriterModifier and TypeMethodDescriptionBsonSerializer.writeArrayRecords(Object output) Convenience delegator for the buffered array-elementRecordWriterusing default session arguments.BsonSerializerSession.writeArrayRecords(Object output) Buffered array-elementRecordWriterfor BSON, bound to this live session.BsonSerializer.writeRecords(Object output) Convenience delegator for the whole-valueRecordWriterusing default session arguments.BsonSerializerSession.writeRecords(Object output) Opens a whole-value push generator targeting BSON output, bound to this live session. -
Uses of RecordWriter in org.apache.juneau.marshall.cbor
Classes in org.apache.juneau.marshall.cbor that implement RecordWriterModifier and TypeClassDescriptionclassReference implementation of the publicTokenWritersurface for the CBOR format (RFC 8949).Methods in org.apache.juneau.marshall.cbor that return RecordWriterModifier and TypeMethodDescriptionCborSerializer.writeArrayRecords(Object output) Convenience delegator for the streaming array-elementRecordWriter(uses default session args; seeCborSerializer.writeTokens(Object)).CborSerializerSession.writeArrayRecords(Object output) Streaming array-elementRecordWriterbacked byCborTokenWriter. -
Uses of RecordWriter in org.apache.juneau.marshall.csv
Methods in org.apache.juneau.marshall.csv that return RecordWriterModifier and TypeMethodDescriptionCsvSerializer.writeRecords(Object output) Convenience delegator that opens aRecordWriterover the output using default session arguments (mirrorsWriterSerializer.write(Object)).CsvSerializerSession.writeRecords(Object output) -
Uses of RecordWriter in org.apache.juneau.marshall.hjson
Methods in org.apache.juneau.marshall.hjson that return RecordWriterModifier and TypeMethodDescriptionHjsonSerializer.writeRecords(Object output) Convenience delegator that opens aRecordWriterover the output using default session arguments (mirrorsWriterSerializer.write(Object)).HjsonSerializerSession.writeRecords(Object output) -
Uses of RecordWriter in org.apache.juneau.marshall.hocon
Methods in org.apache.juneau.marshall.hocon that return RecordWriterModifier and TypeMethodDescriptionHoconSerializer.writeRecords(Object output) Convenience delegator that opens aRecordWriterover the output using default session arguments (mirrorsWriterSerializer.write(Object)).HoconSerializerSession.writeRecords(Object output) -
Uses of RecordWriter in org.apache.juneau.marshall.ini
Methods in org.apache.juneau.marshall.ini that return RecordWriterModifier and TypeMethodDescriptionIniSerializer.writeRecords(Object output) Convenience delegator that opens aRecordWriterover the output using default session arguments (mirrorsWriterSerializer.write(Object)).IniSerializerSession.writeRecords(Object output) -
Uses of RecordWriter in org.apache.juneau.marshall.jcs
Methods in org.apache.juneau.marshall.jcs that return RecordWriterModifier and TypeMethodDescriptionJcsSerializer.writeRecords(Object output) Convenience delegator (default session args) for a record writer that emits canonical JCS for the value passed towrite(...).JcsSerializerSession.writeRecords(Object output) Returns a record writer that emits canonical JCS for each value passed towrite(...)(delegates to this session'sSerializerSession.write(Object, Object)). -
Uses of RecordWriter in org.apache.juneau.marshall.json
Classes in org.apache.juneau.marshall.json that implement RecordWriterModifier and TypeClassDescriptionclassReference implementation of the publicTokenWritersurface for the JSON format.Methods in org.apache.juneau.marshall.json that return RecordWriterModifier and TypeMethodDescriptionJsonSerializer.writeArrayRecords(Object output) Convenience delegator for the streaming array-elementRecordWriter(uses default session args; seeJsonSerializer.writeTokens(Object)).JsonSerializerSession.writeArrayRecords(Object output) Streaming array-elementRecordWriterbacked byJsonTokenWriter.JsonSchemaSerializer.writeRecords(Object output) Convenience delegator (default session args) for a record writer that emits the JSON Schema for each value passed towrite(...).JsonSchemaSerializerSession.writeRecords(Object output) Returns a record writer that emits the JSON Schema for each value passed towrite(...)(delegates to this session'sSerializerSession.write(Object, Object)). -
Uses of RecordWriter in org.apache.juneau.marshall.jsonl
Classes in org.apache.juneau.marshall.jsonl that implement RecordWriterModifier and TypeClassDescriptionclassReference implementation of the publicTokenWritersurface for the JSONL / NDJSON format.Methods in org.apache.juneau.marshall.jsonl that return RecordWriterModifier and TypeMethodDescriptionJsonlSerializerSession.writeArrayRecords(Object output) Streaming array-elementRecordWriterfor JSONL. -
Uses of RecordWriter in org.apache.juneau.marshall.markdown
Methods in org.apache.juneau.marshall.markdown that return RecordWriterModifier and TypeMethodDescriptionMarkdownSerializer.writeRecords(Object output) Convenience delegator that opens aRecordWriterover the output using default session arguments (mirrorsWriterSerializer.write(Object)).MarkdownSerializerSession.writeRecords(Object output) -
Uses of RecordWriter in org.apache.juneau.marshall.marshaller
Methods in org.apache.juneau.marshall.marshaller that return RecordWriterModifier and TypeMethodDescriptionstatic RecordWriterBson.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theBson.DEFAULTmarshaller.static RecordWriterBsonBase64.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theBsonBase64.DEFAULTmarshaller.static RecordWriterBsonSpacedHex.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theBsonSpacedHex.DEFAULTmarshaller.static RecordWriterCbor.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theCbor.DEFAULTmarshaller.static RecordWriterCborBase64.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theCborBase64.DEFAULTmarshaller.static RecordWriterCborNative.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theCborNative.DEFAULTmarshaller.static RecordWriterCborSpacedHex.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theCborSpacedHex.DEFAULTmarshaller.static RecordWriterJcs.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theJcs.DEFAULTmarshaller.static RecordWriterJson.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theJson.DEFAULTmarshaller.static RecordWriterJson5.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theJson5.DEFAULTmarshaller.static RecordWriterJson5l.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theJson5l.DEFAULTmarshaller.static RecordWriterJson5R.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theJson5R.DEFAULTmarshaller.static RecordWriterJsonl.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theJsonl.DEFAULTmarshaller.static RecordWriterJsonR.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theJsonR.DEFAULTmarshaller.static RecordWriterMsgPack.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theMsgPack.DEFAULTmarshaller.static RecordWriterMsgPackBase64.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theMsgPackBase64.DEFAULTmarshaller.static RecordWriterMsgPackNative.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theMsgPackNative.DEFAULTmarshaller.static RecordWriterMsgPackSpacedHex.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theMsgPackSpacedHex.DEFAULTmarshaller.static RecordWriterParquet.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theParquet.DEFAULTmarshaller.static RecordWriterYaml.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theYaml.DEFAULTmarshaller.static RecordWriterYamlR.ofArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array using theYamlR.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theBson.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theBsonBase64.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theBsonSpacedHex.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theCbor.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theCborBase64.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theCborNative.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theCborSpacedHex.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theCsv.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theHjson.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theHjsonC.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theHocon.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theHoconBraces.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theHoconC.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theHtml.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theHtmlSimpleSq.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theHtmlSq.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theHtmlSqR.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theIni.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theIniR.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theJcs.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theJson.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theJson5.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theJson5l.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theJson5R.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theJsonl.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theJsonR.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theMarkdown.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theMarkdownDoc.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theMsgPack.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theMsgPackBase64.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theMsgPackNative.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theMsgPackSpacedHex.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theOpenApi.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theParquet.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using thePlainText.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using thePrototext.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using thePrototextR.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theSse.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theToml.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theTomlR.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theUon.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theUonE.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theUonR.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theUrlEncoding.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theUrlEncodingExpanded.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theUrlEncodingPlain.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theUrlEncodingR.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theXml.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theXmlNs.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theXmlNsSq.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theXmlNsSqR.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theXmlSq.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theXmlSqR.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theYaml.DEFAULTmarshaller.static RecordWriterOpens a low-levelRecordWritercursor over the specified output using theYamlR.DEFAULTmarshaller.Marshaller.writeArrayRecords(Object output) Opens aRecordWriterthat wraps each written value as one element of a top-level wire array.Marshaller.writeRecords(Object output) Opens a low-levelRecordWritercursor that emits each whole value as a record. -
Uses of RecordWriter in org.apache.juneau.marshall.msgpack
Classes in org.apache.juneau.marshall.msgpack that implement RecordWriterModifier and TypeClassDescriptionclassReference implementation of the publicTokenWritersurface for the MessagePack format.Methods in org.apache.juneau.marshall.msgpack that return RecordWriterModifier and TypeMethodDescriptionMsgPackSerializer.writeArrayRecords(Object output) Convenience delegator for the buffered array-elementRecordWriter(uses default session args; seeMsgPackSerializer.writeTokens(Object)).MsgPackSerializer.writeArrayRecords(Object output, int expectedCount) Convenience delegator for the streaming, count-prefixed array-elementRecordWriter(uses default session args; seeMsgPackSerializer.writeTokens(Object)).MsgPackSerializerSession.writeArrayRecords(Object output) Buffered array-elementRecordWriter.MsgPackSerializerSession.writeArrayRecords(Object output, int expectedCount) Streaming array-elementRecordWriterthat pre-declares the element count and writes each element directly to the output stream — no per-element buffering. -
Uses of RecordWriter in org.apache.juneau.marshall.parquet
Methods in org.apache.juneau.marshall.parquet that return RecordWriterModifier and TypeMethodDescriptionParquetSerializer.writeArrayRecords(Object output) Convenience delegator for the buffered array-elementRecordWriterusing default session arguments.ParquetSerializerSession.writeArrayRecords(Object output) Buffered array-elementRecordWriterfor Parquet, bound to this live session.ParquetSerializer.writeRecords(Object output) Convenience delegator for the whole-valueRecordWriterusing default session arguments.ParquetSerializerSession.writeRecords(Object output) Opens a whole-value push generator targeting Parquet output, bound to this live session. -
Uses of RecordWriter in org.apache.juneau.marshall.plaintext
Methods in org.apache.juneau.marshall.plaintext that return RecordWriterModifier and TypeMethodDescriptionPlainTextSerializer.writeRecords(Object output) Convenience delegator that opens aRecordWriterover the output using default session arguments (mirrorsWriterSerializer.write(Object)).PlainTextSerializerSession.writeRecords(Object output) -
Uses of RecordWriter in org.apache.juneau.marshall.sse
Methods in org.apache.juneau.marshall.sse that return RecordWriterModifier and TypeMethodDescriptionSseSerializer.writeRecords(Object output) Convenience delegator that opens aRecordWriterover the output using default session arguments (mirrorsWriterSerializer.write(Object)).SseSerializerSession.writeRecords(Object output) -
Uses of RecordWriter in org.apache.juneau.marshall.stream
Subinterfaces of RecordWriter in org.apache.juneau.marshall.streamModifier and TypeInterfaceDescriptioninterfacePublic low-level push-generator that emits a Juneau-formatted document one structural event at a time.Methods in org.apache.juneau.marshall.stream that return RecordWriterModifier and TypeMethodDescriptionstatic RecordWriterRecordAdapter.arrayWriter(SerializerSession session, Object output) Creates an array-elementRecordWriterthat buffers eachwrite(...)call and emits the whole list onclose().Emits one whole-value record.ArrayRecordWritable.writeArrayRecords(Object output) Opens aRecordWriterthat wraps eachwrite(...)call as one element of a top-level wire array.default RecordWriterArrayRecordWritable.writeArrayRecords(Object output, int expectedCount) Variant ofArrayRecordWritable.writeArrayRecords(Object)for length-prefixed binary formats that require the element count up front (msgpack, bson).static RecordWriterRecordAdapter.writer(SerializerSession session, Object output) Creates a single-shotRecordWriterthat delegateswrite(Object)calls to the session'swrite(...)entry point.static RecordWriterStreamingArrayRecord.writer(TokenWriter cursor) Wraps aTokenWriteras a streaming array-elementRecordWriter.RecordWritable.writeRecords(Object output) Opens a low-levelRecordWritercursor over the specified output.default RecordWriterTokenWritable.writeRecords(Object output) FULL formats get record semantics for free — aTokenWriterIS-ARecordWriter. -
Uses of RecordWriter in org.apache.juneau.marshall.toml
Methods in org.apache.juneau.marshall.toml that return RecordWriterModifier and TypeMethodDescriptionTomlSerializer.writeRecords(Object output) Convenience delegator that opens aRecordWriterover the output using default session arguments (mirrorsWriterSerializer.write(Object)).TomlSerializerSession.writeRecords(Object output) -
Uses of RecordWriter in org.apache.juneau.marshall.uon
Methods in org.apache.juneau.marshall.uon that return RecordWriterModifier and TypeMethodDescriptionUonSerializer.writeRecords(Object output) Convenience delegator that opens a whole-valueRecordWriterover the output using default session arguments (mirrorsWriterSerializer.write(Object)).UonSerializerSession.writeRecords(Object output) -
Uses of RecordWriter in org.apache.juneau.marshall.xml
Methods in org.apache.juneau.marshall.xml that return RecordWriterModifier and TypeMethodDescriptionXmlSerializer.writeRecords(Object output) Convenience delegator for the whole-valueRecordWriterusing default session arguments.XmlSerializerSession.writeRecords(Object output) Opens a whole-value push generator targeting XML output, bound to this live session. -
Uses of RecordWriter in org.apache.juneau.marshall.yaml
Methods in org.apache.juneau.marshall.yaml that return RecordWriterModifier and TypeMethodDescriptionYamlSerializer.writeArrayRecords(Object output) Convenience delegator for the buffered array-elementRecordWriterusing default session arguments.YamlSerializerSession.writeArrayRecords(Object output) Buffered array-elementRecordWriterfor YAML, bound to this live session.YamlSerializer.writeRecords(Object output) Convenience delegator for the whole-valueRecordWriterusing default session arguments.YamlSerializerSession.writeRecords(Object output) Opens a whole-value push generator targeting YAML output, bound to this live session. -
Uses of RecordWriter in org.apache.juneau.rest.client
Method parameters in org.apache.juneau.rest.client with type arguments of type RecordWriterModifier and TypeMethodDescriptionstatic RecordStreamBodyRecordStreamBody.records(Consumer<RecordWriter> consumer) Creates a body that streams via aRecordWriter(whole-value record cursor) using the default JSON serializer.static RecordStreamBodyRecordStreamBody.records(Serializer serializer, Consumer<RecordWriter> consumer) Creates a body that streams via aRecordWriter(whole-value record cursor) using the given serializer. -
Uses of RecordWriter in org.apache.juneau.rest.client.classic
Method parameters in org.apache.juneau.rest.client.classic with type arguments of type RecordWriterModifier and TypeMethodDescriptionstatic RecordStreamBodyRecordStreamBody.records(Consumer<RecordWriter> consumer) Creates a body that streams via aRecordWriter(whole-value record cursor).