org.terracotta.toolkit.search.attribute
Class NullAttributeExtractor<K,V>

java.lang.Object
  extended by org.terracotta.toolkit.search.attribute.NullAttributeExtractor<K,V>
All Implemented Interfaces:
ToolkitAttributeExtractor<K,V>

public class NullAttributeExtractor<K,V>
extends Object
implements ToolkitAttributeExtractor<K,V>

Adapter class to indicate non-indexability of underlying data structure


Field Summary
 
Fields inherited from interface org.terracotta.toolkit.search.attribute.ToolkitAttributeExtractor
DO_NOT_INDEX, 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

attributesFor

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

Specified by:
attributesFor in interface ToolkitAttributeExtractor<K,V>


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