Package org.apache.solr.update
Class TransactionLog.LogCodec
- java.lang.Object
-
- org.apache.solr.common.util.JavaBinCodec
-
- org.apache.solr.update.TransactionLog.LogCodec
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,PushWriter
- Enclosing class:
- TransactionLog
public class TransactionLog.LogCodec extends JavaBinCodec
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.common.util.JavaBinCodec
JavaBinCodec.BinEntryWriter, JavaBinCodec.ObjectResolver, JavaBinCodec.StringCache, 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
-
-
Constructor Summary
Constructors Constructor Description LogCodec(JavaBinCodec.ObjectResolver resolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CharSequence
readExternString(DataInputInputStream fis)
void
writeExternString(CharSequence s)
-
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, readObject, 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, writePrimitive, writeSolrDocument, writeSolrDocumentList, writeSolrInputDocument, writeStr, writeTag, writeTag, writeUTF8Str, writeVal, writeVInt, writeVLong
-
-
-
-
Constructor Detail
-
LogCodec
public LogCodec(JavaBinCodec.ObjectResolver resolver)
-
-
Method Detail
-
writeExternString
public void writeExternString(CharSequence s) throws IOException
- Overrides:
writeExternString
in classJavaBinCodec
- Throws:
IOException
-
readExternString
public CharSequence readExternString(DataInputInputStream fis) throws IOException
- Overrides:
readExternString
in classJavaBinCodec
- Throws:
IOException
-
-