EVL

Table of Contents


Products, services and company names referenced in this document may be either trademarks or registered trademarks of their respective owners.

Copyright © 2017–2020 EVL Tool, s.r.o.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts.

Partition

Read input flow or file and according to –key or –round-robin logic send to several number of output flows or files. The number of partitions depends on the EVL_PARTITIONS environment variable and also on the EVL version/edition.

Partition

is to be used in EVS job structure definition file. <f_in> and <f_out> are either input and output file or flow name.

evl partition

is intended for standalone usage, i.e. to be invoked from command line.

EVD is EVL data definition file, for details see evl-evd(5).

Synopsis

syntax/Partition
Partition
  <f_in> <f_out> (<evd>|-d <inline_evd>) (--key=<key> | --round-robin)
  [--validate] [-x|--text-input] [-y|--text-output]

evl partition
  (<evd>|-d <inline_evd>) (-k <key> | --round-robin)
  [--validate] [-x|--text-input] [-y|--text-output]
  [-v|--verbose]

evl partition
  ( --help | --usage | --version | --max-partitions )

Options

-d, --data-definition=<inline_evd>

either this option or the file <evd_out> must be presented

-k, --key=<key>

key according to which to distribute data

-m, --max-partitions

return the number of maximal possible partitions

-r, --round-robin

split by round-robin, i.e. simply one record after another to one output after another

--validate

without this option, no fields are checked against data types. With this option, all output fields are checked

-x, --text-input

suppose the input as text, not binary

-y, --text-output

write the output as text, not binary

Standard options:

--help

print this help and exit

--usage

print short usage information and exit

-v, --verbose

print to stderr info/debug messages of the component

--version

print version and exit

Examples

Partition IN_FLOW OUT_FLOW example.evd –round-robin