Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Commit

Permalink
Minor documentation fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
thobbs committed Oct 18, 2010
1 parent 0f9dd91 commit aa8b9cf
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pycassa/columnfamily.py
Expand Up @@ -318,7 +318,7 @@ def get(self, key, columns=None, column_start="", column_finish="",
column_reversed=False, column_count=100, include_timestamp=False,
super_column=None, read_consistency_level = None):
"""
Fetch a key from a Cassandra server
Fetch a row from a Cassandra server.
:Parameters:
`key`: str
Expand Down Expand Up @@ -372,7 +372,7 @@ def get_indexed_slices(self, index_clause, columns=None, column_start="", column
column_reversed=False, column_count=100, include_timestamp=False,
super_column=None, read_consistency_level=None):
"""
Fetches a list of KeySlices from a Cassandra server based on an index clause
Fetches a set of rows from a Cassandra server based on an index clause.
:Parameters:
`index_clause`: :class:`~pycassa.cassandra.ttypes.IndexClause`
Expand Down Expand Up @@ -436,7 +436,7 @@ def multiget(self, keys, columns=None, column_start="", column_finish="",
column_reversed=False, column_count=100, include_timestamp=False,
super_column=None, read_consistency_level = None):
"""
Fetch multiple keys from a Cassandra server
Fetch multiple rows from a Cassandra server.
:Parameters:
`keys`: [str]
Expand Down Expand Up @@ -505,7 +505,7 @@ def get_count(self, key, super_column=None,
columns=None, column_start="",
column_finish=""):
"""
Count the number of columns for a key
Count the number of columns in a row.
:Parameters:
`key`: str
Expand Down Expand Up @@ -548,7 +548,7 @@ def multiget_count(self, keys, super_column=None,
columns=None, column_start="",
column_finish="", ):
"""
Perform a get_count in parallel on a list of keys.
Perform a get_count in parallel on a set of rows.
:Parameters:
`keys` : [str]
Expand Down Expand Up @@ -591,7 +591,7 @@ def get_range(self, start="", finish="", columns=None, column_start="",
row_count=None, include_timestamp=False,
super_column=None, read_consistency_level = None):
"""
Get an iterator over keys in a specified range
Get an iterator over rows in a specified key range.
:Parameters:
`start`: str
Expand Down Expand Up @@ -669,7 +669,7 @@ def get_range(self, start="", finish="", columns=None, column_start="",
def insert(self, key, columns, timestamp=None, ttl=None,
write_consistency_level=None):
"""
Insert or update columns for a key
Insert or update columns in a row.
:Parameters:
`key`: str
Expand All @@ -690,7 +690,7 @@ def insert(self, key, columns, timestamp=None, ttl=None,

def batch_insert(self, rows, timestamp=None, ttl=None, write_consistency_level = None):
"""
Insert or update columns for multiple keys
Insert or update columns for multiple rows.
:Parameters:
`rows`: :class:`dict`
Expand All @@ -711,9 +711,9 @@ def batch_insert(self, rows, timestamp=None, ttl=None, write_consistency_level =
batch.send()
return timestamp

def remove(self, key, columns=None, super_column=None, write_consistency_level = None):
def remove(self, key, columns=None, super_column=None, write_consistency_level=None):
"""
Remove a specified key or columns
Remove a specified row or a set of columns within a row.
:Parameters:
`key`: str
Expand Down

0 comments on commit aa8b9cf

Please sign in to comment.