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, UUID
-
-
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)
protected Object
readObject(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(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
-
readObject
protected Object readObject(DataInputInputStream dis) throws IOException
- Overrides:
readObject
in classJavaBinCodec
- Throws:
IOException
-
writePrimitive
public boolean writePrimitive(Object val) throws IOException
- Overrides:
writePrimitive
in classJavaBinCodec
- Throws:
IOException
-
-