public class TransactionLog.LogCodec extends JavaBinCodec
JavaBinCodec.BinEntryWriter, JavaBinCodec.ObjectResolver, JavaBinCodec.StringCache, JavaBinCodec.WritableDocFields
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 and Description |
---|
LogCodec(JavaBinCodec.ObjectResolver resolver) |
Modifier and Type | Method and Description |
---|---|
CharSequence |
readExternString(DataInputInputStream fis) |
protected Object |
readObject(DataInputInputStream dis) |
void |
writeExternString(CharSequence s) |
boolean |
writePrimitive(Object val) |
_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
public LogCodec(JavaBinCodec.ObjectResolver resolver)
public void writeExternString(CharSequence s) throws IOException
writeExternString
in class JavaBinCodec
IOException
public CharSequence readExternString(DataInputInputStream fis) throws IOException
readExternString
in class JavaBinCodec
IOException
protected Object readObject(DataInputInputStream dis) throws IOException
readObject
in class JavaBinCodec
IOException
public boolean writePrimitive(Object val) throws IOException
writePrimitive
in class JavaBinCodec
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.