public abstract class ArrayOutputFormat extends FileOutputFormat<Value[]> implements ArrayModelOutputFormat
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ArrayOutputFormat.AbstractConfigBuilder<T>
Abstract builder used to set parameters to the input format's configuration in a fluent way.
|
static class |
ArrayOutputFormat.ConfigBuilder
A builder used to set parameters to the input format's configuration in a fluent way.
|
FILE_PARAMETER_KEY, OUTPUT_STREAM_OPEN_TIMEOUT_KEY, outputFilePath, stream| Constructor and Description |
|---|
ArrayOutputFormat() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(Configuration parameters) |
static ArrayOutputFormat.ConfigBuilder |
configureArrayFormat(FileDataSink target)
Creates a configuration builder that can be used to set the input format's parameters to the config in a fluent
fashion.
|
void |
open(int taskNumber) |
void |
writeRecord(Value[] record) |
configureFileFormatclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataTypespublic void configure(Configuration parameters)
configure in interface OutputFormat<Value[]>configure in class FileOutputFormat<Value[]>public void open(int taskNumber)
throws IOException
open in interface OutputFormat<Value[]>open in class FileOutputFormat<Value[]>IOExceptionpublic void close()
throws IOException
close in interface OutputFormat<Value[]>close in class FileOutputFormat<Value[]>IOExceptionpublic void writeRecord(Value[] record) throws IOException
writeRecord in interface OutputFormat<Value[]>IOExceptionpublic static ArrayOutputFormat.ConfigBuilder configureArrayFormat(FileDataSink target)
Copyright © 2013–2014. All rights reserved.