Package org.apache.solr.common.util
Class JavaBinCodec.BinEntryWriter
- java.lang.Object
- 
- org.apache.solr.common.util.JavaBinCodec.BinEntryWriter
 
- 
- All Implemented Interfaces:
- MapWriter.EntryWriter
 - Enclosing class:
- JavaBinCodec
 
 public class JavaBinCodec.BinEntryWriter extends Object implements MapWriter.EntryWriter 
- 
- 
Constructor SummaryConstructors Constructor Description BinEntryWriter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BiConsumer<CharSequence,Object>getBiConsumer()MapWriter.EntryWriterput(CharSequence k, boolean v)MapWriter.EntryWriterput(CharSequence k, double v)MapWriter.EntryWriterput(CharSequence k, float v)MapWriter.EntryWriterput(CharSequence k, int v)MapWriter.EntryWriterput(CharSequence k, long v)MapWriter.EntryWriterput(CharSequence k, CharSequence v)This is an optimization to avoid the instanceof checks.MapWriter.EntryWriterput(CharSequence k, Object v)Writes a key value into the map- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.solr.common.MapWriter.EntryWriterput, putIfNotNull, putNoEx, putStringIfNotNull
 
- 
 
- 
- 
- 
Method Detail- 
putpublic MapWriter.EntryWriter put(CharSequence k, Object v) throws IOException Description copied from interface:MapWriter.EntryWriterWrites a key value into the map- Specified by:
- putin interface- MapWriter.EntryWriter
- Parameters:
- k- The key
- v- The value can be any supported object
- Throws:
- IOException
 
 - 
putpublic MapWriter.EntryWriter put(CharSequence k, int v) throws IOException - Specified by:
- putin interface- MapWriter.EntryWriter
- Throws:
- IOException
 
 - 
putpublic MapWriter.EntryWriter put(CharSequence k, long v) throws IOException - Specified by:
- putin interface- MapWriter.EntryWriter
- Throws:
- IOException
 
 - 
putpublic MapWriter.EntryWriter put(CharSequence k, float v) throws IOException - Specified by:
- putin interface- MapWriter.EntryWriter
- Throws:
- IOException
 
 - 
putpublic MapWriter.EntryWriter put(CharSequence k, double v) throws IOException - Specified by:
- putin interface- MapWriter.EntryWriter
- Throws:
- IOException
 
 - 
putpublic MapWriter.EntryWriter put(CharSequence k, boolean v) throws IOException - Specified by:
- putin interface- MapWriter.EntryWriter
- Throws:
- IOException
 
 - 
putpublic MapWriter.EntryWriter put(CharSequence k, CharSequence v) throws IOException Description copied from interface:MapWriter.EntryWriterThis is an optimization to avoid the instanceof checks.- Specified by:
- putin interface- MapWriter.EntryWriter
- Throws:
- IOException
 
 - 
getBiConsumerpublic BiConsumer<CharSequence,Object> getBiConsumer() - Specified by:
- getBiConsumerin interface- MapWriter.EntryWriter
 
 
- 
 
-