org.terracotta.toolkit.search.attribute
Interface ToolkitAttributeExtractor<K,V>

All Known Implementing Classes:
NullAttributeExtractor

public interface ToolkitAttributeExtractor<K,V>


Field Summary
static Map DO_NOT_INDEX
           
static ToolkitAttributeExtractor NULL_EXTRACTOR
           
 
Method Summary
 Map<String,Object> attributesFor(K key, V value)
          Returns map of extracted attribute names to their values, for given key/value pair.
 

Field Detail

NULL_EXTRACTOR

static final ToolkitAttributeExtractor NULL_EXTRACTOR

DO_NOT_INDEX

static final Map DO_NOT_INDEX
Method Detail

attributesFor

Map<String,Object> attributesFor(K key,
                                 V value)
                                 throws ToolkitAttributeExtractorException
Returns map of extracted attribute names to their values, for given key/value pair. If return value is DO_NOT_INDEX, skips this tuple from indexing

Throws:
ToolkitAttributeExtractorException


Copyright © 2014 Terracotta, Inc.. All Rights Reserved.