The document discusses restrictions on the WHERE clause for CQL statements depending on the type of column being filtered. For partition keys, only equality (=) and IN filters are supported unless using the token() function, which allows >, >=, <=, < filters. For clustering columns, preceding columns must be restricted before filtering on later columns, and equality, IN, >, >=, <=, < filters are supported. Secondary indexes allow additional filtering beyond the primary key.