#NEWLINE# def fetchcolumnar( self ) : #NEWLINE# #INDENT# 'Executes a fetchall operation returning a list of CBatches' #NEWLINE# self . _wait_to_finish ( ) #NEWLINE# if ( not self . _last_operation . is_columnar ) : #NEWLINE# #INDENT# raise NotSupportedError ( 'Server does not support columnar fetching' ) #NEWLINE# #UNINDENT# batches = [ ] #NEWLINE# while True : #NEWLINE# #INDENT# batch = self . _last_operation . fetch ( self . description , self . buffersize , convert_types = batch . convert_types ) #NEWLINE# if ( len ( batch ) == 0 ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# batches . append ( batch ) #NEWLINE# #UNINDENT# return batches