1. A method for processing data, comprising: in response to a query, receiving a subset of the data as integer encoded and compressed sequences of values corresponding to different columns of the data; defining processing buckets that span over the subset of the data received as integer encoded and compressed sequences of values based on changes of compression type occurring in any of the integer encoded and compressed sequences of values of the subset of data; and performing operations defined by the query based on type of current bucket processed when processing the integer encoded and compressed sequences of values to return query results.