@@ -55,50 +55,6 @@ def pyprint(self):
55
55
"""
56
56
self ._jdstream .pyprint ()
57
57
58
- def cache (self ):
59
- """
60
- """
61
- raise NotImplementedError
62
-
63
- def checkpoint (self ):
64
- """
65
- """
66
- raise NotImplementedError
67
-
68
- def compute (self , time ):
69
- """
70
- """
71
- raise NotImplementedError
72
-
73
- def context (self ):
74
- """
75
- """
76
- raise NotImplementedError
77
-
78
- def count (self ):
79
- """
80
- """
81
- raise NotImplementedError
82
-
83
- def countByValue (self , numPartitions = None ):
84
- """
85
- """
86
- raise NotImplementedError
87
-
88
- def countByValueAndWindow (self , duration , slideDuration = None ):
89
- """
90
- """
91
- raise NotImplementedError
92
-
93
- def countByWindow (self , duration , slideDuration = None ):
94
- """
95
- """
96
- raise NotImplementedError
97
-
98
- def dstream (self ):
99
- """
100
- """
101
- raise NotImplementedError
102
58
103
59
def filter (self , f ):
104
60
"""
@@ -112,16 +68,6 @@ def flatMap(self, f, preservesPartitioning=False):
112
68
def func (s , iterator ): return chain .from_iterable (imap (f , iterator ))
113
69
return self .mapPartitionsWithIndex (func , preservesPartitioning )
114
70
115
- def foreachRDD (self , f , time ):
116
- """
117
- """
118
- raise NotImplementedError
119
-
120
- def glom (self ):
121
- """
122
- """
123
- raise NotImplementedError
124
-
125
71
def map (self , f , preservesPartitioning = False ):
126
72
"""
127
73
"""
@@ -134,11 +80,6 @@ def mapPartitions(self, f):
134
80
def func (s , iterator ): return f (iterator )
135
81
return self .mapPartitionsWithIndex (func )
136
82
137
- def perist (self , storageLevel ):
138
- """
139
- """
140
- raise NotImplementedError
141
-
142
83
def reduce (self , func , numPartitions = None ):
143
84
"""
144
85
@@ -210,49 +151,6 @@ def add_shuffle_key(split, iterator):
210
151
dstream ._partitionFunc = partitionFunc
211
152
return dstream
212
153
213
-
214
- def reduceByWindow (self , reduceFunc , windowDuration , slideDuration , inReduceTunc ):
215
- """
216
- """
217
-
218
- raise NotImplementedError
219
-
220
- def repartition (self , numPartitions ):
221
- """
222
- """
223
- raise NotImplementedError
224
-
225
- def slice (self , fromTime , toTime ):
226
- """
227
- """
228
- raise NotImplementedError
229
-
230
- def transform (self , transformFunc ):
231
- """
232
- """
233
- self ._jdstream .transform (transformFunc )
234
- raise NotImplementedError
235
-
236
- def transformWith (self , other , transformFunc ):
237
- """
238
- """
239
- raise NotImplementedError
240
-
241
- def union (self , that ):
242
- """
243
- """
244
- raise NotImplementedError
245
-
246
- def window (self , windowDuration , slideDuration = None ):
247
- """
248
- """
249
- raise NotImplementedError
250
-
251
- def wrapRDD (self , rdd ):
252
- """
253
- """
254
- raise NotImplementedError
255
-
256
154
def mapPartitionsWithIndex (self , f , preservesPartitioning = False ):
257
155
"""
258
156
0 commit comments