Package mil.nga.giat.geowave.vector.query

Examples of mil.nga.giat.geowave.vector.query.DistributedRenderQuery


    // data adapter Ids
    try (final CloseableIterator<Index> indices = indexStore.getIndices()) {
      final List<CloseableIterator<SimpleFeature>> results = new ArrayList<CloseableIterator<SimpleFeature>>();
      while (indices.hasNext()) {
        final Index index = indices.next();
        final DistributedRenderQuery accumuloQuery;
        if (query == null) {
          accumuloQuery = new DistributedRenderQuery(
              Arrays.asList(new ByteArrayId[] {
                adapter.getAdapterId()
              }),
              index,
              filter,
              adapter,
              distributedRenderer,
              authorizations);
        }
        else if (query.isSupported(index)) {
          // construct the query
          accumuloQuery = new DistributedRenderQuery(
              Arrays.asList(new ByteArrayId[] {
                adapter.getAdapterId()
              }),
              index,
              query.getIndexConstraints(index.getIndexStrategy()),
              query.createFilters(index.getIndexModel()),
              filter,
              adapter,
              distributedRenderer,
              authorizations);
        }
        else {
          continue;
        }
        results.addAll(accumuloQuery.queryDistributedRender(
            accumuloOperations,
            new MemoryAdapterStore(
                new DataAdapter[] {
                  adapter
                }),
View Full Code Here

TOP

Related Classes of mil.nga.giat.geowave.vector.query.DistributedRenderQuery

Copyright © 2018 www.massapicom. 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.