ScalarDecoder implementations that are
used for providing default values for scalar-valued record properties.
| Modifier and Type | Class and Description |
|---|---|
| protected static class | |
| protected static class | |
| protected abstract static class | |
| protected static class | |
| protected static class | |
| protected static class | |
| protected static class | |
| protected static class | |
| protected static class |
| Access | Constructor and Description |
|---|---|
| public |
| ScalarDefaults | back to summary |
|---|---|
| public ScalarDefaults() | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JsonToken | readValue(AvroReadContext parent, AvroParserImpl parser)
Implements abstract com.
|
| _defaults | back to summary |
|---|---|
| protected final JsonToken _defaults | |
| BooleanDefaults | back to summary |
|---|---|
| public BooleanDefaults(String name, boolean v) | |
| readValue | back to summary |
|---|---|
| public JsonToken readValue(AvroReadContext parent, AvroParserImpl parser) Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JsonToken | readValue(AvroReadContext parent, AvroParserImpl parser)
Implements abstract com.
|
| _defaults | back to summary |
|---|---|
| protected final byte[] _defaults | |
| BytesDefaults | back to summary |
|---|---|
| public BytesDefaults(String name, byte[] v) | |
| readValue | back to summary |
|---|---|
| public JsonToken readValue(AvroReadContext parent, AvroParserImpl parser) Implements abstract com.
| |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract JsonToken | readValue(AvroReadContext parent, AvroParserImpl parser)
Implements abstract com.
|
| public void | skipValue(AvroParserImpl parser)
Implements abstract com.
|
| DefaultsBase | back to summary |
|---|---|
| protected DefaultsBase(String name, String typeId) | |
| readValue | back to summary |
|---|---|
| public abstract JsonToken readValue(AvroReadContext parent, AvroParserImpl parser) throws IOException Implements abstract com.
| |
| skipValue | back to summary |
|---|---|
| public void skipValue(AvroParserImpl parser) throws IOException Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final double |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JsonToken | readValue(AvroReadContext parent, AvroParserImpl parser)
Implements abstract com.
|
| _defaults | back to summary |
|---|---|
| protected final double _defaults | |
| DoubleDefaults | back to summary |
|---|---|
| public DoubleDefaults(String name, double v) | |
| readValue | back to summary |
|---|---|
| public JsonToken readValue(AvroReadContext parent, AvroParserImpl parser) Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final float |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JsonToken | readValue(AvroReadContext parent, AvroParserImpl parser)
Implements abstract com.
|
| _defaults | back to summary |
|---|---|
| protected final float _defaults | |
| FloatDefaults | back to summary |
|---|---|
| public FloatDefaults(String name, float v) | |
| readValue | back to summary |
|---|---|
| public JsonToken readValue(AvroReadContext parent, AvroParserImpl parser) Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JsonToken | readValue(AvroReadContext parent, AvroParserImpl parser)
Implements abstract com.
|
| _defaults | back to summary |
|---|---|
| protected final int _defaults | |
| IntDefaults | back to summary |
|---|---|
| public IntDefaults(String name, int v) | |
| readValue | back to summary |
|---|---|
| public JsonToken readValue(AvroReadContext parent, AvroParserImpl parser) Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JsonToken | readValue(AvroReadContext parent, AvroParserImpl parser)
Implements abstract com.
|
| _defaults | back to summary |
|---|---|
| protected final long _defaults | |
| LongDefaults | back to summary |
|---|---|
| public LongDefaults(String name, long v) | |
| readValue | back to summary |
|---|---|
| public JsonToken readValue(AvroReadContext parent, AvroParserImpl parser) Implements abstract com.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JsonToken | readValue(AvroReadContext parent, AvroParserImpl parser)
Implements abstract com.
|
| NullDefaults | back to summary |
|---|---|
| public NullDefaults(String name) | |
| readValue | back to summary |
|---|---|
| public JsonToken readValue(AvroReadContext parent, AvroParserImpl parser) Implements abstract com.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public JsonToken | readValue(AvroReadContext parent, AvroParserImpl parser)
Implements abstract com.
|
| _defaults | back to summary |
|---|---|
| protected final String _defaults | |
| StringDefaults | back to summary |
|---|---|
| public StringDefaults(String name, String v) | |
| readValue | back to summary |
|---|---|
| public JsonToken readValue(AvroReadContext parent, AvroParserImpl parser) throws IOException Implements abstract com.
| |