Plasma GitLab Archive
Projects Blog Knowledge

Plasma Project:
Home 
Manual 
FAQ 
Slides 
Perf 
Releases 

Module Mapred_split


module Mapred_split: sig .. end
Splits a line into key and value. The separator is the first TAB character.

val tab_split : string -> string * string
Splits a line into key and value. The separator is the first TAB character.
val tab_split_key : string -> string
Same as fst (tab_split_key s)
val tab2_split : string -> string * int * string
Splits a line into (key, partition, value). Separators are the first and second TAB characters
val tab2_split_key : string -> string
Same as let (key,_,_) = tab2_split s in key
val tab2_split_key_partition : string -> string * int
Same as let (key,p,_) = tab2_split s in (key,p)
val tab2_split_key_partition_s : string -> string
Same as let (key,p,_) = tab2_split s in key ^ "\t" ^ string_of_int p
val tab2_split_partition : string -> int
Same as let (_,p,_) = tab2_split s in p
This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml