Package com.marklogic.xcc.types

Examples of com.marklogic.xcc.types.XSInteger


  public void testEmptyDatabase() throws Exception {
    executeLibraryModule(modulePath, moduleNamespace, "emptyDatabase");
    // Verify update by running a query
    String q = "fn:count(fn:doc())";
    ResultSequence rs = this.executeQuery(q, null, null);
    XSInteger qResult = (XSInteger)rs.itemAt(0);
    assertEquals(getName(), 0, qResult.asPrimitiveInt());
  }
View Full Code Here

TOP

Related Classes of com.marklogic.xcc.types.XSInteger

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.