public class JavabinTupleStreamParser extends JavaBinCodec implements TupleStreamParser
JavaBinCodec.ObjectResolver, JavaBinCodec.StringBytes, JavaBinCodec.StringCache, JavaBinCodec.WritableDocFields
ARR, BOOL_FALSE, BOOL_TRUE, BYTE, BYTEARR, daos, DATE, DOUBLE, END, END_OBJ, ENUM_FIELD_VALUE, EXTERN_STRING, FLOAT, INT, ITERATOR, LONG, MAP, MAP_ENTRY, MAP_ENTRY_ITER, NAMED_LST, NULL, ORDERED_MAP, 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) |
finish, getResolver, init, initRead, initWrite, marshal, readArray, readByteArray, readEnumFieldValue, readExternString, readIterator, readMap, readMapEntry, readMapIter, readNamedList, readOrderedMap, readSize, readSmallInt, readSmallLong, readSolrDocument, readSolrDocumentList, readSolrInputDocument, readStr, readStr, readVal, readVInt, readVLong, setWritableDocFields, toWrite, 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, 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-2017 Apache Software Foundation. All Rights Reserved.