public class JavabinTupleStreamParser extends JavaBinCodec implements TupleStreamParser
JavaBinCodec.BinEntryWriter, JavaBinCodec.ObjectResolver, JavaBinCodec.StringBytes, 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
Constructor and Description |
---|
JavabinTupleStreamParser(InputStream is,
boolean onlyJsonTypes) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Map<String,Object> |
next() |
protected Object |
readObject(DataInputInputStream dis) |
createSolrInputDocument, getResolver, getTotalBytesWritten, init, initRead, initRead, initWrite, marshal, newMap, readArray, readByteArray, readEnumFieldValue, readExternString, readIterator, readMap, readMapEntry, readMapIter, readNamedList, readOrderedMap, readSize, readSmallInt, readSmallLong, readSolrDocument, readSolrDocumentList, readSolrInputDocument, readStr, readStr, readUtf8, readVal, readVInt, readVLong, setReadStringAsCharSeq, setWritableDocFields, toWrite, unmarshal, unmarshal, writeArray, writeArray, writeArray, writeBoolean, writeByteArray, writeDouble, writeEnumFieldValue, writeExternString, writeFloat, writeInt, writeIterator, writeIterator, writeKnownType, writeLong, writeMap, writeMap, writeMapEntry, writeNamedList, writePrimitive, writeSolrDocument, writeSolrDocumentList, writeSolrInputDocument, writeStr, writeTag, writeTag, writeUTF8Str, writeVal, writeVInt, writeVLong
public JavabinTupleStreamParser(InputStream is, boolean onlyJsonTypes) throws IOException
IOException
protected Object readObject(DataInputInputStream dis) throws IOException
readObject
in class JavaBinCodec
IOException
public Map<String,Object> next() throws IOException
next
in interface TupleStreamParser
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class JavaBinCodec
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.