Class TransactionLog.LogCodec

  • All Implemented Interfaces:
    Closeable, AutoCloseable, org.apache.solr.common.PushWriter
    Enclosing class:
    TransactionLog

    public class TransactionLog.LogCodec
    extends org.apache.solr.common.util.JavaBinCodec
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.solr.common.util.JavaBinCodec

        org.apache.solr.common.util.JavaBinCodec.BinEntryWriter, org.apache.solr.common.util.JavaBinCodec.ObjectResolver, org.apache.solr.common.util.JavaBinCodec.StringCache, org.apache.solr.common.util.JavaBinCodec.WritableDocFields
    • Field Summary

      • Fields inherited from class org.apache.solr.common.util.JavaBinCodec

        ARR, BOOL_FALSE, BOOL_TRUE, BYTE, BYTEARR, daos, DATE, DOUBLE, END, END_OBJ, ENUM_FIELD_VALUE, ew, EXTERN_STRING, FLOAT, INT, itemWriter, ITERATOR, LONG, MAP, MAP_ENTRY, MAP_ENTRY_ITER, NAMED_LST, NULL, ORDERED_MAP, readStringAsCharSeq, SHORT, SINT, SLONG, SOLRDOC, SOLRDOCLST, SOLRINPUTDOC, STR, TAG_AND_LEN, tagByte, UUID
    • Constructor Summary

      Constructors 
      Constructor Description
      LogCodec​(org.apache.solr.common.util.JavaBinCodec.ObjectResolver resolver)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CharSequence readExternString​(org.apache.solr.common.util.DataInputInputStream fis)  
      protected Object readObject​(org.apache.solr.common.util.DataInputInputStream dis)  
      void writeExternString​(CharSequence s)  
      boolean writePrimitive​(Object val)  
      • Methods inherited from class org.apache.solr.common.util.JavaBinCodec

        _init, close, createSolrInputDocument, getResolver, getTotalBytesWritten, init, initRead, initRead, initWrite, marshal, newMap, readArray, readArray, readByteArray, readEnumFieldValue, readIterator, readMap, readMap, readMapEntry, readMapIter, readNamedList, readOrderedMap, readSize, readSmallInt, readSmallLong, readSolrDocument, readSolrDocumentList, readSolrInputDocument, readStr, readStr, readUtf8, readUtf8, readVal, readVInt, readVLong, setReadStringAsCharSeq, setWritableDocFields, toWrite, unmarshal, unmarshal, writeArray, writeArray, writeArray, writeBoolean, writeByteArray, writeDouble, writeEnumFieldValue, writeFloat, writeInt, writeIterator, writeIterator, writeKnownType, writeLong, writeMap, writeMap, writeMapEntry, writeNamedList, writeSolrDocument, writeSolrDocumentList, writeSolrInputDocument, writeStr, writeTag, writeTag, writeUTF8Str, writeVal, writeVInt, writeVLong
    • Constructor Detail

      • LogCodec

        public LogCodec​(org.apache.solr.common.util.JavaBinCodec.ObjectResolver resolver)
    • Method Detail

      • writeExternString

        public void writeExternString​(CharSequence s)
                               throws IOException
        Overrides:
        writeExternString in class org.apache.solr.common.util.JavaBinCodec
        Throws:
        IOException
      • readExternString

        public CharSequence readExternString​(org.apache.solr.common.util.DataInputInputStream fis)
                                      throws IOException
        Overrides:
        readExternString in class org.apache.solr.common.util.JavaBinCodec
        Throws:
        IOException
      • readObject

        protected Object readObject​(org.apache.solr.common.util.DataInputInputStream dis)
                             throws IOException
        Overrides:
        readObject in class org.apache.solr.common.util.JavaBinCodec
        Throws:
        IOException
      • writePrimitive

        public boolean writePrimitive​(Object val)
                               throws IOException
        Overrides:
        writePrimitive in class org.apache.solr.common.util.JavaBinCodec
        Throws:
        IOException