use of datawave.query.index.lookup.IndexInfo in project datawave by NationalSecurityAgency.
the class RangeStreamScanner method readInfoFromValue.
public IndexInfo readInfoFromValue(Value value) {
try {
IndexInfo info = new IndexInfo();
info.readFields(new DataInputStream(new ByteArrayInputStream(value.get())));
if (log.isTraceEnabled()) {
for (IndexMatch match : info.uids()) {
log.trace("match is " + StringUtils.split(match.getUid(), '\u0000')[1]);
}
}
return info;
} catch (IOException e) {
log.error(e);
throw new DatawaveFatalQueryException(e);
}
}
Aggregations