Package org.apache.solr.common
Class ConditionalMapWriter.EntryWriterWrapper
java.lang.Object
org.apache.solr.common.ConditionalMapWriter.EntryWriterWrapper
- All Implemented Interfaces:
MapWriter.EntryWriter
- Enclosing class:
ConditionalMapWriter
public static class ConditionalMapWriter.EntryWriterWrapper
extends Object
implements MapWriter.EntryWriter
-
Constructor Summary
ConstructorsConstructorDescriptionEntryWriterWrapper(MapWriter.EntryWriter delegate, BiPredicate<CharSequence, Object> predicate) -
Method Summary
Modifier and TypeMethodDescriptionput(CharSequence k, boolean v) put(CharSequence k, double v) put(CharSequence k, float v) put(CharSequence k, int v) put(CharSequence k, long v) put(CharSequence k, Object v) Writes a key value into the mapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.common.MapWriter.EntryWriter
getBiConsumer, put, put, putIfNotNull, putIfNotNull, putNoEx
-
Constructor Details
-
EntryWriterWrapper
public EntryWriterWrapper(MapWriter.EntryWriter delegate, BiPredicate<CharSequence, Object> predicate)
-
-
Method Details
-
put
Description copied from interface:MapWriter.EntryWriterWrites a key value into the map- Specified by:
putin interfaceMapWriter.EntryWriter- Parameters:
k- The keyv- The value can be any supported object- Throws:
IOException
-
put
- Specified by:
putin interfaceMapWriter.EntryWriter- Throws:
IOException
-
put
- Specified by:
putin interfaceMapWriter.EntryWriter- Throws:
IOException
-
put
- Specified by:
putin interfaceMapWriter.EntryWriter- Throws:
IOException
-
put
- Specified by:
putin interfaceMapWriter.EntryWriter- Throws:
IOException
-
put
- Specified by:
putin interfaceMapWriter.EntryWriter- Throws:
IOException
-