setColumnFamilyTimeRange(entry.getKey(), tr.getMin(), tr.getMax()); super.setPriority(get.getPriority());
setPriority(get.getPriority()); super.setReplicaId(get.getReplicaId());
final Get configuredGet = get; ClientServiceCallable<Result> callable = new ClientServiceCallable<Result>(this.connection, getName(), get.getRow(), this.rpcControllerFactory.newController(), get.getPriority()) { @Override protected Result rpcCall() throws Exception {
assertEquals(get.getACL(), scan.getACL()); assertEquals(get.getAuthorizations().getLabels(), scan.getAuthorizations().getLabels()); assertEquals(get.getPriority(), scan.getPriority());
setColumnFamilyTimeRange(entry.getKey(), tr.getMin(), tr.getMax()); super.setPriority(get.getPriority());
setPriority(get.getPriority()); super.setReplicaId(get.getReplicaId());
final Get configuredGet = get; ClientServiceCallable<Result> callable = new ClientServiceCallable<Result>(this.connection, getName(), get.getRow(), this.rpcControllerFactory.newController(), get.getPriority()) { @Override protected Result rpcCall() throws Exception {
assertEquals(get.getACL(), scan.getACL()); assertEquals(get.getAuthorizations().getLabels(), scan.getAuthorizations().getLabels()); assertEquals(get.getPriority(), scan.getPriority());
setColumnFamilyTimeRange(entry.getKey(), tr.getMin(), tr.getMax()); super.setPriority(get.getPriority());
/** * Builds a scan object with the same specs as get. * @param get get to model scan after */ public Scan(Get get) { this.startRow = get.getRow(); this.includeStartRow = true; this.stopRow = get.getRow(); this.includeStopRow = true; this.filter = get.getFilter(); this.cacheBlocks = get.getCacheBlocks(); this.maxVersions = get.getMaxVersions(); this.storeLimit = get.getMaxResultsPerColumnFamily(); this.storeOffset = get.getRowOffsetPerColumnFamily(); this.tr = get.getTimeRange(); this.familyMap = get.getFamilyMap(); this.asyncPrefetch = false; this.consistency = get.getConsistency(); this.setIsolationLevel(get.getIsolationLevel()); this.loadColumnFamiliesOnDemand = get.getLoadColumnFamiliesOnDemandValue(); for (Map.Entry<String, byte[]> attr : get.getAttributesMap().entrySet()) { setAttribute(attr.getKey(), attr.getValue()); } for (Map.Entry<byte[], TimeRange> entry : get.getColumnFamilyTimeRange().entrySet()) { TimeRange tr = entry.getValue(); setColumnFamilyTimeRange(entry.getKey(), tr.getMin(), tr.getMax()); } this.mvccReadPoint = -1L; setPriority(get.getPriority()); }
final Get configuredGet = get; ClientServiceCallable<Result> callable = new ClientServiceCallable<Result>(this.connection, getName(), get.getRow(), this.rpcControllerFactory.newController(), get.getPriority()) { @Override protected Result rpcCall() throws Exception {