Examples of dimensions()


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

        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;
        }
        List<IndexColumn> indexColumns = index().getAllColumns();
View Full Code Here

Examples of com.geophile.z.Space.dimensions()

                return false;
            nFields = actual.rowType().nFields();
        }
        Space space = space(expected.rowType());
        if (space != null) {
            nFields = nFields - space.dimensions() + 1;
        }
        for (int actualPosition = 0, expectedPosition = 0;
             actualPosition < nFields && expectedPosition < nFields;
             actualPosition++, expectedPosition++) {
            if(skipInternalColumns) {
View Full Code Here

Examples of com.jagpdf.ImageDef.dimensions()

            else
                checker_bytes[i] = (byte)255;
        }
        ImageDef imgdef = doc.image_definition();
        imgdef.data(checker_bytes, img_dim * img_dim);
        imgdef.dimensions(img_dim, img_dim);
        imgdef.color_space(ColorSpaceType.CS_DEVICE_GRAY);
        imgdef.bits_per_component(8);
        imgdef.dpi(9, 9);
        imgdef.format(ImageFormat.IMAGE_FORMAT_NATIVE);
        Image img_custom = doc.image_load(imgdef);
View Full Code Here

Examples of com.metamx.tranquility.druid.DruidRollup.dimensions()

    final DruidRollup rollup = DruidRollup.create(
        DruidDimensions.specific(dimensions),
        aggregators,
        QueryGranularity.MINUTE
    );
    Assert.assertTrue(rollup.dimensions() instanceof SpecificDruidDimensions);
    Assert.assertEquals("column", ((SpecificDruidDimensions) rollup.dimensions()).dimensions().apply(0));
  }

  @Test
  public void testSchemalessDimensionsRollupConfiguration() throws Exception
View Full Code Here

Examples of com.metamx.tranquility.druid.DruidRollup.dimensions()

        DruidDimensions.specific(dimensions),
        aggregators,
        QueryGranularity.MINUTE
    );
    Assert.assertTrue(rollup.dimensions() instanceof SpecificDruidDimensions);
    Assert.assertEquals("column", ((SpecificDruidDimensions) rollup.dimensions()).dimensions().apply(0));
  }

  @Test
  public void testSchemalessDimensionsRollupConfiguration() throws Exception
  {
View Full Code Here

Examples of com.metamx.tranquility.druid.DruidRollup.dimensions()

    final DruidRollup rollup = DruidRollup.create(
        DruidDimensions.schemaless(),
        aggregators,
        QueryGranularity.MINUTE
    );
    Assert.assertTrue(rollup.dimensions() instanceof SchemalessDruidDimensions);
    Assert.assertEquals(0, ((SchemalessDruidDimensions) rollup.dimensions()).dimensionExclusions().size());
  }

  @Test
  public void testSchemalessDimensionsWithExclusionsRollupConfiguration() throws Exception
View Full Code Here

Examples of com.metamx.tranquility.druid.DruidRollup.dimensions()

        DruidDimensions.schemaless(),
        aggregators,
        QueryGranularity.MINUTE
    );
    Assert.assertTrue(rollup.dimensions() instanceof SchemalessDruidDimensions);
    Assert.assertEquals(0, ((SchemalessDruidDimensions) rollup.dimensions()).dimensionExclusions().size());
  }

  @Test
  public void testSchemalessDimensionsWithExclusionsRollupConfiguration() throws Exception
  {
View Full Code Here

Examples of com.metamx.tranquility.druid.DruidRollup.dimensions()

    final DruidRollup rollup = DruidRollup.create(
        DruidDimensions.schemalessWithExclusions(dimensions),
        aggregators,
        QueryGranularity.MINUTE
    );
    Assert.assertTrue(rollup.dimensions() instanceof SchemalessDruidDimensions);
    Assert.assertEquals("column", ((SchemalessDruidDimensions) rollup.dimensions()).dimensionExclusions().apply(0));
  }

  @Test
  public void testDruidBeamBoltConstruction() throws Exception
View Full Code Here

Examples of com.metamx.tranquility.druid.DruidRollup.dimensions()

        DruidDimensions.schemalessWithExclusions(dimensions),
        aggregators,
        QueryGranularity.MINUTE
    );
    Assert.assertTrue(rollup.dimensions() instanceof SchemalessDruidDimensions);
    Assert.assertEquals("column", ((SchemalessDruidDimensions) rollup.dimensions()).dimensionExclusions().apply(0));
  }

  @Test
  public void testDruidBeamBoltConstruction() throws Exception
  {
View Full Code Here

Examples of com.sencha.gxt.chart.client.draw.path.PathSprite.dimensions()

    if (sprite instanceof TextSprite) {
      bbox = getBBoxText((TextSprite) sprite);
    } else {
      PathSprite realPath = sprite.getPathSprite();
      bbox = realPath.dimensions();
    }

    if (sprite.getRotation() != null || sprite.getScaling() != null || sprite.getTranslation() != null) {
      PathSprite transPath = new PathSprite(new RectangleSprite(bbox));
      transPath = transPath.map(sprite.transformMatrix());
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.