Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bmyerz committed Jun 10, 2015
1 parent bd66a79 commit 28bb0e0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion raco/language/grappa_templates/file_scan.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
if (FLAGS_bin) {
{{resultsym}} = readTuplesUnordered<{{result_type}}>( FLAGS_input_file_{{name}} + ".bin" );
BinaryRelationFileReader<{{result_type}}> reader;
{{resultsym}} = reader.read( FLAGS_input_file_{{name}} + ".bin" );
} else if (FLAGS_jsonsplits) {
SplitsRelationFileReader<JSONRowParser<{{result_type}}>, {{result_type}}> reader;
{{resultsym}} = reader.read( FLAGS_input_file{{name}} );
} else {
{{resultsym}}.data = readTuples<{{result_type}}>( FLAGS_input_file_{{name}}, FLAGS_nt);
{{resultsym}}.numtuples = FLAGS_nt;
Expand Down

0 comments on commit 28bb0e0

Please sign in to comment.