References Deprecated
IonReaderTextRawX is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
IonReaderTextRawX for low level events.
It surfaces the reader functions that construct instances
of various sorts (numbers, java strings, etc). It also
caches the fieldname and annotations of the current value.
It does not understand symbol tables nor care about them
the IonTextUserReader is responsible for that.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv SymbolTable | |
| private static int |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public BigDecimal | bigDecimalValue()
Implements com. Returns the current value as a |
| public BigInteger | bigIntegerValue()
Implements abstract com. Implements com. Returns the current value as a |
| public boolean | booleanValue()
Implements com. Returns the current value as an boolean. |
| public int | byteSize()
Implements com. Gets the size in bytes of the current lob value. |
| private final void | |
| private void | |
| private void | |
| public Date | dateValue()
Implements com. Returns the current value as a |
| public Decimal | decimalValue()
Implements com. Returns the current value as a |
| public double | doubleValue()
Implements com. Returns the current value as a double. |
| private void | |
| private final void | |
| private final void | |
| public int | getBytes(byte[]
destination to copy the value into, this must not be null. buffer, int the first position to copy into, this must be non null and
less than the length of buffer. offset, int the number of bytes available in the buffer to copy into,
this must be long enough to hold the whole value and not extend outside
of buffer. len)Implements com. Copies the current value into the passed in a byte array. |
| public final int | getFieldId()
Overrides com. Implements com. /** Gets the symbol ID of the field name attached to the current value. |
| public final String | getFieldName()
Overrides com. Implements com. Return the field name of the current value. |
| public SymbolToken | getFieldNameSymbol()
Overrides com. Implements com. Gets the current value's field name as a symbol token (text + ID). |
| public IntegerSize | getIntegerSize()
Implements com. Returns an |
| public IonValue | |
| public SymbolTable | Returns: not null.Overrides com. Implements com. Horrible temporary hack. |
| public String[] | getTypeAnnotations()
Implements com. Return the annotations of the current value as an array of strings. |
| public SymbolToken[] | getTypeAnnotationSymbols()
Implements com. Gets the current value's annotations as symbol tokens (text + ID). |
| public int | |
| public boolean | isNullValue()
Implements com. Determines whether the current value is a null Ion value of any type
(for example, |
| private int | |
| private final void | |
| private final long | |
| private void | |
| private final void | load_or_cast_cached_value(int
desired value type (in local type terms) value_type)this checks the state of the raw reader to make sure this is valid. |
| private final void | |
| public long | |
| public byte[] | newBytes()
Implements com. Returns the current value as a newly-allocated byte array. |
| public SymbolTable | |
| private int | |
| private void | |
| public final String | stringValue()
Implements com. Returns the current value as a Java String. |
| public SymbolToken | symbolValue()
Implements com. Returns the current value as a symbol token (text + ID). |
| public Timestamp | timestampValue()
Implements com. Returns the current value as a |
| _system_symtab | back to summary |
|---|---|
| pack-priv SymbolTable _system_symtab | |
| UNSIGNED_BYTE_MAX_VALUE | back to summary |
|---|---|
| private static int UNSIGNED_BYTE_MAX_VALUE | |
| IonReaderTextSystemX | back to summary |
|---|---|
| protected IonReaderTextSystemX(UnifiedInputStreamX iis) | |
| bigDecimalValue | back to summary |
|---|---|
| public BigDecimal bigDecimalValue() Implements com. Doc from com. Returns the current value as a
This method is only valid when
| |
| bigIntegerValue | back to summary |
|---|---|
| public BigInteger bigIntegerValue() Implements abstract com. Implements com. Doc from com. Returns the current value as a
| |
| booleanValue | back to summary |
|---|---|
| public boolean booleanValue() Implements com. Doc from com. Returns the current value as an boolean.
This is only valid when | |
| byteSize | back to summary |
|---|---|
| public int byteSize() Implements com. Doc from com. Gets the size in bytes of the current lob value.
This is only valid when
| |
| cast_cached_value | back to summary |
|---|---|
| private final void cast_cached_value(int new_type) | |
| checkIsBigIntegerApplicableType | back to summary |
|---|---|
| private void checkIsBigIntegerApplicableType() | |
| checkIsIntApplicableType | back to summary |
|---|---|
| private void checkIsIntApplicableType() | |
| dateValue | back to summary |
|---|---|
| public Date dateValue() Implements com. Doc from com. Returns the current value as a | |
| decimalValue | back to summary |
|---|---|
| public Decimal decimalValue() Implements com. Doc from com. Returns the current value as a | |
| doubleValue | back to summary |
|---|---|
| public double doubleValue() Implements com. Doc from com. Returns the current value as a double. This is only valid if there is an underlying value and the value is either float, or decimal. | |
| ensureLob | back to summary |
|---|---|
| private void ensureLob(String apiName) | |
| fillContainerList | back to summary |
|---|---|
| private final void fillContainerList(IonSystem sys, IonSequence list) | |
| fillContainerStruct | back to summary |
|---|---|
| private final void fillContainerStruct(IonSystem sys, IonStruct struct) | |
| getBytes | back to summary |
|---|---|
| public int getBytes(byte[] buffer, int offset, int len) Implements com. Doc from com. Copies the current value into the passed in a byte array.
This is only valid when
| |
| getFieldId | back to summary |
|---|---|
| public final int getFieldId() Overrides com. Implements com. Doc from com. /** Gets the symbol ID of the field name attached to the current value. This is an "expert method": correct use requires deep understanding of the Ion binary format. You almost certainly don't want to use it.
| |
| getFieldName | back to summary |
|---|---|
| public final String getFieldName() Overrides com. Implements com. Doc from com. Return the field name of the current value. Or null if there is no valid current value or if the current value is not a field of a struct.
| |
| getFieldNameSymbol | back to summary |
|---|---|
| public SymbolToken getFieldNameSymbol() Overrides com. Implements com. Doc from com. Gets the current value's field name as a symbol token (text + ID).
If the text of the token isn't known, the result's
| |
| getIntegerSize | back to summary |
|---|---|
| public IntegerSize getIntegerSize() Implements com. Doc from com. Returns an | |
| getIonValue | back to summary |
|---|---|
| public IonValue getIonValue(IonSystem sys) | |
| getSymbolTable | back to summary |
|---|---|
| public SymbolTable getSymbolTable() Overrides com. Implements com. Horrible temporary hack.
| |
| getTypeAnnotations | back to summary |
|---|---|
| public String[] getTypeAnnotations() Implements com. Doc from com. Return the annotations of the current value as an array of strings.
| |
| getTypeAnnotationSymbols | back to summary |
|---|---|
| public SymbolToken[] getTypeAnnotationSymbols() Implements com. Doc from com. Gets the current value's annotations as symbol tokens (text + ID).
| |
| intValue | back to summary |
|---|---|
| public int intValue() Implements com. Doc from com. Returns the current value as an int. This is only valid if there is an underlying value and the value is of a numeric type (int, float, or decimal). | |
| isNullValue | back to summary |
|---|---|
| public boolean isNullValue() Implements com. Doc from com. Determines whether the current value is a null Ion value of any type
(for example, | |
| load_lob_contents | back to summary |
|---|---|
| private int load_lob_contents() throws IOException | |
| load_lob_length_overflow_error | back to summary |
|---|---|
| private final void load_lob_length_overflow_error(long len) | |
| load_lob_save_point | back to summary |
|---|---|
| private final long load_lob_save_point() throws IOException | |
| load_once | back to summary |
|---|---|
| private void load_once() | |
| load_or_cast_cached_value | back to summary |
|---|---|
| private final void load_or_cast_cached_value(int value_type) this checks the state of the raw reader to make sure this is valid. It also checks for an existing cached value of the correct type. It will either cast the current value from an existing type to the type desired or it will construct the desired type from the raw input in the raw reader
| |
| load_scalar_value | back to summary |
|---|---|
| private final void load_scalar_value() throws IOException | |
| longValue | back to summary |
|---|---|
| public long longValue() Implements com. Doc from com. Returns the current value as a long. This is only valid if there is an underlying value and the value is of a numeric type (int, float, or decimal). | |
| newBytes | back to summary |
|---|---|
| public byte[] newBytes() Implements com. Doc from com. Returns the current value as a newly-allocated byte array.
This is only valid when | |
| pop_passed_symbol_table | back to summary |
|---|---|
| public SymbolTable pop_passed_symbol_table() Implements com. | |
| readBytes | back to summary |
|---|---|
| private int readBytes(byte[] buffer, int offset, int len) throws IOException | |
| resolveAnnotationSymbols | back to summary |
|---|---|
| private void resolveAnnotationSymbols(int count) Resolve annotations with the current symbol table. | |
| stringValue | back to summary |
|---|---|
| public final String stringValue() Implements com. Doc from com. Returns the current value as a Java String.
This is only valid when | |
| symbolValue | back to summary |
|---|---|
| public SymbolToken symbolValue() Implements com. Doc from com. Returns the current value as a symbol token (text + ID).
This is only valid when
| |
| timestampValue | back to summary |
|---|---|
| public Timestamp timestampValue() Implements com. Doc from com. Returns the current value as a | |
| Modifier and Type | Field and Description |
|---|---|
| public static final IonReaderTextSystemX. | |
| public static final IonReaderTextSystemX. | |
| public static final IonReaderTextSystemX. | |
| private static final char[] | |
| private static final char[] | |
| private static final char[] | |
| private static final char[] | |
| private static final char[] | |
| private static final char[] | |
| private static final char[] | |
| private static final char[] | |
| private static final char[] | |
| private static final char[] | |
| private static final char[] | |
| private static final char[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract boolean | |
| pack-priv abstract boolean | |
| private static boolean | |
| public static IonReaderTextSystemX. | |
| public static IonReaderTextSystemX. | |
| private static boolean |
| BINARY | back to summary |
|---|---|
| public static final IonReaderTextSystemX. | |
| DECIMAL | back to summary |
|---|---|
| public static final IonReaderTextSystemX. | |
| HEX | back to summary |
|---|---|
| public static final IonReaderTextSystemX. | |
| MAX_BINARY_INT_IMAGE | back to summary |
|---|---|
| private static final char[] MAX_BINARY_INT_IMAGE | |
| MAX_BINARY_LONG_IMAGE | back to summary |
|---|---|
| private static final char[] MAX_BINARY_LONG_IMAGE | |
| MAX_HEX_INT_IMAGE | back to summary |
|---|---|
| private static final char[] MAX_HEX_INT_IMAGE | |
| MAX_HEX_LONG_IMAGE | back to summary |
|---|---|
| private static final char[] MAX_HEX_LONG_IMAGE | |
| MAX_INT_IMAGE | back to summary |
|---|---|
| private static final char[] MAX_INT_IMAGE | |
| MAX_LONG_IMAGE | back to summary |
|---|---|
| private static final char[] MAX_LONG_IMAGE | |
| MIN_BINARY_INT_IMAGE | back to summary |
|---|---|
| private static final char[] MIN_BINARY_INT_IMAGE | |
| MIN_BINARY_LONG_IMAGE | back to summary |
|---|---|
| private static final char[] MIN_BINARY_LONG_IMAGE | |
| MIN_HEX_INT_IMAGE | back to summary |
|---|---|
| private static final char[] MIN_HEX_INT_IMAGE | |
| MIN_HEX_LONG_IMAGE | back to summary |
|---|---|
| private static final char[] MIN_HEX_LONG_IMAGE | |
| MIN_INT_IMAGE | back to summary |
|---|---|
| private static final char[] MIN_INT_IMAGE | |
| MIN_LONG_IMAGE | back to summary |
|---|---|
| private static final char[] MIN_LONG_IMAGE | |
| Radix | back to summary |
|---|---|
| private Radix() | |
| isInt | back to summary |
|---|---|
| pack-priv abstract boolean isInt(String image, int len) | |
| isLong | back to summary |
|---|---|
| pack-priv abstract boolean isLong(String image, int len) | |
| magnitudeLessThanOrEqualTo | back to summary |
|---|---|
| private static boolean magnitudeLessThanOrEqualTo(String lhs, int lhsLen, char[] rhs) | |
| valueOf | back to summary |
|---|---|
| public static IonReaderTextSystemX. | |
| values | back to summary |
|---|---|
| public static IonReaderTextSystemX. | |
| valueWithinBounds | back to summary |
|---|---|
| private static boolean valueWithinBounds(String value, int len, char[] minImage, char[] maxImage) | |