@Operator(group="io") public final class WriteFile extends PrimitiveOp
creates directory if not existing.
operation
Modifier and Type | Method and Description |
---|---|
static WriteFile |
create(Scope scope,
Operand<String> filename,
Operand<String> contents)
Factory method to create a class wrapping a new WriteFile operation.
|
equals, hashCode, op, toString
public static WriteFile create(Scope scope, Operand<String> filename, Operand<String> contents)
scope
- current scopefilename
- scalar. The name of the file to which we write the contents.contents
- scalar. The content to be written to the output file.Copyright © 2022. All rights reserved.