Examples of ScanSpec


Examples of com.amazonaws.services.dynamodbv2.document.spec.ScanSpec

        super(client, table);
    }

    @Override
    public ItemCollection<ScanOutcome> scan(ScanFilter... scanFilters) {
        return scan(new ScanSpec()
                .withScanFilters(scanFilters));
    }
View Full Code Here

Examples of com.amazonaws.services.dynamodbv2.document.spec.ScanSpec


    @Override
    public ItemCollection<ScanOutcome> scan(String filterExpression,
            Map<String, String> nameMap, Map<String, Object> valueMap) {
        return scan(new ScanSpec()
                .withFilterExpression(filterExpression)
                .withNameMap(nameMap)
                .withValueMap(valueMap));
    }
View Full Code Here

Examples of com.amazonaws.services.dynamodbv2.document.spec.ScanSpec

    @Override
    public ItemCollection<ScanOutcome> scan(String filterExpression,
            String projectionExpression, Map<String, String> nameMap,
            Map<String, Object> valueMap) {
        return scan(new ScanSpec()
                .withFilterExpression(filterExpression)
                .withProjectionExpression(projectionExpression)
                .withNameMap(nameMap)
                .withValueMap(valueMap));
    }
View Full Code Here

Examples of com.inadco.hbl.client.impl.scanner.ScanSpec

                                   SliceOperation so,
                                   byte[][] measureQualifiers) {
        List<Dimension> dimensions = cuboid.getCuboidDimensions();
        if (dimIndex == dimensions.size()) {
            // add leaf
            scanHolder.add(new ScanSpec(
                measureQualifiers,
                groupKeyLen,
                partialSpec.toArray(new Range[dimIndex]),
                cuboid,
                so));
View Full Code Here

Examples of com.inadco.hbl.client.impl.scanner.ScanSpec

        this.measureName2IndexMap = measureName2IndexMap;
        this.dim2GroupKeyOffsetMap = dimName2GroupKeyOffsetMap;
        this.afr = afr;

        ScanSpec spec = scanSpecs.get(0);
        this.cuboid = spec.getCuboid();
        this.groupDimName2Dimension = cuboid.getParentCube().getDimensions();

        // constructors of FilteringScanSpecScanner are the ones that will be
        // running initial query -- so we probably
        // want to parallelize them. except for the first one which we want to
        // run in
        // the context of the current thread.

        List<Future<FilteringScanSpecScanner>> filteringScannerConstructors =
            new ArrayList<Future<FilteringScanSpecScanner>>();

        Iterator<ScanSpec> iter = scanSpecs.iterator();
        ScanSpec firstSpec = iter.next();

        for (; iter.hasNext();) {
            final ScanSpec ss = iter.next();

            Callable<FilteringScanSpecScanner> callable = new Callable<FilteringScanSpecScanner>() {

                @Override
                public FilteringScanSpecScanner call() throws IOException, HblException {
View Full Code Here

Examples of org.hypertable.thriftgen.ScanSpec

                    Vector<HashMap<String, ByteIterator>> result)
    {
        //SELECT _columnFamily:fields FROM table WHERE (ROW >= startkey)
        //    LIMIT recordcount MAX_VERSIONS 1;
       
        ScanSpec spec = new ScanSpec();
        RowInterval elem = new RowInterval();
        elem.setStart_inclusive(true);
        elem.setStart_row(startkey);
        spec.addToRow_intervals(elem);
        if (null != fields) {
            for (String field : fields) {
                spec.addToColumns(_columnFamily + ":" + field);
            }
        }
        spec.setVersions(1);
        spec.setRow_limit(recordcount);

        SerializedCellsReader reader = new SerializedCellsReader(null);

        try {
            long sc = connection.scanner_open(ns, table, spec);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.