Modifier and Type | Field and Description |
---|---|
protected JsonToken |
Access | Constructor and Description |
---|---|
protected |
Modifier and Type | Method and Description |
---|---|
protected <T> T | |
public boolean | consumesNoContent()
Method that may be called to check if the values "read" by this reader are zero-length, that is, consume no content: most common example being Record with no fields. |
public final JsonToken | getCurrentToken()
Implements abstract com.
|
public abstract AvroStructureReader | newReader(AvroReadContext parent, AvroParserImpl parser)
Method for creating actual instance to use for reading (initial instance constructed is so-called blueprint). |
public abstract JsonToken | nextToken()
Implements abstract com.
|
public abstract void | skipValue(AvroParserImpl parser)
Implements abstract com. Alternative to |
protected void |
_currToken | back to summary |
---|---|
protected JsonToken _currToken |
AvroStructureReader | back to summary |
---|---|
protected AvroStructureReader(AvroReadContext parent, int type, String typeId) |
_throwUnsupported | back to summary |
---|---|
protected <T> T _throwUnsupported() |
consumesNoContent | back to summary |
---|---|
public boolean consumesNoContent() Method that may be called to check if the values "read" by this reader are zero-length, that is, consume no content: most common example being Record with no fields. Note Arrays can not return
|
getCurrentToken | back to summary |
---|---|
public final JsonToken getCurrentToken() Implements abstract com.
|
newReader | back to summary |
---|---|
public abstract AvroStructureReader newReader(AvroReadContext parent, AvroParserImpl parser) throws IOException Method for creating actual instance to use for reading (initial instance constructed is so-called blueprint). |
nextToken | back to summary |
---|---|
public abstract JsonToken nextToken() throws IOException Implements abstract com.
|
skipValue | back to summary |
---|---|
public abstract void skipValue(AvroParserImpl parser) throws IOException Implements abstract com. Alternative to
|
throwIllegalState | back to summary |
---|---|
protected void throwIllegalState(int state) |