| Modifier and Type | Class and Description |
|---|---|
| private class | IonReaderContinuableApplicationBinary.
Reusable iterator over the annotations on the current value. |
| private class | IonReaderContinuableApplicationBinary.
Read-only snapshot of the local symbol table at the reader's current position. |
| private static enum | IonReaderContinuableApplicationBinary.
The reader's state. |
| private class | IonReaderContinuableApplicationBinary.
Uses the underlying raw reader to read the symbol tables from the stream. |
| Modifier and Type | Field and Description |
|---|---|
| private final IonReaderContinuableApplicationBinary. | |
| private SymbolTable | |
| private final IonCatalog | |
| private static final IonCatalog | |
| private static final Iterator | |
| private int | |
| private LocalSymbolTableImports | |
| private static final LocalSymbolTableImports | |
| private static final byte[] | |
| private int | |
| private IonReaderContinuableApplicationBinary. | |
| private String[] | |
| private static final int | |
| private final IonReaderContinuableApplicationBinary. |
| Access | Constructor and Description |
|---|---|
| pack-priv | IonReaderContinuableApplicationBinary(IonReaderBuilder
the builder containing the configuration for the new reader. builder, byte[] the byte array containing the bytes to read. bytes, int the offset into the byte array at which the first byte of Ion data begins. offset, int the number of bytes to be read from the byte array. length)Constructs a new reader from the given byte array. |
| pack-priv | IonReaderContinuableApplicationBinary(final IonReaderBuilder
the builder containing the configuration for the new reader. builder, final InputStream inputStream, byte[] the byte array containing the bytes already read (often the IVM). alreadyRead, int the offset into `alreadyRead` at which the first byte that was already read exists. alreadyReadOff, int the number of bytes already read from `alreadyRead`. alreadyReadLen)Constructs a new reader from the given input stream. |
| Modifier and Type | Method and Description |
|---|---|
| private SymbolTable | createImport(String
the name of the shared symbol table. name, int the version of the shared symbol table. version, int the max_id of the shared symbol table. This value takes precedence over the actual max_id for the
shared symbol table at the requested version. maxId)Creates a shared symbol table import, resolving it from the catalog if possible. |
| public String | getFieldName()
Implements com. Return the field name of the current value. |
| public SymbolToken | getFieldNameSymbol()
Implements com. Gets the current value's field name as a symbol token (text + ID). |
| pack-priv String | |
| private String | Returns: a String, which will be null if the requested symbol ID has undefined text.the symbol ID. sid, LocalSymbolTableImports the symbol table's shared symbol table imports. importedSymbols, String[] the symbol table's local symbols. localSymbols)Gets the String representation of the given symbol ID. It is the caller's responsibility to ensure that the given symbol ID is within the max ID of the symbol table. |
| public SymbolTable | getSymbolTable()
Implements com. Returns the symbol table that is applicable to the current value. |
| private SymbolToken | Returns: a SymbolToken.a symbol ID. sid)Creates a SymbolToken representation of the given symbol ID. |
| private SymbolTable | Returns: a system SymbolTable.Gets the system symbol table for the Ion version currently active. |
| 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). |
| private void | |
| private boolean | Returns: true if the reader is positioned on a symbol table; otherwise, false.
|
| public Iterator | iterateTypeAnnotations()
Implements com. Return the annotations on the curent value as an iterator. |
| public IonCursor. | nextValue()
Overrides com. Implements com. Advances the cursor to the next value, skipping the current value (if any). |
| private void | |
| private void | |
| protected void | restoreSymbolTable(SymbolTable
the symbol table to restore. symbolTable)Restore a symbol table from a previous point in the stream. |
| pack-priv boolean | Returns: true if current value has a sequence of annotations that begins with `$ion_symbol_table`; otherwise, false.
|
| public String | stringValue()
Overrides com. 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). |