MCPcopy Create free account
hub / github.com/RumbleDB/rumble / format

Method format

src/main/java/org/rumbledb/api/SequenceWriter.java:153–166  ·  view source on GitHub ↗
(String source)

Source from the content-addressed store, hash-verified

151 }
152
153 public SequenceWriter format(String source) {
154 SerializationParameters params = SerializationParameters.copy(this.serializationParameters);
155 params.setMethod(source);
156 if (this.dataFrameWriter != null && !source.equals("xml-json-hybrid") && !source.equals("tyson")) {
157 return createNewInstance(
158 this.dataFrameWriter.format(source),
159 null,
160 params
161 );
162 } else {
163 SaveMode newMode = (this.dataFrameWriter == null) ? this.mode : this.dataFrameWriter.curmode();
164 return createNewInstance(null, newMode, params);
165 }
166 }
167
168 public SequenceWriter option(String key, String value) {
169 SerializationParameters newParams = SerializationParameters.copy(this.serializationParameters);

Callers 15

tysonMethod · 0.95
yamlMethod · 0.95
jsonMethod · 0.95
parquetMethod · 0.95
textMethod · 0.95
orcMethod · 0.95
csvMethod · 0.95
readAnnotationMethod · 0.45
formatMessageMethod · 0.45
addCastCaseMethod · 0.45
visitFunctionCallMethod · 0.45

Calls 4

copyMethod · 0.95
setMethodMethod · 0.95
createNewInstanceMethod · 0.95
equalsMethod · 0.65

Tested by 2

readAnnotationMethod · 0.36
formatMessageMethod · 0.36