| RangePartitionerCreatePartitionFile Method |
Creates a file defining the partitioning split points by sampling the input data.
Namespace:
Ookii.Jumbo.Jet.Samples.IO
Assembly:
Ookii.Jumbo.Jet.Samples (in Ookii.Jumbo.Jet.Samples.dll) Version: 2.0.0
Syntax public static void CreatePartitionFile(
FileSystemClient fileSystemClient,
string partitionFilePath,
IDataInput input,
int partitions,
int sampleSize
)
Public Shared Sub CreatePartitionFile (
fileSystemClient As FileSystemClient,
partitionFilePath As String,
input As IDataInput,
partitions As Integer,
sampleSize As Integer
)
public:
static void CreatePartitionFile(
FileSystemClient^ fileSystemClient,
String^ partitionFilePath,
IDataInput^ input,
int partitions,
int sampleSize
)
static member CreatePartitionFile :
fileSystemClient : FileSystemClient *
partitionFilePath : string *
input : IDataInput *
partitions : int *
sampleSize : int -> unit
Parameters
- fileSystemClient
- Type: Ookii.Jumbo.Dfs.FileSystemFileSystemClient
The FileSystemClient used to access the DFS. - partitionFilePath
- Type: SystemString
The path on the DFS where the partitioning data should be stored. - input
- Type: Ookii.Jumbo.Jet.IOIDataInput
The input of the job. - partitions
- Type: SystemInt32
The number of partitions. - sampleSize
- Type: SystemInt32
The total number of records to sample.
See Also