 | FileDataOutput(DfsConfiguration, Type, String, Int32, Int32, RecordStreamOptions) Constructor |
Namespace: Ookii.Jumbo.Jet.IOAssembly: Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic 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 DfsConfiguration
- The DFS configuration.
- recordWriterType Type
- Type of the record writer.
- outputPath String
- The path of the directory to write the output to.
- blockSize Int32 (Optional)
- The size of the output files' blocks, or 0 to use the default block size.
- replicationFactor Int32 (Optional)
- The output files' replication factor, or 0 to use the default replication factor.
- recordOptions RecordStreamOptions (Optional)
- The RecordStreamOptions for the output.
See Also