lib/td/client/api/import.rb in td-client-0.8.68 vs lib/td/client/api/import.rb in td-client-0.8.69
- old
+ new
@@ -3,10 +3,16 @@
####
## Import API
##
- # => time:Float
+ # @param [String] db
+ # @param [String] table
+ # @param [String] format
+ # @param [String, StringIO] stream
+ # @param [Fixnum] size
+ # @param [String] unique_id
+ # @return [Float] elapsed time
def import(db, table, format, stream, size, unique_id=nil)
if unique_id
path = "/v3/table/import_with_id/#{e db}/#{e table}/#{unique_id}/#{format}"
else
path = "/v3/table/import/#{e db}/#{e table}/#{format}"