| Modifier and Type | Class and Description |
|---|---|
| private static enum | IonReaderTextRawTokensX.
Defines strategies to apply when comments are encountered. |
| public static class | |
| private static enum | |
| private static enum | |
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private int | _base64_prefetch_count
number of base64 decoded bytes in the stack, used to decode base64 |
| private int | _base64_prefetch_stack
since this "stack" will only 0-2 bytes deep, we'll just shift them into an int |
| pack-priv static final boolean | |
| private long | |
| private long | |
| private boolean | |
| private long | |
| private long | |
| private UnifiedInputStreamX | |
| private int | |
| private boolean | _unfinished_token
are we at the beginning of this token (false == done with it) |
| pack-priv static final int[] | |
| pack-priv static final int | |
| pack-priv static final int | |
| private static final int | |
| private final ArrayList | |
| private static final Appendable |
| Access | Constructor and Description |
|---|---|
| public | IonReaderTextRawTokensX(UnifiedInputStreamX
wrapped input stream iis)IonTokenReader constructor requires a UnifiedInputStream as the source of bytes/chars that serve as the basic input |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected final void | |
| protected final void | |
| protected final void | |
| protected final void | |
| private boolean | |
| public void | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| protected final void | |
| protected final void | |
| protected final void | |
| public long | |
| public long | |
| pack-priv UnifiedInputStreamX | |
| public final long | |
| public int | |
| protected String | |
| private final boolean | Returns: true if the next two characters are single quotesthis peeks ahead to see if the next two characters are single quotes. |
| private final boolean | |
| public final boolean | |
| public final boolean | |
| private final int | |
| private final int | |
| protected void | |
| protected void | |
| private final int | Returns: the first non-digit character on the input. Could be the given character if its not a digit.Accumulates digits into the buffer, starting with the given character. |
| protected int | |
| private final int | |
| private final IonType | |
| private final void | |
| protected IonType | |
| protected void | load_raw_characters(StringBuilder sb)
this is used to load a previously marked set of bytes into the StringBuilder without escaping. |
| protected int | |
| protected void | |
| protected void | |
| private final IonType | |
| protected int | |
| private final int | |
| private final int | |
| public final int | |
| private final boolean | |
| public final int | Returns: true if the next token is a double or triple quote, false otherwisepeeks into the input stream to see what non-whitespace character is coming up. |
| public final int | peekNullTypeSymbol()
peeks into the input stream to see if we have an unquoted symbol that resolves to one of the ion types. |
| private final int | |
| public final int | |
| private final int | |
| private final int | |
| private final int | |
| private final int | |
| protected final int | |
| private final int | |
| protected int | |
| private final int | |
| private final int | |
| private final int | |
| protected final int | read_string_char(IonReaderTextRawTokensX.
NOT for use outside of string/symbol/clob! |
| protected int | |
| private final int | |
| private int | |
| private int | readNumeric(Appendable buffer, IonReaderTextRawTokensX.
|
| protected void | |
| protected void | |
| protected void | |
| private final int | Returns: numeric token typefirst char of number read by caller c1)we encountered a character that starts a number, a digit or a dash (minus). |
| private final int | Returns: numeric token typefirst char of number read by caller c)variant of scan_numeric_type where the passed in start character was preceded by a minus sign. |
| private final void | |
| protected final void | |
| private void | |
| private final void | |
| private int | |
| private void | |
| private final int | Returns: the next character in the streamSkip over whitespace, but not the / character, as it's a valid Base64 character. |
| private final int | Returns: the next character in the streamSkip over the whitespace after the clob string and before the closing braces. |
| private void | |
| private int | |
| private int | |
| private int | |
| private int | |
| protected void | |
| protected void | |
| private final int | Returns: the next character in the streamThe type of lob is not yet known. |
| private int | |
| protected void | |
| protected void | |
| private final int | |
| private int | |
| private int | |
| private final int | Returns: the next character in the streamSkip over any whitespace, ignoring any comments. |
| private final int | Returns: the next character in the streamthe strategy to use upon encountering comments. commentStrategySkip over any whitespace, applying the given CommentStrategy to any comments found. |
| private final void | |
| private final int | |
| private int | |
| private int | |
| private final int | skip_timestamp_past_digits(int len)
Helper method for skipping embedded digits inside a timestamp value. |
| private final int | skip_timestamp_past_digits(int min, int max)
Helper method for skipping embedded digits inside a timestamp value This overload skips at least min and at most max digits, and errors if a non-digit is encountered in the first min characters read |
| private final void | |
| private final int | |
| private void | skip_triple_quoted_clob_string(UnifiedSavePointManagerX.
Skip to the end of a triple quoted string sequence within a clob, erroring on any comments encountered between triple quoted string elements. |
| private void | skip_triple_quoted_string(UnifiedSavePointManagerX.
Skip to the end of a triple quoted string sequence, ignoring any comments encountered between triple quoted string elements. |
| private void | skip_triple_quoted_string(UnifiedSavePointManagerX.
|
| protected final boolean | Returns: true if whitespace or comments were encounteredSkips whitespace and comments and finishes at the starting position of the next token. |
| private final boolean | Returns: true if whitespace was skipped and/or comments ignoredSkips whitespace and applies the given CommentStrategy to any comments found. |
| public final boolean | Returns: true if the next token is a double colon, false otherwisepeeks into the input stream to see if the next token would be a double colon. |
| private int | |
| public final void | |
| protected final void | |
| private final void |