@@ -87,26 +87,30 @@ def main(project_id, instance_id, table_id):
8787
8888 # [START bigtable_hw_create_filter]
8989 # Create a filter to only retrieve the most recent version of the cell
90- # for each column accross entire row.
90+ # for each column across entire row.
9191 row_filter = row_filters .CellsColumnLimitFilter (1 )
9292 # [END bigtable_hw_create_filter]
9393
9494 # [START bigtable_hw_get_with_filter]
95+ # [START bigtable_hw_get_by_key]
9596 print ("Getting a single greeting by row key." )
9697 key = "greeting0" .encode ()
9798
9899 row = table .read_row (key , row_filter )
99100 cell = row .cells [column_family_id ][column ][0 ]
100101 print (cell .value .decode ("utf-8" ))
102+ # [END bigtable_hw_get_by_key]
101103 # [END bigtable_hw_get_with_filter]
102104
103105 # [START bigtable_hw_scan_with_filter]
106+ # [START bigtable_hw_scan_all]
104107 print ("Scanning for all greetings:" )
105108 partial_rows = table .read_rows (filter_ = row_filter )
106109
107110 for row in partial_rows :
108111 cell = row .cells [column_family_id ][column ][0 ]
109112 print (cell .value .decode ("utf-8" ))
113+ # [END bigtable_hw_scan_all]
110114 # [END bigtable_hw_scan_with_filter]
111115
112116 # [START bigtable_hw_delete_table]
0 commit comments