Examples of firstSpatialArgument()


Examples of com.foundationdb.ais.model.Index.firstSpatialArgument()

        @Override
        public void visit(IndexColumn indexColumn) {
            Index index = indexColumn.getIndex();
            boolean nonPointSpatialIndex =
                index.isSpatial() &&
                index.firstSpatialArgument() == index.lastSpatialArgument();
            TInstance columnType = indexColumn.getColumn().getType();
            if (!(!nonPointSpatialIndex && TypeValidator.isSupportedForIndex(columnType) ||
                  nonPointSpatialIndex && TypeValidator.isSupportedForNonPiontSpatialIndex(columnType))) {
                failures.reportFailure(new AISValidationFailure (
                        new UnsupportedIndexDataTypeException (
View Full Code Here

Examples of com.foundationdb.ais.model.Index.firstSpatialArgument()

        assert keyRange.spatial();
        this.iterationHelper = iterationHelper;
        IndexRowType physicalIndexRowType = keyRange.indexRowType().physicalRowType();
        Index index = keyRange.indexRowType().index();
        Space space = index.space();
        int latColumn = index.firstSpatialArgument();
        int lonColumn = latColumn + 1;
        // The index column selector needs to select all the columns before the z column, and the z column itself.
        IndexRowPrefixSelector indexColumnSelector = new IndexRowPrefixSelector(latColumn + 1);
        IndexBound loBound = keyRange.lo();
        ValueRecord loExpressions = loBound.boundExpressions(context, bindings);
View Full Code Here

Examples of com.foundationdb.ais.model.Index.firstSpatialArgument()

        this.types = sortKeyAdapter.createTInstances(startBoundColumns);
        Index index = keyRange.indexRowType().index();
        int firstSpatialColumn;
        int dimensions;
        if (index.isSpatial()) {
            firstSpatialColumn = index.firstSpatialArgument();
            dimensions = index.dimensions();
        } else {
            firstSpatialColumn = Integer.MAX_VALUE;
            dimensions = 0;
        }
View Full Code Here

Examples of com.foundationdb.ais.model.Index.firstSpatialArgument()

        this.multiCursor = new MultiCursor(openAll);
        this.iterationHelper = iterationHelper;
        Index spatialIndex = keyRange.indexRowType().index();
        assert spatialIndex.isSpatial() : spatialIndex;
        this.space = spatialIndex.space();
        this.latColumn = spatialIndex.firstSpatialArgument();
        this.lonColumn = latColumn + 1;
        API.Ordering zOrdering = new API.Ordering();
        IndexRowType rowType = keyRange.indexRowType().physicalRowType();
        for (int f = 0; f < rowType.nFields(); f++) {
            zOrdering.append(new TPreparedField(rowType.typeAt(f), f), true);
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.