cascading.jruby 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. data/History.txt +15 -0
  2. data/lib/cascading/assembly.rb +138 -17
  3. data/lib/cascading/base.rb +0 -4
  4. data/lib/cascading/cascade.rb +25 -16
  5. data/lib/cascading/cascading.rb +25 -5
  6. data/lib/cascading/ext/array.rb +1 -7
  7. data/lib/cascading/flow.rb +18 -19
  8. data/lib/cascading/mode.rb +5 -1
  9. data/lib/cascading/operations.rb +11 -4
  10. data/lib/cascading/tap.rb +4 -0
  11. data/lib/cascading.rb +1 -5
  12. data/test/test_assembly.rb +135 -29
  13. data/test/test_cascade.rb +80 -0
  14. data/test/test_flow.rb +20 -0
  15. data/test/test_operations.rb +3 -2
  16. metadata +6 -76
  17. data/.travis.yml +0 -6
  18. data/Gemfile +0 -6
  19. data/Gemfile.lock +0 -12
  20. data/HACKING.md +0 -23
  21. data/README.md +0 -9
  22. data/Rakefile +0 -46
  23. data/TODO +0 -13
  24. data/bin/make_job +0 -81
  25. data/ivy.xml +0 -25
  26. data/ivysettings.xml +0 -7
  27. data/samples/branch.rb +0 -30
  28. data/samples/copy.rb +0 -20
  29. data/samples/data/data2.txt +0 -88799
  30. data/samples/data/data_group_by.txt +0 -7
  31. data/samples/data/data_join1.txt +0 -3
  32. data/samples/data/data_join2.txt +0 -3
  33. data/samples/data/data_join3.txt +0 -3
  34. data/samples/data/genealogy/names/dist.all.last +0 -88799
  35. data/samples/data/gutenberg/the_outline_of_science_vol_1 +0 -12761
  36. data/samples/group_by.rb +0 -61
  37. data/samples/join.rb +0 -31
  38. data/samples/logwordcount.rb +0 -22
  39. data/samples/project.rb +0 -23
  40. data/samples/rename.rb +0 -20
  41. data/samples/scorenames.rb +0 -20
  42. data/samples/splitter.rb +0 -19
  43. data/samples/sub_assembly.rb +0 -30
  44. data/samples/union.rb +0 -36
  45. data/spec/cascading_spec.rb +0 -105
  46. data/spec/expr_spec.rb +0 -230
  47. data/spec/jruby_version_spec.rb +0 -72
  48. data/spec/resource/join_input.txt +0 -3
  49. data/spec/resource/test_input.txt +0 -4
  50. data/spec/scope_spec.rb +0 -149
  51. data/spec/spec.opts +0 -6
  52. data/spec/spec_helper.rb +0 -5
  53. data/spec/spec_util.rb +0 -92
  54. data/src/cascading/jruby/Main.java +0 -38
  55. data/src/cascading/jruby/runner.rb +0 -6
  56. data/tags +0 -342
  57. data/tasks/ann.rake +0 -80
  58. data/tasks/ant.rake +0 -23
  59. data/tasks/bones.rake +0 -20
  60. data/tasks/gem.rake +0 -206
  61. data/tasks/git.rake +0 -40
  62. data/tasks/notes.rake +0 -27
  63. data/tasks/post_load.rake +0 -34
  64. data/tasks/rdoc.rake +0 -50
  65. data/tasks/rubyforge.rake +0 -55
  66. data/tasks/samples.rake +0 -19
  67. data/tasks/setup.rb +0 -300
  68. data/tasks/spec.rake +0 -59
  69. data/tasks/svn.rake +0 -47
  70. data/tasks/test.rake +0 -42
  71. data/test/data/data1.txt +0 -14
  72. data/test/data/data2.txt +0 -14
  73. data/test/mock_assemblies.rb +0 -55
