Uses of Class
com.pervasive.datarush.io.WriteMode
-
Packages that use WriteMode Package Description com.actian.dataflow.operators.io.orc com.pervasive.datarush.azure com.pervasive.datarush.gcp com.pervasive.datarush.io Provides classes and interfaces performing file-like I/O operations.com.pervasive.datarush.operators.io Provides base file I/O components including encoders and decoders.com.pervasive.datarush.operators.io.avro Provides operators for reading and writing files in Avro format.com.pervasive.datarush.operators.io.binary com.pervasive.datarush.operators.io.staging Provides operators for reading and writing DataRush staging datasets.com.pervasive.datarush.operators.io.textfile Provides operators for reading and writing text data. -
-
Uses of WriteMode in com.actian.dataflow.operators.io.orc
Methods in com.actian.dataflow.operators.io.orc with parameters of type WriteMode Modifier and Type Method Description void
WriteORC. setMode(WriteMode mode)
Sets how the writer should handle an existing target. -
Uses of WriteMode in com.pervasive.datarush.azure
Methods in com.pervasive.datarush.azure with parameters of type WriteMode Modifier and Type Method Description OutputStream
AzureFileSystem. newOutputStream(Path path, WriteMode mode)
-
Uses of WriteMode in com.pervasive.datarush.gcp
Methods in com.pervasive.datarush.gcp with parameters of type WriteMode Modifier and Type Method Description OutputStream
GcpFileSystem. newOutputStream(Path path, WriteMode mode)
-
Uses of WriteMode in com.pervasive.datarush.io
Methods in com.pervasive.datarush.io that return WriteMode Modifier and Type Method Description static WriteMode
WriteMode. valueOf(String name)
Returns the enum constant of this type with the specified name.static WriteMode[]
WriteMode. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.pervasive.datarush.io with parameters of type WriteMode Modifier and Type Method Description OutputStream
FileClient. newOutputStream(Path path, WriteMode mode)
Opens the specified file for writing.OutputStream
FileSystem. newOutputStream(Path path, WriteMode mode)
Opens the specified file for writing. -
Uses of WriteMode in com.pervasive.datarush.operators.io
Methods in com.pervasive.datarush.operators.io that return WriteMode Modifier and Type Method Description WriteMode
AbstractWriter. getMode()
Gets how existing files should be handled by the writer.WriteMode
WriteSink. getMode()
Gets how existing files should be handled by the writer.Methods in com.pervasive.datarush.operators.io with parameters of type WriteMode Modifier and Type Method Description boolean
BasicByteSink. appendsExisting(WriteMode mode)
boolean
ByteSink. appendsExisting(WriteMode mode)
Indicates whether a write in the given mode represents an append to an existing sink.protected abstract void
AbstractRecordFormatter. initialize(ByteSink sink, WriteMode mode)
Prepares the formatter for writing to the provided sink.OutputStream
BasicByteSink. open(WriteMode mode)
OutputStream
ByteSink. open(WriteMode mode)
Opens the sink for writing in the specified mode.void
AbstractWriter. setMode(WriteMode mode)
Sets how the writer should handle an existing target.void
WriteSink. setMode(WriteMode mode)
Sets how the writer should handle an existing target.void
BasicByteSink. validate(WriteMode mode, boolean forFragments)
void
ByteSink. validate(WriteMode mode, boolean forFragments)
Performs validation of the sink configuration.void
AbstractRecordFormatter. writeData(ByteSink sink, WriteMode mode)
Simple implementation of a control loop formatting records.void
DataFormat.DataFormatter. writeData(ByteSink sink, WriteMode mode)
Called to write records to the provided sink in the specified mode.Constructors in com.pervasive.datarush.operators.io with parameters of type WriteMode Constructor Description AbstractWriter(Path path, WriteMode mode)
Writes to the specified path in the given mode.AbstractWriter(ByteSink target, WriteMode mode)
Writes to the specified target sink in the given mode.AbstractWriter(String path, WriteMode mode)
Writes to the specified path in the given mode. -
Uses of WriteMode in com.pervasive.datarush.operators.io.avro
Constructors in com.pervasive.datarush.operators.io.avro with parameters of type WriteMode Constructor Description WriteAvro(Path path, WriteMode mode)
Writes to the specified path in the given mode.WriteAvro(ByteSink target, WriteMode mode)
Writes to the specified target sink in the given mode.WriteAvro(String path, WriteMode mode)
Writes to the specified path in the given mode. -
Uses of WriteMode in com.pervasive.datarush.operators.io.binary
Constructors in com.pervasive.datarush.operators.io.binary with parameters of type WriteMode Constructor Description BinaryWriter(String targetFilePath, WriteMode mode)
Writes the binary data to the specified path in the given mode -
Uses of WriteMode in com.pervasive.datarush.operators.io.staging
Constructors in com.pervasive.datarush.operators.io.staging with parameters of type WriteMode Constructor Description DatasetBuilder(FileClient client, Path dataset, int bufferSize, TokenEncodings baseEncodings, RecordTokenType type, WriteMode mode, int blockSize)
Creates and opens the builder.DatasetBuilder(FileClient client, String dataset, int bufferSize, TokenEncodings baseEncodings, WriteMode mode, RecordTokenType type)
Creates and opens the builder.WriteStagingDataset(Path path, WriteMode mode)
Writes to the specified path in the given mode, using default options.WriteStagingDataset(ByteSink target, WriteMode mode)
Writes to the specified target sink using default options.WriteStagingDataset(String path, WriteMode mode)
Writes to the specified path in the given mode, using default options. -
Uses of WriteMode in com.pervasive.datarush.operators.io.textfile
Constructors in com.pervasive.datarush.operators.io.textfile with parameters of type WriteMode Constructor Description AbstractTextWriter(Path path, WriteMode mode)
Writes text to the specified path in the given mode, using default settings.AbstractTextWriter(ByteSink target, WriteMode mode)
Writes text to the specified target sink in the given mode.AbstractTextWriter(String path, WriteMode mode)
Writes text to the specified path in the given mode, using default settings.WriteARFF(Path path, WriteMode mode)
Writes ARFF data to the specified path in the given mode, using default settings.WriteARFF(ByteSink target, WriteMode mode)
Writes ARFF data to the specified target sink in the given mode.WriteARFF(String path, WriteMode mode)
Writes ARFF data to the specified path in the given mode, using default settings.WriteDelimitedText(Path path, WriteMode mode)
Writes delimited text to the specified path in the given mode, using default settings.WriteDelimitedText(ByteSink target, WriteMode mode)
Writes delimited text to the specified target sink in the given mode.WriteDelimitedText(String path, WriteMode mode)
Writes delimited text to the specified path in the given mode, using default settings.WriteFixedText(Path path, WriteMode mode)
Writes fixed text to the specified path in the given mode, using default settings.WriteFixedText(ByteSink target, WriteMode mode)
Writes text to the specified target sink in the given mode.WriteFixedText(String path, WriteMode mode)
Writes fixed text to the specified path in the given mode, using default settings.
-