References Deprecated
_Private_IonRawWriter is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
IonWriter that understands encoding concerns but doesn't operate with any sense of symbol table management.
| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private static enum | |
| private static class | |
| pack-priv static enum | IonRawBinaryWriter.
Determines how container/container-like values should be padded |
| pack-priv static enum | |
| pack-priv static enum | |
| pack-priv static interface |
| Modifier and Type | Field and Description |
|---|---|
| private final BlockAllocator | |
| pack-priv IonRawBinaryWriter. | |
| pack-priv boolean | |
| private static final BigInteger | |
| private static final BigInteger | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private final WriteBuffer | |
| private static final byte | |
| private boolean | |
| private final _Private_RecyclingStack | |
| private final IntList | |
| private int | |
| private static final byte | |
| private static final byte | |
| private static final byte | |
| private int | |
| private static final byte | |
| pack-priv boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private static final byte | |
| private final boolean | |
| private static final byte[] | |
| private static final int | MAX_ANNOTATION_LENGTH
Max supported annotation length specifier size supported. |
| private static final byte | |
| private static final byte | |
| private static final byte[] | |
| private final OutputStream | |
| private final _Private_RecyclingQueue | |
| private static final byte | |
| private final IonRawBinaryWriter. | |
| private static final int | |
| private final IonRawBinaryWriter. | |
| private final IonRawBinaryWriter. | |
| private static final byte | |
| private static final byte | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte | |
| private static final byte | |
| pack-priv final Utf8StringEncoder | |
| private static final byte |
| Access | Constructor and Description |
|---|---|
| pack-priv | IonRawBinaryWriter(final BlockAllocatorProvider provider, final int blockSize, final OutputStream out, final AbstractIonWriter.
|
| Modifier and Type | Method and Description |
|---|---|
| private void | addPatchPoint(final IonRawBinaryWriter.
|
| public void | addTypeAnnotation(final String
string annotation to append to the annotation list annotation)Implements com. Adds a given string to the list of pending annotations. |
| pack-priv void | |
| public void | addTypeAnnotationSymbol(int
- a symbol ID sid)Implements com. Adds the given symbol ID to the list of pending annotation symbol IDs. |
| private static byte[] | |
| private static void | |
| private void | |
| public void | close()
Implements com. Closes this stream and releases any system resources associated with it. |
| public void | |
| public void | finish()
Implements com. Indicates that writing is completed and all buffered data should be written and flushed as if this were the end of the Ion data stream. |
| private void | |
| public void | flush()
Implements com. Flushes this writer by writing any buffered output to the underlying output target without finalizing the stream's local symbol table. |
| public IonCatalog | getCatalog()
Implements com. Mostly for testing at this point, but could be useful public API. |
| pack-priv WriteBuffer | |
| public int | getDepth()
Implements com. Returns the current depth of containers the writer is at. |
| pack-priv int | |
| public SymbolTable | getSymbolTable()
Implements com. Always returns |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | hasWrittenValuesSinceConstructed()
Returns true if a value has been written since the writer was constructed. |
| pack-priv boolean | hasWrittenValuesSinceFinished()
Returns true if a value has been written since construction or |
| public boolean | isFieldNameSet()
Implements com. Returns true if the field name has been set either through setFieldName or setFieldId. |
| public boolean | isInStruct()
Implements com. Determines whether values are being written as fields of a struct. |
| pack-priv boolean | |
| private static byte[][] | |
| private static final byte[] | |
| private void | |
| private IonRawBinaryWriter. | |
| pack-priv long | |
| private void | |
| private void | |
| private void | reclaimPlaceholderPatchPoint(int
represents the index of the placeholder patch point. placeholderPatchIndex)This is used to reclaim the placeholder patch point after scan the current container. |
| public void | setFieldName(final String
text of the field name name)Implements com. Sets the pending field name to the given text. |
| public void | setFieldNameSymbol(final SymbolToken
text of the field name name)Implements com. Sets the pending field name to the given token. |
| public void | setFieldNameSymbol(int
- a symbol ID sid)Implements com. Sets the current field name to the given symbol ID. It is up to the caller to make sure the given symbol ID has a mapping in the current context's symbol table. |
| public void | setTypeAnnotations(final String...
string array with the annotations.
If null or empty, any pending annotations are cleared. annotations)Implements com. Sets the full list of pending annotations to the given text symbols. |
| public void | setTypeAnnotationSymbols(final SymbolToken...
If null or empty, any pending annotations are cleared. annotations)Implements com. Sets the full list of pending annotations to the given symbols. |
| public void | setTypeAnnotationSymbols(int...
- symbol IDs representing the annotation symbols for the
current value sids)Implements com. Sets the full list of pending annotations to the given symbol IDs. |
| public void | stepIn(final IonType containerType)
Implements com. Writes the beginning of a non-null container (list, sexp, or struct). |
| public void | stepOut()
Implements com. Writes the end of the current container, returning this writer to the context of parent container. |
| pack-priv void | |
| private void | |
| public void | writeBlob(byte[]
may be null to represent data)null.blob.Implements com. write the byte array out as an IonBlob value. |
| public void | writeBlob(final byte[]
bytes to be written.
May be data, final int null to represent null.blob.offset of the first byte in value to write offset, final int number of bytes to write from value length)Implements com. Writes a portion of the byte array out as an IonBlob value. |
| public void | writeBool(final boolean
true or false as desired value)Implements com. writes a non-null boolean value (true or false) as an IonBool to output. |
| public void | writeBytes(byte[]
The byte array to write. data, int The offset in the array to write from. offset, int The length of data to write. length)Implements com. Writes a raw value into the buffer, updating lengths appropriately. |
| public void | writeClob(byte[]
may be null to represent data)null.clob.Implements com. write the byte array out as an IonClob value. |
| public void | writeClob(final byte[]
bytes to be written.
May be data, final int null to represent null.clob.offset of the first byte in value to write offset, final int number of bytes to write from value length)Implements com. Writes a portion of the byte array out as an IonClob value. |
| public void | writeDecimal(final BigDecimal
may be null to represent value)null.decimal.Implements com. Writes a BigDecimal value as an Ion decimal. |
| private void | writeDecimalValue(final BigDecimal value)
Encodes a decimal, updating the current container length context (which is probably a Decimal/Timestamp). |
| public void | writeFloat(final double
double to write value)Implements com. writes a 64 bit binary floating point value, a Java double, as an IonFloat. |
| public void | writeInt(long
signed int to write value)Implements com. writes a signed 64 bit value, a Java long, as an IonInt. |
| public void | writeInt(BigInteger
BigInteger to write value)Implements com. writes a BigInteger value as an IonInt. |
| public void | writeIonVersionMarker()
Implements com. Write an Ion version marker symbol to the output. |
| public void | writeNull()
Implements com. Writes a value of Ion's null type ( |
| public void | writeNull(final IonType
type of the null to be written type)Implements com. Writes a null value of a specified Ion type. |
| public void | writeString(final String
may be null to represent value)null.string.Implements com. Writes a |
| public void | writeString(byte[]
well-formed UTF-8-encoded bytes to be written.
May be data, int null to represent null.string.offset of the first byte in value to write offset, int number of bytes to write from value length)Implements abstract com. Implements com. Writes a portion of the byte array out as an IonString value. |
| public void | writeSymbol(String
may be null to represent content)null.symbol.Implements com. Writes the text of an Ion symbol value. |
| public void | writeSymbolToken(final SymbolToken
may be null to represent content)null.symbol.Implements com. Writes the content of an Ion symbol value. |
| public void | writeSymbolToken(int
- a symbol ID sid)Implements com. Directly write the given symbol ID to represent a symbol value. |
| public void | writeTimestamp(final Timestamp
may be null to represent value)null.timestamp.Implements com. Writes a timestamp value. |
| private void | writeTypedBytes(final int type, final byte[] data, final int offset, final int length)
Write a raw byte array as some type. |
| private void | writeTypedUInt(final int type, final long value)
Writes a type descriptor followed by unsigned integer value. |
| private void | |
| private void |