Package | Description |
---|---|
software.amazon.ion |
Public interfaces of the core Ion system.
|
software.amazon.ion.system |
Public implementation of the core Ion system.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IonTextReader
Deprecated.
Use
TextSpan instead. |
Modifier and Type | Method and Description |
---|---|
IonReader |
IonSystem.newReader(byte[] ionData)
Creates an new
IonReader instance over a block of Ion data,
detecting whether it's text or binary data. |
IonReader |
IonSystem.newReader(byte[] ionData,
int offset,
int len)
Creates an new
IonReader instance over a block of Ion data,
detecting whether it's text or binary data. |
IonReader |
IonSystem.newReader(InputStream ionData)
Creates a new
IonReader instance over a stream of Ion data,
detecting whether it's text or binary data. |
IonReader |
IonSystem.newReader(IonValue value)
|
IonReader |
IonSystem.newReader(Reader ionText)
Creates an new
IonReader instance over Ion text data. |
Modifier and Type | Method and Description |
---|---|
Iterator<IonValue> |
IonSystem.iterate(IonReader reader)
Creates an iterator over Ion data.
|
IonDatagram |
IonLoader.load(IonReader reader)
Loads an entire stream of Ion data into a single datagram,
detecting whether it's text or binary data.
|
SymbolTable |
IonSystem.newSharedSymbolTable(IonReader reader)
Materializes a shared symbol table from its serialized form.
|
SymbolTable |
IonSystem.newSharedSymbolTable(IonReader reader,
boolean alreadyOnStruct)
Materializes a shared symbol table from its serialized form.
|
IonValue |
IonSystem.newValue(IonReader reader)
Extracts the current value from a reader into an
IonValue . |
void |
IonWriter.writeValue(IonReader reader)
Writes the current value from a reader.
|
void |
IonWriter.writeValues(IonReader reader)
Writes a reader's current value, and all following values until the end
of the current container.
|
Modifier and Type | Method and Description |
---|---|
IonReader |
IonReaderBuilder.build(byte[] ionData)
Based on the builder's configuration properties, creates a new IonReader
instance over the given block of Ion data, detecting whether it's text or
binary data.
|
IonReader |
IonReaderBuilder.build(byte[] ionData,
int offset,
int length)
Based on the builder's configuration properties, creates a new IonReader
instance over the given block of Ion data, detecting whether it's text or
binary data.
|
IonReader |
IonReaderBuilder.build(InputStream ionData)
Based on the builder's configuration properties, creates a new IonReader
instance over the given stream of Ion data, detecting whether it's text or
binary data.
|
IonReader |
IonReaderBuilder.build(IonValue value)
|
IonReader |
IonReaderBuilder.build(Reader ionText)
Based on the builder's configuration properties, creates a new
IonReader instance over Ion text data. |