Name

word-list — Defines a word-list generator.

Synopsis

<word-list file="filePath"/>
				

Description

This element defines a word-list generator. Loads the selected word-list file into memory and pick a random word to generate a string. The target column must have sufficient space to save the string.

Attributes

file

The path to the word-list file.

Example

Example 27. Word-list generator.

<project name="postgresqlTest">
	<metadata>
		<table name="table0">
			<generator row-count="10000" />
			...
			<column name="some_string" data-type="STRING" size="10">
				<generator>
					<word-list file="/home/mbassale/devel/workspace/generador/censusNames.txt />
				</generator>
			</column>
			...
		</table>
		...
	</metadata>
	...
</project>