Package org.apache.solr.common.util
Enum Class FastJavaBinDecoder.Tag
- All Implemented Interfaces:
Serializable,Comparable<FastJavaBinDecoder.Tag>,java.lang.constant.Constable
- Enclosing class:
FastJavaBinDecoder
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionvoidlazyRead(FastJavaBinDecoder.EntryImpl entry, org.apache.solr.common.util.FastJavaBinDecoder.StreamCodec codec) This should read the minimal data about the entry .readObject(org.apache.solr.common.util.FastJavaBinDecoder.StreamCodec codec, FastJavaBinDecoder.EntryImpl entry) Read the entry as an Object.voidskip(FastJavaBinDecoder.EntryImpl entry, org.apache.solr.common.util.FastJavaBinDecoder.StreamCodec codec) Read the entry from and discard the data.voidstream(FastJavaBinDecoder.EntryImpl currentEntry, org.apache.solr.common.util.FastJavaBinDecoder.StreamCodec codec) This applies to only container Objects.static FastJavaBinDecoder.TagReturns the enum constant of this class with the specified name.static FastJavaBinDecoder.Tag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
_NULL
-
_BOOL_TRUE
-
_BOOL_FALSE
-
_BYTE
-
_SHORT
-
_DOUBLE
-
_INT
-
_LONG
-
_FLOAT
-
_DATE
-
_MAP
-
_SOLRDOC
-
_SOLRDOCLST
-
_BYTEARR
-
_ITERATOR
-
_END
-
_SOLRINPUTDOC
-
_MAP_ENTRY_ITER
-
_ENUM_FIELD_VALUE
-
_MAP_ENTRY
-
_TAG_AND_LEN
-
_STR
-
_SINT
-
_SLONG
-
_ARR
-
_ORDERED_MAP
-
_NAMED_LST
-
_EXTERN_STRING
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
stream
public void stream(FastJavaBinDecoder.EntryImpl currentEntry, org.apache.solr.common.util.FastJavaBinDecoder.StreamCodec codec) throws IOException This applies to only container Objects. This is invoked only if there is a corresponding listener.- Throws:
IOException
-
lazyRead
public void lazyRead(FastJavaBinDecoder.EntryImpl entry, org.apache.solr.common.util.FastJavaBinDecoder.StreamCodec codec) throws IOException This should read the minimal data about the entry . if the data is a primitive type , read the whole thing- Throws:
IOException
-
readObject
public Object readObject(org.apache.solr.common.util.FastJavaBinDecoder.StreamCodec codec, FastJavaBinDecoder.EntryImpl entry) throws IOException Read the entry as an Object. The behavior should be similar to that ofJavaBinCodec.readObject(DataInputInputStream)- Throws:
IOException
-
skip
public void skip(FastJavaBinDecoder.EntryImpl entry, org.apache.solr.common.util.FastJavaBinDecoder.StreamCodec codec) throws IOException Read the entry from and discard the data. Do not create any objects- Throws:
IOException
-