Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
execute
Method · 0.45
createIfNeeded
Method · 0.45
executeOrFail
Method · 0.45
toBoundWhereClause
Method · 0.45
optimize
Method · 0.45
executeOrFail
Method · 0.45
addProjection
Method · 0.45
toRequest
Method · 0.45
visitResetAnalyzedStatement
Method · 0.45
allocate
Method · 0.45
Collect
Method · 0.45
replaceSources
Method · 0.45
Calls
no outgoing calls
Tested by
2
tearDown
Method · 0.36
test_local_node_is_master_node_no_shards_locally
Method · 0.36