Package org.apache.solr.common.util
Class FastJavaBinDecoder.EntryImpl
- java.lang.Object
- 
- org.apache.solr.common.util.FastJavaBinDecoder.EntryImpl
 
- 
- All Implemented Interfaces:
- DataEntry
 - Enclosing class:
- FastJavaBinDecoder
 
 public class FastJavaBinDecoder.EntryImpl extends Object implements DataEntry 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.apache.solr.common.util.DataEntryDataEntry.EntryListener, DataEntry.FastDecoder, DataEntry.Type
 
- 
 - 
Constructor SummaryConstructors Constructor Description EntryImpl()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanboolVal()voidcallEnd()Objectctx()This is the object shared in the parent container in the {DataEntry.listenContainer(Object, EntryListener)} methodintdepth()Depth of this Object.doubledoubleVal()floatfloatVal()FastJavaBinDecoder.TaggetTag()longindex()The index of this entry in the containerintintVal()booleanisKeyValEntry()If this object is a key value entry.intlength()If it is a non-primitive type and size is known in advancevoidlistenContainer(Object ctx, DataEntry.EntryListener listener)Register a listener to get callbacks for all entrieslonglongVal()Objectmetadata()Some Objects may have metadata.CharSequencename()The name, if this is a map entry , else it returns a nullDataEntryparent()If this is a child of another container object this returns a non-null valueDataEntry.Typetype()The data typeObjectval()The object value
 
- 
- 
- 
Field Detail- 
ctxpublic Object ctx 
 
- 
 - 
Method Detail- 
indexpublic long index() Description copied from interface:DataEntryThe index of this entry in the container
 - 
lengthpublic int length() Description copied from interface:DataEntryIf it is a non-primitive type and size is known in advanceif it's a map/list, it's the no:of items in this container if it's a { CharSequence} or byte[] , it's the no:of bytes in the stream
 - 
getTagpublic FastJavaBinDecoder.Tag getTag() 
 - 
isKeyValEntrypublic boolean isKeyValEntry() Description copied from interface:DataEntryIf this object is a key value entry. key value entries have name- Specified by:
- isKeyValEntryin interface- DataEntry
 
 - 
namepublic CharSequence name() Description copied from interface:DataEntryThe name, if this is a map entry , else it returns a null
 - 
depthpublic int depth() Description copied from interface:DataEntryDepth of this Object. The root most object has a depth of 1
 - 
parentpublic DataEntry parent() Description copied from interface:DataEntryIf this is a child of another container object this returns a non-null value
 - 
metadatapublic Object metadata() Description copied from interface:DataEntrySome Objects may have metadata. usually there is none
 - 
ctxpublic Object ctx() Description copied from interface:DataEntryThis is the object shared in the parent container in the {DataEntry.listenContainer(Object, EntryListener)} method
 - 
typepublic DataEntry.Type type() Description copied from interface:DataEntryThe data type
 - 
listenContainerpublic void listenContainer(Object ctx, DataEntry.EntryListener listener) Description copied from interface:DataEntryRegister a listener to get callbacks for all entries- Specified by:
- listenContainerin interface- DataEntry
- Parameters:
- ctx- This is any object that should be shared with the child entry callbacks
- listener- The listener that handles each entry in this container
 
 - 
callEndpublic void callEnd() 
 
- 
 
-