Package | Description |
---|---|
com.actian.dataflow.operators.io.orc | |
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.staging |
Provides operators for reading and writing DataRush staging datasets.
|
com.pervasive.datarush.operators.io.textfile |
Provides operators for reading and writing text data.
|
Modifier and Type | Method and Description |
---|---|
void |
WriteORC.setMode(WriteMode mode)
Sets how the writer should handle an existing
target.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
OutputStream |
FileSystem.newOutputStream(Path path,
WriteMode mode)
Opens the specified file for writing.
|
OutputStream |
FileClient.newOutputStream(Path path,
WriteMode mode)
Opens the specified file for writing.
|
Modifier and Type | Method and Description |
---|---|
WriteMode |
WriteSink.getMode()
Gets how existing files should be handled
by the writer.
|
WriteMode |
AbstractWriter.getMode()
Gets how existing files should be handled
by the writer.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ByteSink.appendsExisting(WriteMode mode)
Indicates whether a write in the given mode
represents an append to an existing sink.
|
boolean |
BasicByteSink.appendsExisting(WriteMode mode) |
protected abstract void |
AbstractRecordFormatter.initialize(ByteSink sink,
WriteMode mode)
Prepares the formatter for writing to the provided sink.
|
OutputStream |
ByteSink.open(WriteMode mode)
Opens the sink for writing in the specified mode.
|
OutputStream |
BasicByteSink.open(WriteMode mode) |
void |
WriteSink.setMode(WriteMode mode)
Sets how the writer should handle an existing
target.
|
void |
AbstractWriter.setMode(WriteMode mode)
Sets how the writer should handle an existing
target.
|
void |
ByteSink.validate(WriteMode mode,
boolean forFragments)
Performs validation of the sink configuration.
|
void |
BasicByteSink.validate(WriteMode mode,
boolean forFragments) |
void |
DataFormat.DataFormatter.writeData(ByteSink sink,
WriteMode mode)
Called to write records to the provided
sink in the specified mode.
|
void |
AbstractRecordFormatter.writeData(ByteSink sink,
WriteMode mode)
Simple implementation of a control loop formatting records.
|
Constructor and Description |
---|
AbstractWriter(ByteSink target,
WriteMode mode)
Writes to the specified target sink in the given
mode.
|
AbstractWriter(Path path,
WriteMode mode)
Writes to the specified path in the given mode.
|
AbstractWriter(String path,
WriteMode mode)
Writes to the specified path in the given mode.
|
Constructor and Description |
---|
WriteAvro(ByteSink target,
WriteMode mode)
Writes to the specified target sink in the given
mode.
|
WriteAvro(Path path,
WriteMode mode)
Writes to the specified path in the given mode.
|
WriteAvro(String path,
WriteMode mode)
Writes to the specified path in the given mode.
|
Constructor and 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(ByteSink target,
WriteMode mode)
Writes to the specified target sink using default
options.
|
WriteStagingDataset(Path path,
WriteMode mode)
Writes to the specified path in the
given mode, using default options.
|
WriteStagingDataset(String path,
WriteMode mode)
Writes to the specified path in the
given mode, using default options.
|
Constructor and Description |
---|
AbstractTextWriter(ByteSink target,
WriteMode mode)
Writes text to the specified target sink in the
given mode.
|
AbstractTextWriter(Path path,
WriteMode mode)
Writes text to the specified path in the given mode,
using default settings.
|
AbstractTextWriter(String path,
WriteMode mode)
Writes text 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(Path path,
WriteMode mode)
Writes ARFF data to the specified path in the given mode,
using default settings.
|
WriteARFF(String path,
WriteMode mode)
Writes ARFF data 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(Path path,
WriteMode mode)
Writes delimited text to the specified path in the given mode,
using default settings.
|
WriteDelimitedText(String path,
WriteMode mode)
Writes delimited 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(Path path,
WriteMode mode)
Writes fixed text to the specified path in the given mode,
using default settings.
|
WriteFixedText(String path,
WriteMode mode)
Writes fixed text to the specified path in the given mode,
using default settings.
|
Copyright © 2016 Actian Corporation. All rights reserved.