| FileDataOutput Constructor (DfsConfiguration, Type, String, Int32, Int32, RecordStreamOptions) |
Namespace:
Ookii.Jumbo.Jet.IO
Assembly:
Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax public FileDataOutput(
DfsConfiguration dfsConfiguration,
Type recordWriterType,
string outputPath,
int blockSize = 0,
int replicationFactor = 0,
RecordStreamOptions recordOptions = RecordStreamOptions.None
)
Public Sub New (
dfsConfiguration As DfsConfiguration,
recordWriterType As Type,
outputPath As String,
Optional blockSize As Integer = 0,
Optional replicationFactor As Integer = 0,
Optional recordOptions As RecordStreamOptions = RecordStreamOptions.None
)
public:
FileDataOutput(
DfsConfiguration^ dfsConfiguration,
Type^ recordWriterType,
String^ outputPath,
int blockSize = 0,
int replicationFactor = 0,
RecordStreamOptions recordOptions = RecordStreamOptions::None
)
new :
dfsConfiguration : DfsConfiguration *
recordWriterType : Type *
outputPath : string *
?blockSize : int *
?replicationFactor : int *
?recordOptions : RecordStreamOptions
(* Defaults:
let _blockSize = defaultArg blockSize 0
let _replicationFactor = defaultArg replicationFactor 0
let _recordOptions = defaultArg recordOptions RecordStreamOptions.None
*)
-> FileDataOutput
Parameters
- dfsConfiguration
- Type: Ookii.Jumbo.DfsDfsConfiguration
The DFS configuration. - recordWriterType
- Type: SystemType
Type of the record writer. - outputPath
- Type: SystemString
The path of the directory to write the output to. - blockSize (Optional)
- Type: SystemInt32
The size of the output files' blocks, or 0 to use the default block size. - replicationFactor (Optional)
- Type: SystemInt32
The output files' replication factor, or 0 to use the default replication factor. - recordOptions (Optional)
- Type: Ookii.Jumbo.IORecordStreamOptions
The RecordStreamOptions for the output.
See Also