code: def limit(self, v):
          
          if not (v is None or isinstance(v, six.integer_types)):
              raise TypeError
          if v == self._limit:
              return self
  
          if v < 0:
              raise QueryException("Negative limit is not allowed")
  
          clone = copy.deepcopy(self)
          clone._limit = v
          return clone
docs: Sets the limit on the number of results returned
          CQL has a default limit of 10,000