Package mil.nga.giat.geowave.store.query.BasicQuery

Examples of mil.nga.giat.geowave.store.query.BasicQuery.Constraints


        LongitudeDefinition.class,
        rangeLongitude);
    constraintsPerDimension.put(
        LatitudeDefinition.class,
        rangeLatitude);
    return new Constraints(
        constraintsPerDimension);
  }
View Full Code Here


        LongitudeDefinition.class,
        longitude);
    constraintsPerDimension.put(
        LatitudeDefinition.class,
        latitude);
    return new Constraints(
        constraintsPerDimension);
  }
View Full Code Here

      final Filter filter = ECQL.toFilter(cqlFilter);
      final Geometry bbox = (Geometry) filter.accept(
          ExtractGeometryFilterVisitor.GEOMETRY_VISITOR,
          null);
      if ((bbox != null) && !bbox.equals(GeometryUtils.infinity())) {
        final Constraints c = GeometryUtils.basicConstraintsFromGeometry(bbox);
        final List<ByteArrayRange> ranges = spatialIndex.getIndexStrategy().getQueryRanges(
            c.getIndexConstraints(spatialIndex.getIndexStrategy()));

        InputFormatBase.setRanges(
            job,
            AccumuloUtils.byteArrayRangesToAccumuloRanges(ranges));
      }
View Full Code Here

  private final TreeSet<Range> ranges;

  public DecomposedQueryRangeRowProvider(
      final NumericIndexStrategy indexStrategy,
      final Envelope envelope ) {
    final Constraints constraints = GeometryUtils.basicConstraintsFromEnvelope(envelope);
    if (constraints != null) {
      final List<ByteArrayRange> byteArrayRanges = indexStrategy.getQueryRanges(constraints.getIndexConstraints(indexStrategy));
      ranges = AccumuloUtils.byteArrayRangesToAccumuloRanges(byteArrayRanges);
    }
    else {
      ranges = new TreeSet<Range>();
    }
View Full Code Here

TOP

Related Classes of mil.nga.giat.geowave.store.query.BasicQuery.Constraints

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.