MCPcopy Create free account
hub / github.com/BaseXdb/basex / size

Method size

basex-core/src/main/java/org/basex/query/iter/Iter.java:41–44  ·  view source on GitHub ↗

Returns the iterator size. -1 is returned if the result size is unknown. If this method returns a positive value, #get(long) needs to be implemented as well. @return number of entries @throws QueryException query exception

()

Source from the content-addressed store, hash-verified

39 * @throws QueryException query exception
40 */
41 @SuppressWarnings("unused")
42 public long size() throws QueryException {
43 return -1;
44 }
45
46 /**
47 * Indicates if this iterator is based on a value.

Callers 15

atomIterMethod · 0.95
testMethod · 0.95
testMethod · 0.95
iterMethod · 0.95
iterMethod · 0.95
itemMethod · 0.95
iterMethod · 0.95
iterMethod · 0.95
itemMethod · 0.95
itemMethod · 0.95
valueMethod · 0.95
iterMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected