MCPcopy Create free account
hub / github.com/crate/crate / isEmpty

Method isEmpty

server/src/main/java/io/crate/statistics/Stats.java:70–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

68 }
69
70 public boolean isEmpty() {
71 return numDocs == -1 && sizeInBytes == -1 && statsByColumn.isEmpty();
72 }
73
74 public Stats withNumDocs(long numDocs) {
75 long sizePerRow = averageSizePerRowInBytes();

Callers 15

executeMethod · 0.45
createIfNeededMethod · 0.45
executeOrFailMethod · 0.45
toBoundWhereClauseMethod · 0.45
optimizeMethod · 0.45
executeOrFailMethod · 0.45
addProjectionMethod · 0.45
toRequestMethod · 0.45
allocateMethod · 0.45
CollectMethod · 0.45
replaceSourcesMethod · 0.45

Calls

no outgoing calls

Tested by 2

tearDownMethod · 0.36