| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| protected _Private_IonValue | |
| protected boolean | |
| protected Iterator | |
| protected _Private_IonValue | |
| protected IonValue | |
| private Object[] | _stack
Holds pairs: IonValue parent, Iterator<ionvalue> cursor |
| private final _Private_IonValue. | |
| protected final SymbolTable | |
| protected int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <T> T | Returns: This implementation always returns null.The type token of the requested facet type. facetType)Implements com. Returns a facet of this subject if supported. |
| public BigDecimal | bigDecimalValue()
Implements com. Returns the current value as a |
| public BigInteger | bigIntegerValue()
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. |
| public void | close()
Implements java. Closes this stream and releases any system resources associated with it. |
| 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. |
| 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 | getDepth()
Implements com. Returns the depth into the Ion value that this reader has traversed. |
| public int | getFieldId()
Implements com. /** Gets the symbol ID of the field name attached to the current value. |
| public String | getFieldName()
Implements com. Return the field name of the current value. |
| public final SymbolToken | getFieldNameSymbol()
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 | getSymbolTable()
Implements com. Returns the symbol table that is applicable to the current value. |
| public IonType | getType()
Implements com. Returns the type of the current value, or null if there is no current value. |
| public final String[] | getTypeAnnotations()
Implements com. Return the annotations of the current value as an array of strings. |
| public final SymbolToken[] | getTypeAnnotationSymbols()
Implements com. Gets the current value's annotations as symbol tokens (text + ID). |
| public boolean | hasNext()
Implements com. Determines whether there is another value at the current depth;
in other words whether there is a sibling value that may be reached
using |
| public int | |
| public boolean | isInStruct()
Implements com. Determines whether this reader is currently traversing the fields of an Ion struct. |
| public boolean | isNullValue()
Implements com. Determines whether the current value is a null Ion value of any type
(for example, |
| public final Iterator | iterateTypeAnnotations()
Implements com. Return the annotations on the curent value as an iterator. |
| public long | |
| public byte[] | newBytes()
Implements com. Returns the current value as a newly-allocated byte array. |
| public IonType | next()
Implements com. Positions this reader on the next sibling after the current value, returning the type of that value. |
| pack-priv IonType | |
| private void | |
| public SymbolTable | |
| private void | |
| pack-priv void | |
| public final void | stepIn()
Implements com. Positions the reader just before the contents of the current value, which must be a container (list, sexp, or struct). |
| public final void | stepOut()
Implements com. Positions the iterator after the current parent's value, moving up one level in the data hierarchy. |
| public 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 |
| public String |
| _curr | back to summary |
|---|---|
| protected _Private_IonValue _curr | |
| _eof | back to summary |
|---|---|
| protected boolean _eof | |
| _iter | back to summary |
|---|---|
| protected Iterator<IonValue> _iter | |
| _next | back to summary |
|---|---|
| protected _Private_IonValue _next | |
| _parent | back to summary |
|---|---|
| protected IonValue _parent | |
| _stack | back to summary |
|---|---|
| private Object[] _stack Holds pairs: IonValue parent, Iterator | |
| _symbolTableAccessor | back to summary |
|---|---|
| private final _Private_IonValue. | |
| _system_symtab | back to summary |
|---|---|
| protected final SymbolTable _system_symtab | |
| _top | back to summary |
|---|---|
| protected int _top | |
| IonReaderTreeSystem | back to summary |
|---|---|
| public IonReaderTreeSystem(IonValue value) | |
| asFacet | back to summary |
|---|---|
| public <T> T asFacet(Class<T> facetType) Implements com. Doc from com. Returns a facet of this subject if supported.
| |
| 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 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
| |
| close | back to summary |
|---|---|
| public void close() Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in | |
| 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. | |
| 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
| |
| getDepth | back to summary |
|---|---|
| public final int getDepth() Implements com. Doc from com. Returns the depth into the Ion value that this reader has traversed.
At top level the depth is 0, and it increases by one on each call to
| |
| getFieldId | back to summary |
|---|---|
| public int getFieldId() 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 String getFieldName() 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 final SymbolToken getFieldNameSymbol() 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() Implements com. Doc from com. Returns the symbol table that is applicable to the current value. This may be either a system or local symbol table. | |
| getType | back to summary |
|---|---|
| public IonType getType() Implements com. Doc from com. Returns the type of the current value, or null if there is no current value. | |
| getTypeAnnotations | back to summary |
|---|---|
| public final String[] getTypeAnnotations() Implements com. Doc from com. Return the annotations of the current value as an array of strings.
| |
| getTypeAnnotationSymbols | back to summary |
|---|---|
| public final SymbolToken[] getTypeAnnotationSymbols() Implements com. Doc from com. Gets the current value's annotations as symbol tokens (text + ID).
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements com. Doc from com. Determines whether there is another value at the current depth;
in other words whether there is a sibling value that may be reached
using Warning this method alters the internal state of the reader such
that you cannot reliably get values from the "current" element. The only
thing you should call after | |
| 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). | |
| isInStruct | back to summary |
|---|---|
| public boolean isInStruct() Implements com. Doc from com. Determines whether this reader is currently traversing the fields of an Ion struct. It returns false if the iteration is in a list, a sexp, or a datagram. | |
| 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, | |
| iterateTypeAnnotations | back to summary |
|---|---|
| public final Iterator Implements com. Doc from com. Return the annotations on the curent value as an iterator. The iterator is empty (hasNext() returns false on the first call) if there are no annotations on the current value.
Implementations *may* throw Note the iterator returned by this method is only valid while
the reader remains positioned on the current value (i.e., before
next, step in, or step out). Use cases that require storing a
value's annotations after advancing past that value should either
copy them from the iterator or call | |
| 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 | |
| next | back to summary |
|---|---|
| public IonType next() Implements com. Doc from com. Positions this reader on the next sibling after the current value,
returning the type of that value. Once so positioned the contents of
this value can be accessed with the
A sequence of
| |
| next_helper_system | back to summary |
|---|---|
| pack-priv IonType next_helper_system() | |
| pop | back to summary |
|---|---|
private void pop()
| |
| pop_passed_symbol_table | back to summary |
|---|---|
| public SymbolTable pop_passed_symbol_table() Implements com. | |
| push | back to summary |
|---|---|
| private void push() | |
| re_init | back to summary |
|---|---|
| pack-priv void re_init(IonValue value, boolean hoisted) | |
| stepIn | back to summary |
|---|---|
| public final void stepIn() Implements com. Doc from com. Positions the reader just before the contents of the current value,
which must be a container (list, sexp, or struct).
There's no current value immediately after stepping in, so the next
thing you'll want to do is call
Stepping into a null container (
At any time | |
| stepOut | back to summary |
|---|---|
| public final void stepOut() Implements com. Doc from com. Positions the iterator after the current parent's value, moving up one
level in the data hierarchy.
There's no current value immediately after stepping out, so the next
thing you'll want to do is call | |
| stringValue | back to summary |
|---|---|
| public 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 | |
| valueToString | back to summary |
|---|---|
| public String valueToString() | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv IonValue | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv _Private_IonContainer |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public IonValue | |
| public void | remove()
Overrides default java. Removes from the underlying collection the last element returned by this iterator (optional operation). |
| _curr | back to summary |
|---|---|
| pack-priv IonValue _curr | |
| _eof | back to summary |
|---|---|
| pack-priv boolean _eof | |
| _next_idx | back to summary |
|---|---|
| pack-priv int _next_idx | |
| _parent | back to summary |
|---|---|
| pack-priv _Private_IonContainer _parent | |
| Children | back to summary |
|---|---|
| pack-priv Children(IonContainer parent) | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| next | back to summary |
|---|---|
| public IonValue next() Implements java. Doc from java. Returns the next element in the iteration.
| |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the | |