Class JavabinTupleStreamParser
- java.lang.Object
-
- org.apache.solr.common.util.JavaBinCodec
-
- org.apache.solr.client.solrj.io.stream.JavabinTupleStreamParser
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,TupleStreamParser
,PushWriter
public class JavabinTupleStreamParser extends JavaBinCodec implements TupleStreamParser
-
-
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 JavabinTupleStreamParser(InputStream is, boolean onlyJsonTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Map<String,Object>
next()
protected Object
readObject(DataInputInputStream dis)
-
Methods inherited from class org.apache.solr.common.util.JavaBinCodec
_init, createSolrInputDocument, getResolver, getTotalBytesWritten, init, initRead, initRead, initWrite, marshal, newMap, readArray, readArray, readByteArray, readEnumFieldValue, readExternString, 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, writeExternString, writeFloat, writeInt, writeIterator, writeIterator, writeKnownType, writeLong, writeMap, writeMap, writeMapEntry, writeNamedList, writePrimitive, writeSolrDocument, writeSolrDocumentList, writeSolrInputDocument, writeStr, writeTag, writeTag, writeUTF8Str, writeVal, writeVInt, writeVLong
-
-
-
-
Constructor Detail
-
JavabinTupleStreamParser
public JavabinTupleStreamParser(InputStream is, boolean onlyJsonTypes) throws IOException
- Throws:
IOException
-
-
Method Detail
-
readObject
protected Object readObject(DataInputInputStream dis) throws IOException
- Overrides:
readObject
in classJavaBinCodec
- Throws:
IOException
-
next
public Map<String,Object> next() throws IOException
- Specified by:
next
in interfaceTupleStreamParser
- Throws:
IOException
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classJavaBinCodec
- Throws:
IOException
-
-