| Modifier and Type | Method and Description |
|---|---|
void |
addTypeAnnotationSymbol(int sid)
Deprecated.
Adds the given symbol ID to the list of pending annotation symbol IDs.
|
void |
setFieldNameSymbol(int sid)
Deprecated.
Sets the current field name to the given symbol ID.
|
void |
setTypeAnnotationSymbols(int... sids)
Deprecated.
Sets the full list of pending annotations to the given symbol IDs.
|
void |
writeString(byte[] data,
int offset,
int length)
Deprecated.
Writes a portion of the byte array out as an IonString value.
|
void |
writeSymbolToken(int sid)
Deprecated.
Directly write the given symbol ID to represent a symbol value.
|
addTypeAnnotation, close, finish, flush, getSymbolTable, isInStruct, setFieldName, setFieldNameSymbol, setTypeAnnotations, setTypeAnnotationSymbols, stepIn, stepOut, writeBlob, writeBlob, writeBool, writeClob, writeClob, writeDecimal, writeFloat, writeInt, writeInt, writeNull, writeNull, writeString, writeSymbol, writeSymbolToken, writeTimestamp, writeTimestampUTC, writeValue, writeValue, writeValuesvoid setFieldNameSymbol(int sid)
sid - - a symbol IDvoid setTypeAnnotationSymbols(int... sids)
sids - - symbol IDs representing the annotation symbols for the
current valuevoid addTypeAnnotationSymbol(int sid)
sid - - a symbol IDvoid writeSymbolToken(int sid)
throws java.io.IOException
sid - - a symbol IDjava.io.IOExceptionvoid writeString(byte[] data,
int offset,
int length)
throws java.io.IOException
data - well-formed UTF-8-encoded bytes to be written.
May be null to represent null.string.offset - offset of the first byte in value to writelength - number of bytes to write from valuejava.io.IOExceptionIonWriter.writeClob(byte[], int, int),
IonWriter.writeBlob(byte[], int, int)