Modifier and Type | Field and Description |
---|---|
protected Object | |
protected final AvroReadContext | |
protected final String |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
protected void | |
protected abstract void | |
public String | getCurrentName()
Implements abstract com. Method for accessing name associated with the current location. |
public abstract JsonToken | |
public Object | getCurrentValue()
Overrides com. Method for accessing currently active value being used by data-binding (as the source of streaming data to write, or destination of data being read), at this level in hierarchy. |
public final AvroReadContext | getParent()
Implements abstract com. Accessor for finding parent context of this context; will return null for root context. |
public long | |
public String | |
public abstract String | |
public abstract JsonToken | |
public void | setCurrentValue(Object
Current value to assign to this context v)Overrides com. Method to call to pass value to be returned via |
public abstract void | |
public final String | toString()
Overrides com. Overridden to provide developer writeable "JsonPath" representation of the context. |
_currentValue | back to summary |
---|---|
protected Object _currentValue
|
_parent | back to summary |
---|---|
protected final AvroReadContext _parent |
_typeId | back to summary |
---|---|
protected final String _typeId |
AvroReadContext | back to summary |
---|---|
public AvroReadContext(AvroReadContext parent, String typeId) |
_reportError | back to summary |
---|---|
protected void _reportError()
|
appendDesc | back to summary |
---|---|
protected abstract void appendDesc(StringBuilder sb) |
getCurrentName | back to summary |
---|---|
public String getCurrentName() Implements abstract com. Doc from com. Method for accessing name associated with the current location.
Non-null for |
getCurrentToken | back to summary |
---|---|
public abstract JsonToken getCurrentToken() |
getCurrentValue | back to summary |
---|---|
public Object getCurrentValue() Overrides com. Doc from com. Method for accessing currently active value being used by data-binding (as the source of streaming data to write, or destination of data being read), at this level in hierarchy. Note that "current value" is NOT populated (or used) by Streaming parser or generator; it is only used by higher-level data-binding functionality. The reason it is included here is that it can be stored and accessed hierarchically, and gets passed through data-binding. |
getParent | back to summary |
---|---|
public final AvroReadContext getParent() Implements abstract com. Doc from com. Accessor for finding parent context of this context; will return null for root context.
|
getRemainingElements | back to summary |
---|---|
public long getRemainingElements() |
getTypeId | back to summary |
---|---|
public String getTypeId() |
nextFieldName | back to summary |
---|---|
public abstract String nextFieldName() throws IOException |
nextToken | back to summary |
---|---|
public abstract JsonToken nextToken() throws IOException |
setCurrentValue | back to summary |
---|---|
public void setCurrentValue(Object v) Overrides com. Doc from com. Method to call to pass value to be returned via |
skipValue | back to summary |
---|---|
public abstract void skipValue(AvroParserImpl parser) throws IOException |
toString | back to summary |
---|---|
public final String toString() Overrides com. Overridden to provide developer writeable "JsonPath" representation of the context.
|