| | |
| | | this.indexer = indexer; |
| | | } |
| | | |
| | | void indexEntry(Entry entry, Set<ByteString> keys) |
| | | { |
| | | List<Attribute> attributes = entry.getAttribute(attributeType, true); |
| | | indexAttribute(attributes, keys); |
| | | } |
| | | |
| | | Set<ByteString> indexEntry(Entry entry) |
| | | { |
| | | final Set<ByteString> keys = new HashSet<>(); |
| | |
| | | } |
| | | } |
| | | |
| | | private void indexAttribute(List<Attribute> attributes, Set<ByteString> keys) |
| | | void indexEntry(Entry entry, Set<ByteString> keys) |
| | | { |
| | | if (attributes == null) |
| | | { |
| | | return; |
| | | } |
| | | for (Attribute attr : attributes) |
| | | for (Attribute attr : entry.getAttribute(attributeType)) |
| | | { |
| | | if (!attr.isVirtual()) |
| | | { |