Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/nutch
/ prepareFields
Method
prepareFields
src/java/org/apache/nutch/api/impl/db/DbReader.java:84–90 ·
view source on GitHub ↗
(Set<String> fields)
Source
from the content-addressed store, hash-verified
82
}
83
84
private
String[] prepareFields(Set<String> fields) {
85
if
(CollectionUtils.isEmpty(fields)) {
86
return
null;
87
}
88
fields.remove(
"url"
);
89
return
fields.toArray(
new
String[fields.size()]);
90
}
91
}
Callers
1
runQuery
Method · 0.95
Calls
3
size
Method · 0.80
remove
Method · 0.65
isEmpty
Method · 0.45
Tested by
no test coverage detected