| 1 |
<resource schema="data"> |
| 2 |
<meta name="description">Test stuff for making direct grammars</meta> |
| 3 |
<table id="dgt" onDisk="True" temporary="True"> |
| 4 |
<column name="i" type="integer" required="True"/> |
| 5 |
<column name="b" type="bigint" required="True"/> |
| 6 |
<column name="f" type="real"/> |
| 7 |
<column name="d" type="double precision"/> |
| 8 |
<column name="t" type="text"/> |
| 9 |
<column name="l" type="smallint"> |
| 10 |
<values nullLiteral="-1"/> |
| 11 |
</column> |
| 12 |
</table> |
| 13 |
|
| 14 |
<table id="dgtplus" onDisk="True" original="dgt"> |
| 15 |
<column name="artificial" description="artificial column" |
| 16 |
type="text"/> |
| 17 |
</table> |
| 18 |
|
| 19 |
<table id="dgtonecol" onDisk="True" temporary="True"> |
| 20 |
<column name="b" type="bigint" required="True"/> |
| 21 |
</table> |
| 22 |
|
| 23 |
<data id="impcol"> |
| 24 |
<directGrammar id="col" type="col" cBooster="void.c"/> |
| 25 |
<make table="dgt"/> |
| 26 |
</data> |
| 27 |
|
| 28 |
<data id="impbin"> |
| 29 |
<directGrammar id="bin" type="bin" cBooster="void.c" |
| 30 |
recordSize="50"/> |
| 31 |
<make table="dgt"/> |
| 32 |
</data> |
| 33 |
|
| 34 |
<data id="impsplit"> |
| 35 |
<directGrammar id="split" type="split" cBooster="void.c"/> |
| 36 |
<make table="dgt"/> |
| 37 |
</data> |
| 38 |
|
| 39 |
<data id="impfits"> |
| 40 |
<sources>extable.fitstable</sources> |
| 41 |
<directGrammar id="fits" type="fits" cBooster="tmp.c"> |
| 42 |
<mapKeys>t:text</mapKeys> |
| 43 |
</directGrammar> |
| 44 |
<make table="dgtplus"/> |
| 45 |
</data> |
| 46 |
|
| 47 |
<data id="impfits2nd"> |
| 48 |
<sources>extable.fitstable</sources> |
| 49 |
<directGrammar id="fits2nd" type="fits" cBooster="tmp.c" |
| 50 |
extension="2"> |
| 51 |
</directGrammar> |
| 52 |
<make table="dgtonecol"/> |
| 53 |
</data> |
| 54 |
|
| 55 |
<data id="impfitsplus"> |
| 56 |
<sources>extable.fitstable</sources> |
| 57 |
<directGrammar id="fitsplus" type="fits" cBooster="tmp.c"> |
| 58 |
<mapKeys>t:text</mapKeys> |
| 59 |
</directGrammar> |
| 60 |
<make table="dgtplus"/> |
| 61 |
</data> |
| 62 |
|
| 63 |
</resource> |