public ResultIterator(HBaseClient client, EntityMetadata m, PersistenceDelegator pd, int fetchSize, QueryTranslator translator, List<String> columns) { this.entityMetadata = m; this.client = client; this.persistenceDelegator = pd; this.handler = ((HBaseClient) client).getHandle(); this.handler.setFetchSize(fetchSize); this.fetchSize = fetchSize; this.translator = translator; this.columns = columns; onQuery(m, client); }
/** * Instantiates a new result iterator. * * @param client * the client * @param m * the entity metadata * @param pd * the pd * @param fetchSize * the fetch size * @param translator * the translator * @param columns * the columns */ public ResultIterator(HBaseClient client, EntityMetadata m, PersistenceDelegator pd, int fetchSize, QueryTranslator translator, List<Map<String, Object>> columns) { this.entityMetadata = m; this.client = client; this.persistenceDelegator = pd; this.handler = client.getHandle(); this.handler.setFetchSize(fetchSize); this.fetchSize = fetchSize; this.translator = translator; this.columns = columns; onQuery(m, client); }
public ResultIterator(HBaseClient client, EntityMetadata m, PersistenceDelegator pd, int fetchSize, QueryTranslator translator, List<String> columns) { this.entityMetadata = m; this.client = client; this.persistenceDelegator = pd; this.handler = ((HBaseClient) client).getHandle(); this.handler.setFetchSize(fetchSize); this.fetchSize = fetchSize; this.translator = translator; this.columns = columns; onQuery(m, client); }
public ResultIterator(HBaseClient client, EntityMetadata m, PersistenceDelegator pd, int fetchSize, QueryTranslator translator, List<String> columns) { this.entityMetadata = m; this.client = client; this.persistenceDelegator = pd; this.handler = ((HBaseClient) client).getHandle(); this.handler.setFetchSize(fetchSize); this.fetchSize = fetchSize; this.translator = translator; this.columns = columns; onQuery(m, client); }