public TableRef create ( Key key , StorageProvisionType provisionType , StorageProvisionLoad provisionLoad , OnTableCreation onTableCreation , OnError onError ) { PostBodyBuilder pbb = new PostBodyBuilder ( context ) ; pbb . addObject ( "table" , this . name ) ; pbb . addObject ( "provisionLoad" , provisionLoad . getValue ( ) ) ; pbb . addObject ( "provisionType" , provisionType . getValue ( ) ) ; pbb . addObject ( "key" , key . map ( ) ) ; Rest r = new Rest ( context , RestType . CREATETABLE , pbb , null ) ; r . onError = onError ; r . onTableCreation = onTableCreation ; context . processRest ( r ) ; return this ; }
Creates a table with a