| Modifier and Type | Method and Description |
|---|---|
| public BigDecimal | |
| public BigInteger | |
| public boolean | |
| public int | |
| public Date | |
| public Decimal | decimalValue()
Returns the current value as a |
| public double | |
| public int[] | Returns: the symbol IDs of the annotations on the current value. If the current value has no annotations, this method returns an empty array.
Deprecated
Gets the symbol IDs of the annotations attached to the current value. |
| public int | getBytes(byte[]
destination to copy the value into, this must not be null. buffer, int the first position to copy into, this must be non null and
less than the length of buffer. offset, int the number of bytes available in the buffer to copy into,
this must be long enough to hold the whole value and not extend outside
of buffer. len)Copies the current value into the passed in a byte array. |
| public int | |
| public int | Returns: the symbol ID of the field name, if the current value is a field within a struct. If the current value is not a field, or if the symbol ID cannot be determined, this method returns a value less than one.
Deprecated
Gets the symbol ID of the field name attached to the current value. |
| public IntegerSize | getIntegerSize()
Returns an |
| public int | Returns: the major version.Returns the major version of the Ion stream at the reader's current position. |
| public int | Returns: the minor version.Returns the minor version of the Ion stream at the reader's current position. |
| public IonType | |
| public boolean | Returns: true if the value has at least one annotation; otherwise, false.Conveys whether the value on which the reader is currently positioned has annotations. |
| public int | |
| public boolean | |
| public boolean | isNullValue()
Determines whether the current value is a null Ion value of any type
(for example, |
| public long | |
| public byte[] | |
| public void | registerIvmNotificationConsumer(IvmNotificationConsumer
the consumer to be notified. ivmConsumer)Register an |
| public String | |
| public int | Returns: the symbol ID of the value. If the symbol ID cannot be determined, this method returns a value less than one.
Deprecated
Gets the symbol ID of the current symbol value. |
| public Timestamp |
| bigDecimalValue | back to summary |
|---|---|
| public BigDecimal bigDecimalValue() Returns the current value as a
This method is only valid when
| |
| bigIntegerValue | back to summary |
|---|---|
| public BigInteger bigIntegerValue() Returns the current value as a | |
| booleanValue | back to summary |
|---|---|
| public boolean booleanValue() Returns the current value as an boolean.
This is only valid when | |
| byteSize | back to summary |
|---|---|
| public int byteSize() Gets the size in bytes of the current lob value.
This is only valid when
| |
| dateValue | back to summary |
|---|---|
| public Date dateValue() Returns the current value as a | |
| decimalValue | back to summary |
|---|---|
| public Decimal decimalValue() Returns the current value as a | |
| doubleValue | back to summary |
|---|---|
| public double doubleValue() Returns the current value as a double. This is only valid if there is an underlying value and the value is either float, or decimal. | |
| getAnnotationIds | back to summary |
|---|---|
| public int[] getAnnotationIds()
Deprecated
Gets the symbol IDs of the annotations attached to the current value. This is an "expert method": correct use requires deep understanding of the Ion binary format. You almost certainly don't want to use it.
| |
| getBytes | back to summary |
|---|---|
| public int getBytes(byte[] buffer, int offset, int len) Copies the current value into the passed in a byte array.
This is only valid when
| |
| getDepth | back to summary |
|---|---|
| public int getDepth() Returns the depth into the Ion value that this reader has traversed. At top level the depth is 0. | |
| getFieldId | back to summary |
|---|---|
| public int getFieldId()
Deprecated
Gets the symbol ID of the field name attached to the current value. This is an "expert method": correct use requires deep understanding of the Ion binary format. You almost certainly don't want to use it.
| |
| getIntegerSize | back to summary |
|---|---|
| public IntegerSize getIntegerSize() Returns an
| |
| getIonMajorVersion | back to summary |
|---|---|
| public int getIonMajorVersion() Returns the major version of the Ion stream at the reader's current position.
| |
| getIonMinorVersion | back to summary |
|---|---|
| public int getIonMinorVersion() Returns the minor version of the Ion stream at the reader's current position.
| |
| getType | back to summary |
|---|---|
| public IonType getType() Returns the type of the current value, or null if there is no current value. | |
| hasAnnotations | back to summary |
|---|---|
| public boolean hasAnnotations() Conveys whether the value on which the reader is currently positioned has annotations.
| |
| intValue | back to summary |
|---|---|
| public int intValue() Returns the current value as an int. This is only valid if there is an underlying value and the value is of a numeric type (int, float, or decimal). | |
| isInStruct | back to summary |
|---|---|
| public boolean isInStruct() Determines whether this reader is currently traversing the fields of an Ion struct. It returns false if the iteration is in a list, a sexp, or a datagram. | |
| isNullValue | back to summary |
|---|---|
| public boolean isNullValue() Determines whether the current value is a null Ion value of any type
(for example, | |
| longValue | back to summary |
|---|---|
| public long longValue() Returns the current value as a long. This is only valid if there is an underlying value and the value is of a numeric type (int, float, or decimal). | |
| newBytes | back to summary |
|---|---|
| public byte[] newBytes() Returns the current value as a newly-allocated byte array.
This is only valid when | |
| registerIvmNotificationConsumer | back to summary |
|---|---|
| public void registerIvmNotificationConsumer(IvmNotificationConsumer ivmConsumer) Register an
| |
| stringValue | back to summary |
|---|---|
| public String stringValue() Returns the current value as a Java String.
This is only valid when
| |
| symbolValueId | back to summary |
|---|---|
| public int symbolValueId()
Deprecated
Gets the symbol ID of the current symbol value. This is an "expert method": correct use requires deep understanding of the Ion binary format. You almost certainly don't want to use it.
| |
| timestampValue | back to summary |
|---|---|
| public Timestamp timestampValue() Returns the current value as a | |