com.netflix.astyanax.entitystore.NativeQuery Maven / Gradle / Ivy
package com.netflix.astyanax.entitystore;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import com.google.common.collect.Lists;
import com.netflix.astyanax.model.Equality;
import com.netflix.astyanax.query.ColumnPredicate;
/**
* SQL'ish like fluent API for defining a query. This is mainly used by the various entity mappers
* to query for a subset of columns. Each entity mapper stores data differently and will use the
* predicates here to make the correct lower level query.
*
* @author elandau
*
* @param
* @param
*/
public abstract class NativeQuery {
protected List ids = Lists.newArrayList();
protected Collection