Skip to content

Commit 17e9834

Browse files
committed
[CLIENT-2219] Remove deprecated client.map_* and client.list_* operation functions
1 parent 17300b4 commit 17e9834

23 files changed

+7
-6542
lines changed

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,6 @@ def clean():
264264
'src/main/client/info_random_node.c',
265265
'src/main/client/info.c',
266266
'src/main/client/put.c',
267-
'src/main/client/operate_list.c',
268-
'src/main/client/operate_map.c',
269267
'src/main/client/operate.c',
270268
'src/main/client/query.c',
271269
'src/main/client/remove.c',

src/include/client.h

Lines changed: 0 additions & 203 deletions
Original file line numberDiff line numberDiff line change
@@ -225,209 +225,6 @@ PyObject *AerospikeClient_Operate(AerospikeClient *self, PyObject *args,
225225
PyObject *AerospikeClient_OperateOrdered(AerospikeClient *self, PyObject *args,
226226
PyObject *kwds);
227227

228-
/*******************************************************************************
229-
* LIST FUNCTIONS(CDT)
230-
******************************************************************************/
231-
/**
232-
* Append a single val to the list value in bin.
233-
*
234-
* client.list_append((x,y,z))
235-
*
236-
*/
237-
PyObject *AerospikeClient_ListAppend(AerospikeClient *self, PyObject *args,
238-
PyObject *kwds);
239-
240-
/**
241-
* Extend the list value in bin with the given items.
242-
*
243-
* client.list_extend((x,y,z))
244-
*
245-
*/
246-
PyObject *AerospikeClient_ListExtend(AerospikeClient *self, PyObject *args,
247-
PyObject *kwds);
248-
249-
/**
250-
* Insert val at the specified index of the list value in bin.
251-
*
252-
* client.list_insert((x,y,z))
253-
*
254-
*/
255-
PyObject *AerospikeClient_ListInsert(AerospikeClient *self, PyObject *args,
256-
PyObject *kwds);
257-
258-
/**
259-
* Insert the items at the specified index of a list value in bin.
260-
*
261-
* client.list_insert_items((x,y,z))
262-
*
263-
*/
264-
PyObject *AerospikeClient_ListInsertItems(AerospikeClient *self, PyObject *args,
265-
PyObject *kwds);
266-
267-
/**
268-
* Remove and get back a list element at a given index of a list value in bin.
269-
*
270-
* client.list_pop((x,y,z))
271-
*
272-
*/
273-
PyObject *AerospikeClient_ListPop(AerospikeClient *self, PyObject *args,
274-
PyObject *kwds);
275-
276-
/**
277-
* Remove and get back a list element at a given index of a list value in bin.
278-
*
279-
* client.list_pop_range((x,y,z))
280-
*
281-
*/
282-
PyObject *AerospikeClient_ListPopRange(AerospikeClient *self, PyObject *args,
283-
PyObject *kwds);
284-
285-
/**
286-
* Remove a list element at a given index of a list value in bin.
287-
*
288-
* client.list_remove((x,y,z))
289-
*
290-
*/
291-
PyObject *AerospikeClient_ListRemove(AerospikeClient *self, PyObject *args,
292-
PyObject *kwds);
293-
294-
/**
295-
* Remove list elements at a given index of a list value in bin.
296-
*
297-
* client.list_remove_range((x,y,z))
298-
*
299-
*/
300-
PyObject *AerospikeClient_ListRemoveRange(AerospikeClient *self, PyObject *args,
301-
PyObject *kwds);
302-
303-
/**
304-
* Remove all the elements from a list value in bin.
305-
*
306-
* client.list_clear((x,y,z))
307-
*
308-
*/
309-
PyObject *AerospikeClient_ListClear(AerospikeClient *self, PyObject *args,
310-
PyObject *kwds);
311-
312-
/**
313-
* Set list element val at the specified index of a list value in bin.
314-
*
315-
* client.list_set((x,y,z))
316-
*
317-
*/
318-
PyObject *AerospikeClient_ListSet(AerospikeClient *self, PyObject *args,
319-
PyObject *kwds);
320-
321-
/**
322-
* Get the list element at the specified index of a list value in bin.
323-
*
324-
* client.list_get((x,y,z))
325-
*
326-
*/
327-
PyObject *AerospikeClient_ListGet(AerospikeClient *self, PyObject *args,
328-
PyObject *kwds);
329-
330-
/**
331-
* Get the list of count elements starting at a specified index of a list value in bin.
332-
*
333-
* client.list_get_range((x,y,z))
334-
*
335-
*/
336-
PyObject *AerospikeClient_ListGetRange(AerospikeClient *self, PyObject *args,
337-
PyObject *kwds);
338-
339-
/**
340-
* Remove elements from the list which are not within the range starting at the
341-
* given index plus count.
342-
*
343-
* client.list_trim((x,y,z))
344-
*
345-
*/
346-
PyObject *AerospikeClient_ListTrim(AerospikeClient *self, PyObject *args,
347-
PyObject *kwds);
348-
349-
/**
350-
* Count the elements of the list value in bin.
351-
*
352-
* client.list_size((x,y,z))
353-
*
354-
*/
355-
PyObject *AerospikeClient_ListSize(AerospikeClient *self, PyObject *args,
356-
PyObject *kwds);
357-
358-
/*******************************************************************************
359-
* MAP FUNCTIONS
360-
******************************************************************************/
361-
/**
362-
* Append a single val to the map value in bin.
363-
*
364-
* client.map_put((x,y,z))
365-
*
366-
*/
367-
368-
PyObject *AerospikeClient_MapSetPolicy(AerospikeClient *self, PyObject *args,
369-
PyObject *kwds);
370-
PyObject *AerospikeClient_MapPut(AerospikeClient *self, PyObject *args,
371-
PyObject *kwds);
372-
PyObject *AerospikeClient_MapPutItems(AerospikeClient *self, PyObject *args,
373-
PyObject *kwds);
374-
PyObject *AerospikeClient_MapIncrement(AerospikeClient *self, PyObject *args,
375-
PyObject *kwds);
376-
PyObject *AerospikeClient_MapDecrement(AerospikeClient *self, PyObject *args,
377-
PyObject *kwds);
378-
PyObject *AerospikeClient_MapSize(AerospikeClient *self, PyObject *args,
379-
PyObject *kwds);
380-
PyObject *AerospikeClient_MapClear(AerospikeClient *self, PyObject *args,
381-
PyObject *kwds);
382-
383-
PyObject *AerospikeClient_MapRemoveByKey(AerospikeClient *self, PyObject *args,
384-
PyObject *kwds);
385-
PyObject *AerospikeClient_MapRemoveByKeyList(AerospikeClient *self,
386-
PyObject *args, PyObject *kwds);
387-
PyObject *AerospikeClient_MapRemoveByKeyRange(AerospikeClient *self,
388-
PyObject *args, PyObject *kwds);
389-
390-
PyObject *AerospikeClient_MapRemoveByValue(AerospikeClient *self,
391-
PyObject *args, PyObject *kwds);
392-
PyObject *AerospikeClient_MapRemoveByValueList(AerospikeClient *self,
393-
PyObject *args, PyObject *kwds);
394-
PyObject *AerospikeClient_MapRemoveByValueRange(AerospikeClient *self,
395-
PyObject *args, PyObject *kwds);
396-
397-
PyObject *AerospikeClient_MapRemoveByIndex(AerospikeClient *self,
398-
PyObject *args, PyObject *kwds);
399-
PyObject *AerospikeClient_MapRemoveByIndexRange(AerospikeClient *self,
400-
PyObject *args, PyObject *kwds);
401-
402-
PyObject *AerospikeClient_MapRemoveByRank(AerospikeClient *self, PyObject *args,
403-
PyObject *kwds);
404-
PyObject *AerospikeClient_MapRemoveByRankRange(AerospikeClient *self,
405-
PyObject *args, PyObject *kwds);
406-
407-
PyObject *AerospikeClient_MapGetByKey(AerospikeClient *self, PyObject *args,
408-
PyObject *kwds);
409-
PyObject *AerospikeClient_MapGetByKeyRange(AerospikeClient *self,
410-
PyObject *args, PyObject *kwds);
411-
412-
PyObject *AerospikeClient_MapGetByValue(AerospikeClient *self, PyObject *args,
413-
PyObject *kwds);
414-
PyObject *AerospikeClient_MapGetByValueRange(AerospikeClient *self,
415-
PyObject *args, PyObject *kwds);
416-
PyObject *AerospikeClient_MapGetByValueList(AerospikeClient *self,
417-
PyObject *args, PyObject *kwds);
418-
PyObject *AerospikeClient_MapGetByKeyList(AerospikeClient *self, PyObject *args,
419-
PyObject *kwds);
420-
421-
PyObject *AerospikeClient_MapGetByIndex(AerospikeClient *self, PyObject *args,
422-
PyObject *kwds);
423-
PyObject *AerospikeClient_MapGetByIndexRange(AerospikeClient *self,
424-
PyObject *args, PyObject *kwds);
425-
426-
PyObject *AerospikeClient_MapGetByRank(AerospikeClient *self, PyObject *args,
427-
PyObject *kwds);
428-
PyObject *AerospikeClient_MapGetByRankRange(AerospikeClient *self,
429-
PyObject *args, PyObject *kwds);
430-
431228
/*******************************************************************************
432229
* SCAN OPERATIONS
433230
******************************************************************************/

0 commit comments

Comments
 (0)