SymbolTable.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final int | findSymbol(final String
must not be null or empty. name)Implements com. Gets the symbol ID associated with a given symbol name. |
| public final String | getIonVersionId()
Implements com. Gets the identifier for the Ion version (and thus the system symbol table) used by this table. |
| public final String | |
| public final int | getVersion()
Implements com. Gets the version of this symbol table. |
| public void | makeReadOnly()
Implements com. Prevents this symbol table from accepting any more new symbols. |
| public final void | writeTo(final IonWriter
must not be null. writer)Implements com. Writes an Ion representation of this symbol table. |
| name | back to summary |
|---|---|
| private final String name | |
| version | back to summary |
|---|---|
| private final int version | |
| AbstractSymbolTable | back to summary |
|---|---|
| public AbstractSymbolTable(final String name, final int version) | |
| findSymbol | back to summary |
|---|---|
| public final int findSymbol(final String name) Implements com. Doc from com. Gets the symbol ID associated with a given symbol name.
| |
| getIonVersionId | back to summary |
|---|---|
| public final String getIonVersionId() Implements com. Doc from com. Gets the identifier for the Ion version (and thus the system symbol
table) used by this table.
The version identifier is a string of the form
| |
| getName | back to summary |
|---|---|
| public final String getName() Implements com. Doc from com. Gets the unique name of this symbol table.
| |
| getVersion | back to summary |
|---|---|
| public final int getVersion() Implements com. Doc from com. Gets the version of this symbol table.
| |
| makeReadOnly | back to summary |
|---|---|
| public void makeReadOnly() Implements com. Doc from com. Prevents this symbol table from accepting any more new symbols. Shared symtabs are always read-only. Making a local symtab read-only enables some optimizations when writing data, but will cause failures if new symbols are encountered. | |
| writeTo | back to summary |
|---|---|
| public final void writeTo(final IonWriter writer) throws IOException Implements com. Doc from com. Writes an Ion representation of this symbol table.
| |