data/tags DELETED
@@ -1,342 +0,0 @@
1
- !_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
2
- !_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
3
- !_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/
4
- !_TAG_PROGRAM_NAME Exuberant Ctags //
5
- !_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
6
- !_TAG_PROGRAM_VERSION 5.8 //
7
- Aggregations lib/cascading/aggregations.rb /^ class Aggregations$/;" c class:Cascading
8
- Aggregations spec/spec_util.rb /^ class Aggregations; include ScopeTests; end$/;" c class:Cascading
9
- AmbiguousNodeNameException lib/cascading/base.rb /^ class AmbiguousNodeNameException < StandardError; end$/;" c class:Cascading.Node.find_all_children_with_name
10
- Array lib/cascading/ext/array.rb /^class Array$/;" c
11
- Assembly lib/cascading/assembly.rb /^ class Assembly < Cascading::Node$/;" c class:Cascading
12
- Assembly spec/spec_util.rb /^ class Assembly; include ScopeTests; end$/;" c class:Cascading
13
- BaseTap lib/cascading/tap.rb /^ class BaseTap$/;" c class:Cascading
14
- Cascade lib/cascading/cascade.rb /^ class Cascade < Cascading::Node$/;" c class:Cascading
15
- Cascading lib/cascading.rb /^module Cascading$/;" m
16
- Cascading lib/cascading/aggregations.rb /^module Cascading$/;" m
17
- Cascading lib/cascading/assembly.rb /^module Cascading$/;" m
18
- Cascading lib/cascading/base.rb /^module Cascading$/;" m
19
- Cascading lib/cascading/cascade.rb /^module Cascading$/;" m
20
- Cascading lib/cascading/cascading.rb /^module Cascading$/;" m
21
- Cascading lib/cascading/cascading_exception.rb /^module Cascading$/;" m
22
- Cascading lib/cascading/expr_stub.rb /^module Cascading$/;" m
23
- Cascading lib/cascading/flow.rb /^module Cascading$/;" m
24
- Cascading lib/cascading/mode.rb /^module Cascading$/;" m
25
- Cascading lib/cascading/operations.rb /^module Cascading$/;" m
26
- Cascading lib/cascading/scope.rb /^module Cascading$/;" m
27
- Cascading lib/cascading/sub_assembly.rb /^module Cascading$/;" m
28
- Cascading lib/cascading/tap.rb /^module Cascading$/;" m
29
- Cascading spec/spec_util.rb /^module Cascading$/;" m
30
- CascadingException lib/cascading/cascading_exception.rb /^ class CascadingException < StandardError$/;" c class:Cascading
31
- ExprArgException lib/cascading/expr_stub.rb /^ class ExprArgException < StandardError; end$/;" c
32
- ExprStub lib/cascading/expr_stub.rb /^ class ExprStub$/;" c class:Cascading
33
- Flow lib/cascading/flow.rb /^ class Flow < Cascading::Node$/;" c class:Cascading
34
- Flow spec/spec_util.rb /^ class Flow; include ScopeTests; end$/;" c class:Cascading
35
- JRUBY_HOME src/cascading/jruby/Main.java /^ private final static String JRUBY_HOME = "\/opt\/jruby";$/;" f class:Main file:
36
- Main src/cascading/jruby/Main.java /^public class Main {$/;" c
37
- MockAssemblies test/mock_assemblies.rb /^module MockAssemblies$/;" m
38
- Mode lib/cascading/mode.rb /^ class Mode$/;" c class:Cascading
39
- MultiTap lib/cascading/tap.rb /^ class MultiTap < BaseTap$/;" c
40
- Node lib/cascading/base.rb /^ class Node$/;" c class:Cascading
41
- Object tasks/setup.rb /^class Object$/;" c
42
- OpenStruct tasks/setup.rb /^class OpenStruct; undef :gem; end$/;" c
43
- Operations lib/cascading/operations.rb /^ module Operations$/;" m class:Cascading
44
- Registerable lib/cascading/base.rb /^ module Registerable$/;" m class:Cascading.Node.find_all_children_with_name
45
- Scope lib/cascading/scope.rb /^ class Scope$/;" c class:Cascading
46
- ScopeTests spec/spec_util.rb /^module ScopeTests$/;" m
47
- SubAssembly lib/cascading/sub_assembly.rb /^ class SubAssembly$/;" c class:Cascading
48
- TC_Aggregations test/test_aggregations.rb /^class TC_Aggregations < Test::Unit::TestCase$/;" c
49
- TC_Assembly test/test_assembly.rb /^class TC_Assembly < Test::Unit::TestCase$/;" c
50
- TC_Cascade test/test_cascade.rb /^class TC_Cascade < Test::Unit::TestCase$/;" c
51
- TC_Cascading test/test_cascading.rb /^class TC_Cascading < Test::Unit::TestCase$/;" c
52
- TC_Exceptions test/test_exceptions.rb /^class TC_Exceptions < Test::Unit::TestCase$/;" c
53
- TC_Flow test/test_flow.rb /^class TC_Flow < Test::Unit::TestCase$/;" c
54
- TC_LocalExecution test/test_local_execution.rb /^class TC_LocalExecution < Test::Unit::TestCase$/;" c
55
- TC_Operations test/test_operations.rb /^class TC_Operations < Test::Unit::TestCase$/;" c
56
- Tap lib/cascading/tap.rb /^ class Tap < BaseTap$/;" c class:Cascading
57
- add lib/cascading/base.rb /^ def add(name, instance)$/;" f class:Cascading.Node.find_all_children_with_name.Registerable
58
- add_archive_to_distributed_cache lib/cascading/flow.rb /^ def add_archive_to_distributed_cache(file)$/;" f
59
- add_child lib/cascading/base.rb /^ def add_child(node)$/;" f class:Cascading.Node
60
- add_file_to_distributed_cache lib/cascading/flow.rb /^ def add_file_to_distributed_cache(file)$/;" f
61
- add_listener lib/cascading/flow.rb /^ def add_listener(listener)$/;" f
62
- add_to_distributed_cache lib/cascading/flow.rb /^ def add_to_distributed_cache(file, property)$/;" f
63
- adjacency_list lib/cascading/sub_assembly.rb /^ def adjacency_list(pipes, tail_pipe, graph)$/;" f class:Cascading.SubAssembly
64
- aggregator_function lib/cascading/operations.rb /^ def aggregator_function(args, aggregator_klass)$/;" f class:Cascading.Operations
65
- all lib/cascading/base.rb /^ def all$/;" f class:Cascading.Node.find_all_children_with_name.Registerable
66
- all_fields lib/cascading/cascading.rb /^ def all_fields$/;" f class:Cascading
67
- apply_aggregations lib/cascading/assembly.rb /^ def apply_aggregations(group, incoming_scopes, &block)$/;" f class:Cascading.Assembly
68
- assembly lib/cascading/flow.rb /^ def assembly(name, &block)$/;" f class:Cascading.Flow
69
- assert lib/cascading/assembly.rb /^ def assert(*args)$/;" f class:Cascading.Assembly
70
- assert_group lib/cascading/aggregations.rb /^ def assert_group(*args)$/;" f class:Cascading.Aggregations
71
- assert_group_size_equals lib/cascading/aggregations.rb /^ def assert_group_size_equals(*args)$/;" f class:Cascading.Aggregations
72
- assert_not_null lib/cascading/assembly.rb /^ def assert_not_null(*args)$/;" f class:Cascading.Assembly
73
- assert_size_equals lib/cascading/assembly.rb /^ def assert_size_equals(*args)$/;" f class:Cascading.Assembly
74
- average lib/cascading/aggregations.rb /^ def average(*args)$/;" f class:Cascading.Aggregations
75
- branch lib/cascading/assembly.rb /^ def branch(name, &block)$/;" f class:Cascading.Assembly
76
- can_aggregate_by? lib/cascading/aggregations.rb /^ def can_aggregate_by?$/;" f class:Cascading.Aggregations
77
- cascade lib/cascading/cascading.rb /^ def cascade(name, params = {}, &block)$/;" f class:Cascading
78
- cascading.jruby src/cascading/jruby/Main.java /^package cascading.jruby;$/;" p
79
- cast lib/cascading/assembly.rb /^ def cast(type_map)$/;" f class:Cascading.Assembly
80
- cause lib/cascading/cascading_exception.rb /^ def cause(depth = @depth)$/;" f class:Cascading.CascadingException
81
- check_scope spec/spec_util.rb /^ def check_scope(params = {})$/;" f class:ScopeTests
82
- coerce_to_java lib/cascading/operations.rb /^ def coerce_to_java(v)$/;" f class:Cascading.Operations.to_java_comparable_array
83
- compile lib/cascading/expr_stub.rb /^ def compile$/;" f class:Cascading
84
- complete lib/cascading/cascade.rb /^ def complete(properties = nil)$/;" f class:Cascading.Cascade
85
- complete lib/cascading/flow.rb /^ def complete(properties = nil)$/;" f
86
- composite_aggregator lib/cascading/aggregations.rb /^ def composite_aggregator(args, function)$/;" f class:Cascading.Aggregations
87
- compress_output lib/cascading/flow.rb /^ def compress_output(codec, type)$/;" f class:Cascading.Flow
88
- connect lib/cascading/flow.rb /^ def connect(properties = nil)$/;" f
89
- connect_flow lib/cascading/mode.rb /^ def connect_flow(properties, name, sources, sinks, pipes)$/;" f class:Cascading.Mode
90
- copy lib/cascading/assembly.rb /^ def copy(*args)$/;" f class:Cascading.Assembly
91
- copy lib/cascading/scope.rb /^ def copy$/;" f class:Cascading.Scope
92
- copy_fields lib/cascading/cascading.rb /^ def copy_fields(fields)$/;" f class:Cascading
93
- count lib/cascading/aggregations.rb /^ def count(name = 'count')$/;" f class:Cascading.Aggregations
94
- date_formatter lib/cascading/operations.rb /^ def date_formatter(fields, format, timezone=nil)$/;" f class:Cascading.Operations.to_java_comparable_array
95
- date_parser lib/cascading/operations.rb /^ def date_parser(field, format)$/;" f class:Cascading.Operations.to_java_comparable_array
96
- debug lib/cascading/assembly.rb /^ def debug(*args)$/;" f class:Cascading.Assembly
97
- debug_scope lib/cascading/aggregations.rb /^ def debug_scope$/;" f class:Cascading.Aggregations
98
- debug_scope lib/cascading/assembly.rb /^ def debug_scope$/;" f class:Cascading.Assembly
99
- debug_scope lib/cascading/flow.rb /^ def debug_scope(name = nil)$/;" f class:Cascading.Flow
100
- dedup_field_names lib/cascading/cascading.rb /^ def dedup_field_names(*names)$/;" f class:Cascading
101
- dedup_fields lib/cascading/cascading.rb /^ def dedup_fields(*fields)$/;" f class:Cascading
102
- depend_on tasks/setup.rb /^def depend_on( name, version = nil )$/;" f
103
- describe lib/cascading/assembly.rb /^ def describe(offset = '')$/;" f class:Cascading.Assembly
104
- describe lib/cascading/base.rb /^ def describe(offset = '')$/;" f class:Cascading.Node
105
- describe lib/cascading/cascade.rb /^ def describe(offset = '')$/;" f class:Cascading.Cascade
106
- describe lib/cascading/cascading.rb /^ def describe$/;" f class:Cascading
107
- describe lib/cascading/flow.rb /^ def describe(offset = '')$/;" f class:Cascading.Flow
108
- difference_fields lib/cascading/cascading.rb /^ def difference_fields(*fields)$/;" f class:Cascading
109
- discard lib/cascading/assembly.rb /^ def discard(*args)$/;" f class:Cascading.Assembly
110
- distinct lib/cascading/assembly.rb /^ def distinct(*args)$/;" f class:Cascading.Assembly
111
- draw lib/cascading/cascade.rb /^ def draw(dir, properties = nil)$/;" f class:Cascading.Cascade
112
- each lib/cascading/assembly.rb /^ def each(*args)$/;" f class:Cascading.Assembly
113
- empty_scope lib/cascading/scope.rb /^ def self.empty_scope(name)$/;" F class:Cascading.Scope
114
- emr_local_path_for_distributed_cache_file lib/cascading/flow.rb /^ def emr_local_path_for_distributed_cache_file(file)$/;" f
115
- ensure_in_path tasks/setup.rb /^def ensure_in_path( *args )$/;" f
116
- eval lib/cascading/expr_stub.rb /^ def eval(actual_args)$/;" f class:Cascading
117
- eval_expression lib/cascading/assembly.rb /^ def eval_expression(*args)$/;" f class:Cascading.Assembly
118
- evaluate lib/cascading/expr_stub.rb /^ def evaluate(values)$/;" f class:Cascading
119
- evaluator lib/cascading/expr_stub.rb /^ def evaluator$/;" f class:Cascading
120
- every lib/cascading/aggregations.rb /^ def every(*args)$/;" f class:Cascading.Aggregations
121
- expr lib/cascading/cascading.rb /^ def expr(expression, params = {})$/;" f class:Cascading
122
- expr lib/cascading/expr_stub.rb /^ def self.expr(expression, params = {})$/;" F class:Cascading
123
- expression_filter lib/cascading/operations.rb /^ def expression_filter(*args)$/;" f class:Cascading.Operations.to_java_comparable_array
124
- expression_function lib/cascading/operations.rb /^ def expression_function(*args)$/;" f class:Cascading.Operations
125
- extract_field_map lib/cascading/aggregations.rb /^ def extract_field_map(args)$/;" f class:Cascading.Aggregations
126
- extract_options lib/cascading/ext/array.rb /^ def extract_options$/;" f class:Array
127
- extract_options! lib/cascading/ext/array.rb /^ def extract_options!$/;" f class:Array
128
- fetch_cause lib/cascading/cascading_exception.rb /^ def fetch_cause(ne, depth)$/;" f class:Cascading.CascadingException
129
- field_joiner lib/cascading/operations.rb /^ def field_joiner(*args)$/;" f class:Cascading.Operations.to_java_comparable_array
130
- fields lib/cascading/cascading.rb /^ def fields(fields)$/;" f class:Cascading
131
- filter lib/cascading/assembly.rb /^ def filter(*args)$/;" f class:Cascading.Assembly
132
- filter_not_null lib/cascading/assembly.rb /^ def filter_not_null(*args)$/;" f class:Cascading.Assembly
133
- filter_null lib/cascading/assembly.rb /^ def filter_null(*args)$/;" f class:Cascading.Assembly
134
- finalize lib/cascading/aggregations.rb /^ def finalize$/;" f class:Cascading.Aggregations
135
- finalize lib/cascading/sub_assembly.rb /^ def finalize(pipes, incoming_scopes)$/;" f class:Cascading.SubAssembly
136
- find_all_children_with_name lib/cascading/base.rb /^ def find_all_children_with_name(name)$/;" f class:Cascading.Node
137
- find_child lib/cascading/base.rb /^ def find_child(name)$/;" f class:Cascading.Node
138
- first lib/cascading/aggregations.rb /^ def first(*args); composite_aggregator(args, :first_function); end$/;" f class:Cascading.Aggregations
139
- first_function lib/cascading/operations.rb /^ def first_function(*args)$/;" f class:Cascading.Operations
140
- flow lib/cascading/cascade.rb /^ def flow(name, params = {}, &block)$/;" f class:Cascading.Cascade
141
- flow lib/cascading/cascading.rb /^ def flow(name, params = {}, &block)$/;" f class:Cascading
142
- flow_connector_class lib/cascading/mode.rb /^ def flow_connector_class$/;" f class:Cascading.Mode
143
- format_date lib/cascading/assembly.rb /^ def format_date(*args)$/;" f class:Cascading.Assembly
144
- get lib/cascading/base.rb /^ def get(key)$/;" f class:Cascading.Node.find_all_children_with_name.Registerable
145
- group_by lib/cascading/assembly.rb /^ def group_by(*args, &block)$/;" f class:Cascading.Assembly
146
- grouping_fields lib/cascading/scope.rb /^ def grouping_fields$/;" f class:Cascading.Scope
147
- hadoop? lib/cascading/tap.rb /^ def hadoop?$/;" f class:Cascading.BaseTap
148
- identity lib/cascading/operations.rb /^ def identity$/;" f class:Cascading.Operations
149
- in_directory tasks/setup.rb /^def in_directory( dir, &block )$/;" f
150
- initialize lib/cascading/aggregations.rb /^ def initialize(assembly, group, incoming_scopes)$/;" f class:Cascading.Aggregations
151
- initialize lib/cascading/assembly.rb /^ def initialize(name, parent, outgoing_scopes = {})$/;" f class:Cascading.Assembly
152
- initialize lib/cascading/base.rb /^ def initialize(name, parent)$/;" f class:Cascading.Node
153
- initialize lib/cascading/cascade.rb /^ def initialize(name, params = {})$/;" f class:Cascading.Cascade
154
- initialize lib/cascading/cascading_exception.rb /^ def initialize(native_exception, message)$/;" f class:Cascading.CascadingException
155
- initialize lib/cascading/expr_stub.rb /^ def initialize(expression)$/;" f class:Cascading.ExprStub
156
- initialize lib/cascading/flow.rb /^ def initialize(name, parent, params = {})$/;" f class:Cascading.Flow
157
- initialize lib/cascading/mode.rb /^ def initialize(local)$/;" f class:Cascading.Mode
158
- initialize lib/cascading/scope.rb /^ def initialize(scope)$/;" f class:Cascading.Scope
159
- initialize lib/cascading/sub_assembly.rb /^ def initialize(assembly, sub_assembly)$/;" f class:Cascading.SubAssembly
160
- initialize lib/cascading/tap.rb /^ def initialize(local_tap, hadoop_tap)$/;" f class:Cascading.BaseTap
161
- initialize lib/cascading/tap.rb /^ def initialize(local_tap, hadoop_tap)$/;" f class:MultiTap
162
- initialize lib/cascading/tap.rb /^ def initialize(path, params = {})$/;" f class:Cascading.Tap
163
- inner_join lib/cascading/assembly.rb /^ def inner_join(*args, &block)$/;" f class:Cascading.Assembly
164
- insert lib/cascading/assembly.rb /^ def insert(args)$/;" f class:Cascading.Assembly
165
- insert_function lib/cascading/operations.rb /^ def insert_function(*args)$/;" f class:Cascading.Operations
166
- join lib/cascading/assembly.rb /^ def join(*args, &block)$/;" f class:Cascading.Assembly
167
- join_fields lib/cascading/assembly.rb /^ def join_fields(*args)$/;" f class:Cascading.Assembly
168
- last lib/cascading/aggregations.rb /^ def last(*args); composite_aggregator(args, :last_function); end$/;" f class:Cascading.Aggregations
169
- last_function lib/cascading/operations.rb /^ def last_function(*args)$/;" f class:Cascading.Operations
170
- last_grouping_fields lib/cascading/cascading.rb /^ def last_grouping_fields$/;" f class:Cascading
171
- left_join lib/cascading/assembly.rb /^ def left_join(*args, &block)$/;" f class:Cascading.Assembly
172
- libpath lib/cascading.rb /^ def self.libpath( *args )$/;" F class:Cascading
173
- local? lib/cascading/tap.rb /^ def local?$/;" f class:Cascading.BaseTap
174
- local_properties lib/cascading/cascading.rb /^ def local_properties(base_dir)$/;" f
175
- main src/cascading/jruby/Main.java /^ public static void main(String[] args) {$/;" m class:Main
176
- make_flows lib/cascading/cascade.rb /^ def make_flows(flows, properties)$/;" f class:Cascading.Cascade
177
- make_pipe lib/cascading/aggregations.rb /^ def make_pipe(type, parameters)$/;" f class:Cascading.Aggregations
178
- make_pipe lib/cascading/assembly.rb /^ def make_pipe(type, parameters)$/;" f class:Cascading.Assembly
179
- make_pipes lib/cascading/flow.rb /^ def make_pipes$/;" f
180
- make_tap_parameter lib/cascading/flow.rb /^ def make_tap_parameter(taps, pipe_accessor)$/;" f
181
- manifest tasks/setup.rb /^def manifest$/;" f
182
- match_rows lib/cascading/assembly.rb /^ def match_rows(*args)$/;" f class:Cascading.Assembly
183
- max lib/cascading/aggregations.rb /^ def max(*args); composite_aggregator(args, :max_function); end$/;" f class:Cascading.Aggregations
184
- max_function lib/cascading/operations.rb /^ def max_function(*args)$/;" f class:Cascading.Operations
185
- min lib/cascading/aggregations.rb /^ def min(*args); composite_aggregator(args, :min_function); end$/;" f class:Cascading.Aggregations
186
- min_function lib/cascading/operations.rb /^ def min_function(*args)$/;" f class:Cascading.Operations
187
- mock_assembly test/mock_assemblies.rb /^ def mock_assembly(&block)$/;" f class:MockAssemblies
188
- mock_branched_assembly test/mock_assemblies.rb /^ def mock_branched_assembly(&block)$/;" f class:MockAssemblies
189
- mock_two_input_assembly test/mock_assemblies.rb /^ def mock_two_input_assembly(&block)$/;" f class:MockAssemblies
190
- multi_sink_tap lib/cascading/cascading.rb /^ def multi_sink_tap(*taps)$/;" f
191
- multi_sink_tap lib/cascading/tap.rb /^ def self.multi_sink_tap(taps)$/;" F class:MultiTap
192
- multi_source_tap lib/cascading/cascading.rb /^ def multi_source_tap(*taps)$/;" f
193
- multi_source_tap lib/cascading/tap.rb /^ def self.multi_source_tap(taps)$/;" F class:MultiTap
194
- multi_tap lib/cascading/tap.rb /^ def self.multi_tap(taps, klass)$/;" F class:MultiTap
195
- names_and_types lib/cascading/expr_stub.rb /^ def names_and_types$/;" f class:Cascading
196
- outer_join lib/cascading/assembly.rb /^ def outer_join(*args, &block)$/;" f class:Cascading.Assembly
197
- outgoing_scope lib/cascading/scope.rb /^ def self.outgoing_scope(flow_element, incoming_scopes)$/;" F class:Cascading.Scope
198
- outgoing_scope_for lib/cascading/scope.rb /^ def self.outgoing_scope_for(flow_element, incoming_scopes)$/;" F class:Cascading.Scope
199
- paragraphs_of tasks/setup.rb /^def paragraphs_of( path, *paragraphs )$/;" f
200
- parent_flow lib/cascading/assembly.rb /^ def parent_flow$/;" f class:Cascading.Assembly
201
- parse lib/cascading/assembly.rb /^ def parse(*args)$/;" f class:Cascading.Assembly
202
- parse lib/cascading/mode.rb /^ def self.parse(mode)$/;" F class:Cascading.Mode
203
- parse_date lib/cascading/assembly.rb /^ def parse_date(*args)$/;" f class:Cascading.Assembly
204
- pass lib/cascading/assembly.rb /^ def pass(*args)$/;" f class:Cascading.Assembly
205
- path lib/cascading.rb /^ def self.path( *args )$/;" F class:Cascading
206
- populate_incoming_scopes lib/cascading/assembly.rb /^ def populate_incoming_scopes(assembly_names, group_fields_args = {})$/;" f class:Cascading.Assembly
207
- project lib/cascading/assembly.rb /^ def project(*args)$/;" f class:Cascading.Assembly
208
- qualified_name lib/cascading/base.rb /^ def qualified_name$/;" f class:Cascading.Node
209
- quiet tasks/setup.rb /^def quiet( &block )$/;" f
210
- regex_filter lib/cascading/operations.rb /^ def regex_filter(*args)$/;" f class:Cascading.Operations.to_java_comparable_array
211
- regex_generator lib/cascading/operations.rb /^ def regex_generator(*args)$/;" f class:Cascading.Operations
212
- regex_parser lib/cascading/operations.rb /^ def regex_parser(*args)$/;" f class:Cascading.Operations
213
- regex_replace lib/cascading/operations.rb /^ def regex_replace(*args)$/;" f class:Cascading.Operations.to_java_comparable_array
214
- regex_split_generator lib/cascading/operations.rb /^ def regex_split_generator(*args)$/;" f class:Cascading.Operations
215
- regex_splitter lib/cascading/operations.rb /^ def regex_splitter(*args)$/;" f class:Cascading.Operations
216
- registered lib/cascading/base.rb /^ def registered$/;" f class:Cascading.Node.find_all_children_with_name.Registerable
217
- reject lib/cascading/assembly.rb /^ def reject(*args)$/;" f class:Cascading.Assembly
218
- remove_desc_for_task tasks/setup.rb /^def remove_desc_for_task( names )$/;" f
219
- rename lib/cascading/assembly.rb /^ def rename(name_map)$/;" f class:Cascading.Assembly
220
- replace lib/cascading/assembly.rb /^ def replace(*args)$/;" f class:Cascading.Assembly
221
- require_all_jars lib/cascading.rb /^ def self.require_all_jars(from = ::File.join(::File.dirname(__FILE__), "..", "jars"))$/;" F class:Cascading
222
- reset lib/cascading/base.rb /^ def reset$/;" f class:Cascading.Node.find_all_children_with_name.Registerable
223
- results_fields lib/cascading/cascading.rb /^ def results_fields$/;" f class:Cascading
224
- right_join lib/cascading/assembly.rb /^ def right_join(*args, &block)$/;" f class:Cascading.Assembly
225
- root lib/cascading/base.rb /^ def root$/;" f class:Cascading.Node
226
- scope lib/cascading/assembly.rb /^ def scope$/;" f class:Cascading.Assembly
227
- scope lib/cascading/flow.rb /^ def scope(name = nil)$/;" f class:Cascading.Flow
228
- scope_fields_to_s lib/cascading/scope.rb /^ def scope_fields_to_s(accessor)$/;" f class:Cascading.Scope
229
- search_field_name lib/cascading/cascading.rb /^ def search_field_name(names, candidate)$/;" f class:Cascading
230
- select_taps lib/cascading/mode.rb /^ def select_taps(tap_map)$/;" f class:Cascading.Mode
231
- sequence_file_scheme lib/cascading/cascading.rb /^ def sequence_file_scheme(*fields)$/;" f
232
- set_spill_threshold lib/cascading/flow.rb /^ def set_spill_threshold(threshold)$/;" f
233
- sink lib/cascading/flow.rb /^ def sink(name, tap)$/;" f class:Cascading.Flow
234
- sink_metadata lib/cascading/cascade.rb /^ def sink_metadata$/;" f class:Cascading.Cascade
235
- sink_metadata lib/cascading/flow.rb /^ def sink_metadata$/;" f class:Cascading.Flow
236
- source lib/cascading/flow.rb /^ def source(name, tap)$/;" f class:Cascading.Flow
237
- source_tap lib/cascading/mode.rb /^ def source_tap(name, tap)$/;" f class:Cascading.Mode
238
- specific_to_java lib/cascading/expr_stub.rb /^ def specific_to_java(value, type)$/;" f class:Cascading
239
- split lib/cascading/assembly.rb /^ def split(*args)$/;" f class:Cascading.Assembly
240
- split_hash lib/cascading/expr_stub.rb /^ def split_hash(h)$/;" f class:Cascading
241
- split_rows lib/cascading/assembly.rb /^ def split_rows(*args)$/;" f class:Cascading.Assembly
242
- sub_assembly lib/cascading/assembly.rb /^ def sub_assembly(sub_assembly, pipes = [tail_pipe], incoming_scopes = [scope])$/;" f class:Cascading.Assembly
243
- sum lib/cascading/aggregations.rb /^ def sum(*args)$/;" f class:Cascading.Aggregations
244
- tap lib/cascading/cascading.rb /^ def tap(path, params = {})$/;" f
245
- tap_scope lib/cascading/scope.rb /^ def self.tap_scope(tap, name)$/;" F class:Cascading.Scope
246
- test_aggregator_function_ignore_tuples test/test_operations.rb /^ def test_aggregator_function_ignore_tuples$/;" f class:TC_Operations
247
- test_aggregator_function_ignore_values test/test_operations.rb /^ def test_aggregator_function_ignore_values$/;" f class:TC_Operations
248
- test_ambiguous_assembly_names test/test_cascade.rb /^ def test_ambiguous_assembly_names$/;" f class:TC_Cascade
249
- test_ambiguous_assembly_names test/test_flow.rb /^ def test_ambiguous_assembly_names$/;" f class:TC_Flow
250
- test_ambiguous_branch_names test/test_flow.rb /^ def test_ambiguous_branch_names$/;" f class:TC_Flow
251
- test_ambiguous_flow_names test/test_cascade.rb /^ def test_ambiguous_flow_names$/;" f class:TC_Cascade
252
- test_assembly spec/spec_util.rb /^def test_assembly(params = {}, &block)$/;" f
253
- test_average_by_sub_assembly test/test_assembly.rb /^ def test_average_by_sub_assembly$/;" f class:TC_Assembly
254
- test_branch_empty test/test_assembly.rb /^ def test_branch_empty$/;" f class:TC_Assembly
255
- test_branch_single test/test_assembly.rb /^ def test_branch_single$/;" f class:TC_Assembly
256
- test_branch_unique test/test_assembly.rb /^ def test_branch_unique$/;" f class:TC_Assembly
257
- test_cascade test/test_cascade.rb /^ def test_cascade$/;" f class:TC_Cascade
258
- test_cascading_exception test/test_exceptions.rb /^ def test_cascading_exception$/;" f class:TC_Exceptions
259
- test_coerce_to_java_double test/test_operations.rb /^ def test_coerce_to_java_double$/;" f class:TC_Operations
260
- test_coerce_to_java_int test/test_operations.rb /^ def test_coerce_to_java_int$/;" f class:TC_Operations
261
- test_coerce_to_java_nil test/test_operations.rb /^ def test_coerce_to_java_nil$/;" f class:TC_Operations
262
- test_coerce_to_java_other test/test_operations.rb /^ def test_coerce_to_java_other$/;" f class:TC_Operations
263
- test_coerce_to_java_string test/test_operations.rb /^ def test_coerce_to_java_string$/;" f class:TC_Operations
264
- test_count_by_sub_assembly test/test_assembly.rb /^ def test_count_by_sub_assembly$/;" f class:TC_Assembly
265
- test_create_assembly_simple test/test_assembly.rb /^ def test_create_assembly_simple$/;" f class:TC_Assembly
266
- test_create_each test/test_assembly.rb /^ def test_create_each$/;" f class:TC_Assembly
267
- test_create_every test/test_assembly.rb /^ def test_create_every$/;" f class:TC_Assembly
268
- test_create_group_by test/test_aggregations.rb /^ def test_create_group_by$/;" f class:TC_Aggregations
269
- test_create_group_by test/test_assembly.rb /^ def test_create_group_by$/;" f class:TC_Assembly
270
- test_create_group_by_aggregate_by test/test_aggregations.rb /^ def test_create_group_by_aggregate_by$/;" f class:TC_Aggregations
271
- test_create_group_by_aggregate_by_many_fields test/test_aggregations.rb /^ def test_create_group_by_aggregate_by_many_fields$/;" f class:TC_Aggregations
272
- test_create_group_by_many_fields test/test_aggregations.rb /^ def test_create_group_by_many_fields$/;" f class:TC_Aggregations
273
- test_create_group_by_many_fields test/test_assembly.rb /^ def test_create_group_by_many_fields$/;" f class:TC_Assembly
274
- test_create_group_by_reverse test/test_aggregations.rb /^ def test_create_group_by_reverse$/;" f class:TC_Aggregations
275
- test_create_group_by_reverse test/test_assembly.rb /^ def test_create_group_by_reverse$/;" f class:TC_Assembly
276
- test_create_group_by_with_sort test/test_aggregations.rb /^ def test_create_group_by_with_sort$/;" f class:TC_Aggregations
277
- test_create_group_by_with_sort test/test_assembly.rb /^ def test_create_group_by_with_sort$/;" f class:TC_Assembly
278
- test_create_group_by_with_sort_reverse test/test_aggregations.rb /^ def test_create_group_by_with_sort_reverse$/;" f class:TC_Aggregations
279
- test_create_group_by_with_sort_reverse test/test_assembly.rb /^ def test_create_group_by_with_sort_reverse$/;" f class:TC_Assembly
280
- test_create_join test/test_assembly.rb /^ def test_create_join$/;" f class:TC_Assembly
281
- test_create_join_many_fields test/test_assembly.rb /^ def test_create_join_many_fields$/;" f class:TC_Assembly
282
- test_create_join_with_declared_fields test/test_assembly.rb /^ def test_create_join_with_declared_fields$/;" f class:TC_Assembly
283
- test_create_union test/test_aggregations.rb /^ def test_create_union$/;" f class:TC_Aggregations
284
- test_create_union test/test_assembly.rb /^ def test_create_union$/;" f class:TC_Assembly
285
- test_create_union_aggregate_by test/test_aggregations.rb /^ def test_create_union_aggregate_by$/;" f class:TC_Aggregations
286
- test_create_union_aggregate_by_many_fields test/test_aggregations.rb /^ def test_create_union_aggregate_by_many_fields$/;" f class:TC_Aggregations
287
- test_create_union_many_fields test/test_aggregations.rb /^ def test_create_union_many_fields$/;" f class:TC_Aggregations
288
- test_create_union_many_fields test/test_assembly.rb /^ def test_create_union_many_fields$/;" f class:TC_Assembly
289
- test_create_union_reverse test/test_aggregations.rb /^ def test_create_union_reverse$/;" f class:TC_Aggregations
290
- test_create_union_reverse test/test_assembly.rb /^ def test_create_union_reverse$/;" f class:TC_Assembly
291
- test_create_union_with_sort test/test_aggregations.rb /^ def test_create_union_with_sort$/;" f class:TC_Aggregations
292
- test_create_union_with_sort test/test_assembly.rb /^ def test_create_union_with_sort$/;" f class:TC_Assembly
293
- test_create_union_with_sort_reverse test/test_aggregations.rb /^ def test_create_union_with_sort_reverse$/;" f class:TC_Aggregations
294
- test_create_union_with_sort_reverse test/test_assembly.rb /^ def test_create_union_with_sort_reverse$/;" f class:TC_Assembly
295
- test_each_identity test/test_assembly.rb /^ def test_each_identity$/;" f class:TC_Assembly
296
- test_empty_where test/test_assembly.rb /^ def test_empty_where$/;" f class:TC_Assembly
297
- test_every_cannot_follow_tap test/test_assembly.rb /^ def test_every_cannot_follow_tap$/;" f class:TC_Assembly
298
- test_fields_field test/test_cascading.rb /^ def test_fields_field$/;" f class:TC_Cascading
299
- test_fields_multiple test/test_cascading.rb /^ def test_fields_multiple$/;" f class:TC_Cascading
300
- test_fields_single test/test_cascading.rb /^ def test_fields_single$/;" f class:TC_Cascading
301
- test_flow spec/spec_util.rb /^def test_flow(&block)$/;" f
302
- test_flow test/test_flow.rb /^ def test_flow$/;" f class:TC_Flow
303
- test_join1 test/test_local_execution.rb /^ def test_join1$/;" f class:TC_LocalExecution.test_smoke_test_multi_source_tap.test_smoke_test_sequence_file_scheme.test_splitter.test_smoke_test_multi_source_tap
304
- test_join2 test/test_local_execution.rb /^ def test_join2$/;" f class:TC_LocalExecution.test_smoke_test_multi_source_tap.test_smoke_test_sequence_file_scheme.test_splitter.test_smoke_test_multi_source_tap.test_join1
305
- test_join_assembly spec/spec_util.rb /^def test_join_assembly(params = {}, &block)$/;" f
306
- test_join_empty_on test/test_assembly.rb /^ def test_join_empty_on$/;" f class:TC_Assembly
307
- test_join_invalid_on test/test_assembly.rb /^ def test_join_invalid_on$/;" f class:TC_Assembly
308
- test_join_undefined_inputs test/test_assembly.rb /^ def test_join_undefined_inputs$/;" f class:TC_Assembly
309
- test_join_with_block test/test_assembly.rb /^ def test_join_with_block$/;" f class:TC_Assembly
310
- test_join_without_on test/test_assembly.rb /^ def test_join_without_on$/;" f class:TC_Assembly
311
- test_smoke_test_debug_scope test/test_assembly.rb /^ def test_smoke_test_debug_scope$/;" f class:TC_Assembly
312
- test_smoke_test_multi_source_tap test/test_local_execution.rb /^ def test_smoke_test_multi_source_tap$/;" f class:TC_LocalExecution
313
- test_smoke_test_multi_source_tap test/test_local_execution.rb /^ def test_smoke_test_multi_source_tap$/;" f class:TC_LocalExecution.test_smoke_test_multi_source_tap.test_smoke_test_sequence_file_scheme.test_splitter
314
- test_smoke_test_sequence_file_scheme test/test_local_execution.rb /^ def test_smoke_test_sequence_file_scheme$/;" f class:TC_LocalExecution.test_smoke_test_multi_source_tap
315
- test_splitter test/test_local_execution.rb /^ def test_splitter$/;" f class:TC_LocalExecution.test_smoke_test_multi_source_tap.test_smoke_test_sequence_file_scheme
316
- test_sub_assembly test/test_assembly.rb /^ def test_sub_assembly$/;" f class:TC_Assembly
317
- test_sum_by_sub_assembly test/test_assembly.rb /^ def test_sum_by_sub_assembly$/;" f class:TC_Assembly
318
- test_tap test/test_cascading.rb /^ def test_tap$/;" f class:TC_Cascading
319
- test_to_java_comparable_array test/test_operations.rb /^ def test_to_java_comparable_array$/;" f class:TC_Operations
320
- test_union test/test_local_execution.rb /^ def test_union$/;" f class:TC_LocalExecution.test_smoke_test_multi_source_tap.test_smoke_test_sequence_file_scheme.test_splitter.test_smoke_test_multi_source_tap.test_join1.test_join2
321
- test_union_undefined_inputs test/test_assembly.rb /^ def test_union_undefined_inputs$/;" f class:TC_Assembly
322
- test_values lib/cascading/expr_stub.rb /^ def test_values$/;" f class:Cascading
323
- test_where test/test_assembly.rb /^ def test_where$/;" f class:TC_Assembly
324
- test_where_with_expression test/test_assembly.rb /^ def test_where_with_expression$/;" f class:TC_Assembly
325
- test_where_with_import test/test_assembly.rb /^ def test_where_with_import$/;" f class:TC_Assembly
326
- text_line_scheme lib/cascading/cascading.rb /^ def text_line_scheme(*args)$/;" f class:Cascading
327
- to_java_comparable_array lib/cascading/operations.rb /^ def to_java_comparable_array(arr)$/;" f class:Cascading.Operations
328
- to_s lib/cascading/assembly.rb /^ def to_s$/;" f class:Cascading.Assembly
329
- to_s lib/cascading/expr_stub.rb /^ def to_s$/;" f class:Cascading
330
- to_s lib/cascading/scope.rb /^ def to_s$/;" f class:Cascading.Scope
331
- trace_causes lib/cascading/cascading_exception.rb /^ def trace_causes(ne, depth, summary = false)$/;" f class:Cascading.CascadingException
332
- union lib/cascading/assembly.rb /^ def union(*args, &block)$/;" f class:Cascading.Assembly
333
- union_fields lib/cascading/cascading.rb /^ def union_fields(*fields)$/;" f class:Cascading
334
- update_local_mode lib/cascading/mode.rb /^ def update_local_mode(sources, sinks)$/;" f class:Cascading.Mode
335
- valid? tasks/setup.rb /^ def valid?$/;" f class:Object
336
- validate lib/cascading/expr_stub.rb /^ def validate(actual_args = {})$/;" f class:Cascading
337
- validate_fields lib/cascading/expr_stub.rb /^ def validate_fields(fields)$/;" f class:Cascading
338
- validate_scope lib/cascading/expr_stub.rb /^ def validate_scope(scope)$/;" f class:Cascading
339
- values_fields lib/cascading/scope.rb /^ def values_fields$/;" f class:Cascading.Scope
340
- version lib/cascading.rb /^ def self.version$/;" F class:Cascading
341
- where lib/cascading/assembly.rb /^ def where(*args)$/;" f class:Cascading.Assembly
342
- write_sink_metadata lib/cascading/cascade.rb /^ def write_sink_metadata(file_name)$/;" f class:Cascading.Cascade
data/tasks/ann.rake DELETED
@@ -1,80 +0,0 @@
1
-
2
- begin
3
- require 'bones/smtp_tls'
4
- rescue LoadError
5
- require 'net/smtp'
6
- end
7
- require 'time'
8
-
9
- namespace :ann do
10
-
11
- # A prerequisites task that all other tasks depend upon
12
- task :prereqs
13
-
14
- file PROJ.ann.file do
15
- ann = PROJ.ann
16
- puts "Generating #{ann.file}"
17
- File.open(ann.file,'w') do |fd|
18
- fd.puts("#{PROJ.name} version #{PROJ.version}")
19
- fd.puts(" by #{Array(PROJ.authors).first}") if PROJ.authors
20
- fd.puts(" #{PROJ.url}") if PROJ.url.valid?
21
- fd.puts(" (the \"#{PROJ.release_name}\" release)") if PROJ.release_name
22
- fd.puts
23
- fd.puts("== DESCRIPTION")
24
- fd.puts
25
- fd.puts(PROJ.description)
26
- fd.puts
27
- fd.puts(PROJ.changes.sub(%r/^.*$/, '== CHANGES'))
28
- fd.puts
29
- ann.paragraphs.each do |p|
30
- fd.puts "== #{p.upcase}"
31
- fd.puts
32
- fd.puts paragraphs_of(PROJ.readme_file, p).join("\n\n")
33
- fd.puts
34
- end
35
- fd.puts ann.text if ann.text
36
- end
37
- end
38
-
39
- desc "Create an announcement file"
40
- task :announcement => ['ann:prereqs', PROJ.ann.file]
41
-
42
- desc "Send an email announcement"
43
- task :email => ['ann:prereqs', PROJ.ann.file] do
44
- ann = PROJ.ann
45
- from = ann.email[:from] || Array(PROJ.authors).first || PROJ.email
46
- to = Array(ann.email[:to])
47
-
48
- ### build a mail header for RFC 822
49
- rfc822msg = "From: #{from}\n"
50
- rfc822msg << "To: #{to.join(',')}\n"
51
- rfc822msg << "Subject: [ANN] #{PROJ.name} #{PROJ.version}"
52
- rfc822msg << " (#{PROJ.release_name})" if PROJ.release_name
53
- rfc822msg << "\n"
54
- rfc822msg << "Date: #{Time.new.rfc822}\n"
55
- rfc822msg << "Message-Id: "
56
- rfc822msg << "<#{"%.8f" % Time.now.to_f}@#{ann.email[:domain]}>\n\n"
57
- rfc822msg << File.read(ann.file)
58
-
59
- params = [:server, :port, :domain, :acct, :passwd, :authtype].map do |key|
60
- ann.email[key]
61
- end
62
-
63
- params[3] = PROJ.email if params[3].nil?
64
-
65
- if params[4].nil?
66
- STDOUT.write "Please enter your e-mail password (#{params[3]}): "
67
- params[4] = STDIN.gets.chomp
68
- end
69
-
70
- ### send email
71
- Net::SMTP.start(*params) {|smtp| smtp.sendmail(rfc822msg, from, to)}
72
- end
73
- end # namespace :ann
74
-
75
- desc 'Alias to ann:announcement'
76
- task :ann => 'ann:announcement'
77
-
78
- CLOBBER << PROJ.ann.file
79
-
80
- # EOF
data/tasks/ant.rake DELETED
@@ -1,23 +0,0 @@
1
- namespace :ant do
2
- desc 'Retrieves Cascading and Hadoop jars and sets environment variables to point to them'
3
- task :retrieve do
4
- if File.exists?('build/ivy/resolved') && File.ctime('build/ivy/resolved') > File.ctime('ivy.xml')
5
- puts 'Ivy dependencies already resolved'
6
- else
7
- raise 'Ant retrieve failed' unless system('ant retrieve')
8
- `touch build/ivy/resolved`
9
- end
10
- ENV['CASCADING_HOME'] = 'build/lib'
11
- ENV['HADOOP_HOME'] = 'build/lib'
12
- end
13
-
14
- desc 'Builds Java source for inclusion in gem'
15
- task :build do
16
- raise 'Ant build failed' unless system('ant build')
17
- end
18
-
19
- desc 'Cleans Java build files'
20
- task :clean do
21
- system('ant clean')
22
- end
23
- end
data/tasks/bones.rake DELETED
@@ -1,20 +0,0 @@
1
-
2
- if HAVE_BONES
3
-
4
- namespace :bones do
5
-
6
- desc 'Show the PROJ open struct'
7
- task :debug do |t|
8
- atr = if t.application.top_level_tasks.length == 2
9
- t.application.top_level_tasks.pop
10
- end
11
-
12
- if atr then Bones::Debug.show_attr(PROJ, atr)
13
- else Bones::Debug.show PROJ end
14
- end
15
-
16
- end # namespace :bones
17
-
18
- end # HAVE_BONES
19
-
20
- # EOF