public TableRef push ( LinkedHashMap < String , ItemAttribute > item , OnItemSnapshot onItemSnapshot , OnError onError ) { PostBodyBuilder pbb = new PostBodyBuilder ( context ) ; pbb . addObject ( "table" , this . name ) ; pbb . addObject ( "item" , item ) ; Rest r = new Rest ( context , RestType . PUTITEM , pbb , this ) ; r . onError = onError ; r . onItemSnapshot = onItemSnapshot ; context . processRest ( r ) ; return this ; }
Adds a new item to the table .