| LocalFileSystemClientCreateFile Method (String, Int32, Int32, Boolean, RecordStreamOptions) |
Creates a new file with the specified path on the file system.
Namespace:
Ookii.Jumbo.Dfs.FileSystem
Assembly:
Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 2.0.0
Syntax public override Stream CreateFile(
string path,
int blockSize,
int replicationFactor,
bool useLocalReplica,
RecordStreamOptions recordOptions
)
Public Overrides Function CreateFile (
path As String,
blockSize As Integer,
replicationFactor As Integer,
useLocalReplica As Boolean,
recordOptions As RecordStreamOptions
) As Stream
public:
virtual Stream^ CreateFile(
String^ path,
int blockSize,
int replicationFactor,
bool useLocalReplica,
RecordStreamOptions recordOptions
) override
abstract CreateFile :
path : string *
blockSize : int *
replicationFactor : int *
useLocalReplica : bool *
recordOptions : RecordStreamOptions -> Stream
override CreateFile :
path : string *
blockSize : int *
replicationFactor : int *
useLocalReplica : bool *
recordOptions : RecordStreamOptions -> Stream
Parameters
- path
- Type: SystemString
The path containing the directory and name of the file to create. - blockSize
- Type: SystemInt32
Ignored. - replicationFactor
- Type: SystemInt32
Ignored. - useLocalReplica
- Type: SystemBoolean
Ignored. - recordOptions
- Type: Ookii.Jumbo.IORecordStreamOptions
Ignored.
Return Value
Type:
Stream
A
Stream that can be used to write data to the file.
See Also