 | RangePartitionerCreatePartitionFile Method |
Creates a file defining the partitioning split points by sampling the input data.
Namespace: Ookii.Jumbo.Jet.Samples.IOAssembly: Ookii.Jumbo.Jet.Samples (in Ookii.Jumbo.Jet.Samples.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic 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 FileSystemClient
- The FileSystemClient used to access the DFS.
- partitionFilePath String
- The path on the DFS where the partitioning data should be stored.
- input IDataInput
- The input of the job.
- partitions Int32
- The number of partitions.
- sampleSize Int32
- The total number of records to sample.
See Also