@Override protected LogReader createIndexReader() { final EntityDefinition entityDef = indexDef.getEntityDefinition(); // final byte[][] outputQualifiers = null; if(!condition.isOutputAll()) { outputQualifiers = HBaseInternalLogHelper.getOutputQualifiers(entityDef, condition.getOutputFields()); } return new UniqueIndexLogReader(indexDef, indexRowkeys, outputQualifiers, condition.getFilter()); } }
@Override protected LogReader createIndexReader() { final EntityDefinition entityDef = indexDef.getEntityDefinition(); byte[][] outputQualifiers = null; if (!condition.isOutputAll()) { outputQualifiers = HBaseInternalLogHelper.getOutputQualifiers(entityDef, condition.getOutputFields()); } return new NonClusteredIndexLogReader(indexDef, indexRowkeys, outputQualifiers, condition.getFilter()); } }
@Override protected LogReader createIndexReader() { final EntityDefinition entityDef = indexDef.getEntityDefinition(); // final byte[][] outputQualifiers = null; if (!condition.isOutputAll()) { outputQualifiers = HBaseInternalLogHelper.getOutputQualifiers(entityDef, condition.getOutputFields()); } return new UniqueIndexLogReader(indexDef, indexRowkeys, outputQualifiers, condition.getFilter()); } }
@Override protected LogReader createIndexReader() { final EntityDefinition entityDef = indexDef.getEntityDefinition(); byte[][] outputQualifiers = null; if(!condition.isOutputAll()) { outputQualifiers = HBaseInternalLogHelper.getOutputQualifiers(entityDef, condition.getOutputFields()); } return new NonClusteredIndexLogReader(indexDef, indexRowkeys, outputQualifiers, condition.getFilter()); } }
GenericAggregateReader reader = new GenericAggregateReader(entityDef, searchCondition.getPartitionValues(), start, end, searchCondition.getFilter(), searchCondition.getStartRowkey(), outputQualifiers, this.prefix, this.aggregateCondition); try { if (LOG.isDebugEnabled()) {
GenericAggregateReader reader = new GenericAggregateReader(entityDef, searchCondition.getPartitionValues(), start, end, searchCondition.getFilter(), searchCondition.getStartRowkey(), outputQualifiers, this.prefix,this.aggregateCondition); try{ if(LOG.isDebugEnabled()) LOG.debug("open and read group aggregate reader");
condition.getFilter(), condition.getStartRowkey(), outputQualifiers, this.prefix); try {
HBaseLogReader2 reader = new HBaseLogReader2(entityDef, condition.getPartitionValues(), start, end, condition.getFilter(), condition.getStartRowkey(), outputQualifiers, this.prefix); try{ reader.open();