Examples of execute()


Examples of com.ee.tayra.domain.operation.Operation.execute()

  public void replay(final String document) {
    try {
      notifier.notifyWriteStart(document);
      final String operationCode = extractOpcode(document);
      Operation operation = operations.get(operationCode);
      operation.execute(document);
      notifier.notifyWriteSuccess(document);
    } catch (OperationFailed problem) {
      notifier.notifyWriteFailure(document, problem);
      if (problem.isConnectionLost()) {
        throw problem;
View Full Code Here

Examples of com.espertech.esper.core.start.EPPreparedExecuteMethod.execute()

    private EPOnDemandQueryResult executeQueryInternal(String epl, EPStatementObjectModel model, ContextPartitionSelector[] contextPartitionSelectors)
    {
        try
        {
            EPPreparedExecuteMethod executeMethod = getExecuteMethod(epl, model);
            EPPreparedQueryResult result = executeMethod.execute(contextPartitionSelectors);
            return new EPQueryResultImpl(result);
        }
        catch (EPStatementException ex)
        {
            throw ex;
View Full Code Here

Examples of com.esri.core.geometry.OperatorBoundary.execute()

  @Override
  public OGCGeometry boundary() {
    OperatorBoundary op = (OperatorBoundary) OperatorFactoryLocal
        .getInstance().getOperator(Operator.Type.Boundary);
    Geometry g = op.execute(polyline, null);
    return OGCGeometry.createFromEsriGeometry(g, esriSR, true);
  }

  @Override
  public OGCGeometry locateAlong(double mValue) {
View Full Code Here

Examples of com.esri.core.geometry.OperatorBuffer.execute()

              // create a copy instead).
      return this;
    }

    double d[] = { distance };
    com.esri.core.geometry.GeometryCursor cursor = op.execute(
        getEsriGeometryCursor(), getEsriSpatialReference(), d, true,
        null);
    return OGCGeometry.createFromEsriGeometry(cursor.next(), esriSR);
  }
View Full Code Here

Examples of com.esri.core.geometry.OperatorExportToGeoJson.execute()

  }

    public String asGeoJson() {
        OperatorExportToGeoJson op = (OperatorExportToGeoJson) OperatorFactoryLocal
                .getInstance().getOperator(Operator.Type.ExportToGeoJson);
        return op.execute(getEsriGeometry());
    }

  public boolean isEmpty() {
    return getEsriGeometry().isEmpty();
  }
View Full Code Here

Examples of com.esri.core.geometry.OperatorExportToWkb.execute()

  }

  public ByteBuffer asBinary() {
    OperatorExportToWkb op = (OperatorExportToWkb) OperatorFactoryLocal
        .getInstance().getOperator(Operator.Type.ExportToWkb);
    return op.execute(0, getEsriGeometry(), null);
  }

  public boolean isEmpty() {
    return getEsriGeometry().isEmpty();
  }
View Full Code Here

Examples of com.esri.core.geometry.OperatorImportFromESRIShape.execute()

  }

  public static OGCGeometry fromEsriShape(ByteBuffer buffer) {
    OperatorImportFromESRIShape op = (OperatorImportFromESRIShape) OperatorFactoryLocal
        .getInstance().getOperator(Operator.Type.ImportFromESRIShape);
    Geometry g = op.execute(0, Geometry.Type.Unknown, buffer);
    return OGCGeometry.createFromEsriGeometry(g,
        SpatialReference.create(4326));
  }

  public static OGCGeometry fromJson(String string)
View Full Code Here

Examples of com.esri.core.geometry.OperatorSimplify.execute()

   */
  public OGCGeometry MakeSimpleRelaxed(boolean forceProcessing) {
    OperatorSimplify op = (OperatorSimplify) OperatorFactoryLocal
        .getInstance().getOperator(Operator.Type.Simplify);
    return OGCGeometry.createFromEsriGeometry(
        op.execute(getEsriGeometry(), esriSR, forceProcessing, null),
        esriSR);
  }

  public boolean is3D() {
    return getEsriGeometry().getDescription().hasAttribute(
View Full Code Here

Examples of com.esri.core.geometry.OperatorUnion.execute()

  public OGCGeometry union(OGCGeometry another) {
    OperatorUnion op = (OperatorUnion) OperatorFactoryLocal.getInstance()
        .getOperator(Operator.Type.Union);
    GeometryCursorAppend ap = new GeometryCursorAppend(
        getEsriGeometryCursor(), another.getEsriGeometryCursor());
    com.esri.core.geometry.GeometryCursor cursor = op.execute(ap,
        getEsriSpatialReference(), null);
    return OGCGeometry.createFromEsriCursor(cursor, esriSR);
  }

  public OGCGeometry difference(OGCGeometry another) {
View Full Code Here

Examples of com.esri.gpt.catalog.arcims.ExtendedQueryRequest.execute()

    return iterator.next();
  }

  private void advanceToNextRecords() throws ImsServiceException {
    ExtendedQueryRequest queryRequest = proxy.getQueryRequest(criteria);
    queryRequest.execute();
    iterator = new ArcImsRecordsAdapter(proxy,convertUuidsToSourceUris(queryRequest.getUuids())).iterator();
  }
}

/**
 
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.