Examples of fgetInt()


Examples of org.apache.vinci.transport.QueryableFrame.fgetInt()

    H.types = new String[A.size()];

    QueryableFrame Q;
    for (int i = 0; i < H.hits.length; i++) {
      Q = (QueryableFrame) A.get(i);
      H.hits[i] = Q.fgetInt("COUNT");
      H.types[i] = Q.fgetString("TYPE");
    }

    return H;
  }
View Full Code Here

Examples of org.apache.vinci.transport.VinciFrame.fgetInt()

    smartAdd(out, "TYPE", type);
    VinciFrame resp = (VinciFrame) transmit(out);

    checkError(resp);

    return (resp.fgetInt("HITS"));
  }

  public int getHits() {
    return getHits(null);
  }
View Full Code Here

Examples of org.apache.vinci.transport.VinciFrame.fgetInt()

    VinciFrame resp = (VinciFrame) transmit(out);

    checkError(resp);

    HitsList H = new HitsList();
    H.totalhits = resp.fgetInt("TOTAL");
    H.starttime = resp.fgetString("STARTED");
    ArrayList A = resp.fget("HITS");
    H.hits = new int[A.size()];
    H.types = new String[A.size()];
View Full Code Here

Examples of org.apache.vinci.transport.VinciFrame.fgetInt()

    VinciFrame resp = (VinciFrame) transmit(out);

    checkError(resp);

    int[] result = new int[3];
    result[0] = resp.fgetInt("PORT");
    result[1] = resp.fgetInt("LEVEL");
    result[2] = resp.fgetInt("INSTANCE");

    return result;
  }
View Full Code Here

Examples of org.apache.vinci.transport.VinciFrame.fgetInt()

    checkError(resp);

    int[] result = new int[3];
    result[0] = resp.fgetInt("PORT");
    result[1] = resp.fgetInt("LEVEL");
    result[2] = resp.fgetInt("INSTANCE");

    return result;
  }
View Full Code Here

Examples of org.apache.vinci.transport.VinciFrame.fgetInt()

    checkError(resp);

    int[] result = new int[3];
    result[0] = resp.fgetInt("PORT");
    result[1] = resp.fgetInt("LEVEL");
    result[2] = resp.fgetInt("INSTANCE");

    return result;
  }

  public int[] serveon(String name) {
View Full Code Here

Examples of org.apache.vinci.transport.document.AFrame.fgetInt()

      CASSerializer responseSerializer = (CASSerializer) SerializationUtils
              .deserialize(responseCasBytes);
      ((CASImpl) cas).reinit(responseSerializer);

      // also read annotation time and enter into AnalysisEngineManagementMBean
      int annotationTime = responseFrame.fgetInt(Constants.ANNOTATION_TIME);
      if (annotationTime > 0) {
        AnalysisEngineManagementImpl mbean = (AnalysisEngineManagementImpl) mOwner
                .getManagementInterface();
        mbean.reportAnalysisTime(annotationTime);
      }
View Full Code Here

Examples of org.apache.vinci.transport.document.AFrame.fgetInt()

      CASSerializer responseSerializer = (CASSerializer) SerializationUtils
              .deserialize(responseCasBytes);
      ((CASImpl) cas).reinit(responseSerializer);

      // also read annotation time and enter into AnalysisEngineManagementMBean
      int annotationTime = responseFrame.fgetInt(Constants.ANNOTATION_TIME);
      if (annotationTime > 0) {
        AnalysisEngineManagementImpl mbean = (AnalysisEngineManagementImpl) mOwner
                .getManagementInterface();
        mbean.reportAnalysisTime(annotationTime);
      }
View Full Code Here

Examples of org.apache.vinci.transport.document.AFrame.fgetInt()

      CASSerializer responseSerializer = (CASSerializer) SerializationUtils
              .deserialize(responseCasBytes);
      ((CASImpl) cas).reinit(responseSerializer);

      // also read annotation time and enter into AnalysisEngineManagementMBean
      int annotationTime = responseFrame.fgetInt(Constants.ANNOTATION_TIME);
      if (annotationTime > 0) {
        AnalysisEngineManagementImpl mbean = (AnalysisEngineManagementImpl) mOwner
                .getManagementInterface();
        mbean.reportAnalysisTime(annotationTime);
      }
View Full Code Here

Examples of org.apache.vinci.transport.document.AFrame.fgetInt()

      CASSerializer responseSerializer = (CASSerializer) SerializationUtils
              .deserialize(responseCasBytes);
      ((CASImpl) cas).reinit(responseSerializer);

      // also read annotation time and enter into AnalysisEngineManagementMBean
      int annotationTime = responseFrame.fgetInt(Constants.ANNOTATION_TIME);
      if (annotationTime > 0) {
        AnalysisEngineManagementImpl mbean = (AnalysisEngineManagementImpl) mOwner
                .getManagementInterface();
        mbean.reportAnalysisTime(annotationTime);
      }
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.