EMPTY_ARRAY| Modifier and Type | Method and Description |
|---|---|
IonClob |
clone()
Creates a copy of this value and all of its children.
|
Reader |
newReader(Charset cs)
Creates a new
Reader that provides the value of this clob as
text, decoding the raw bytes using a given character set. |
String |
stringValue(Charset cs)
Gets the value of this clob as a Java
String value, decoding
the raw bytes using a given character set. |
byteSize, getBytes, newInputStream, setBytes, setBytesaccept, addTypeAnnotation, clearTypeAnnotations, equals, getContainer, getFieldName, getFieldNameSymbol, getSymbolTable, getSystem, getType, getTypeAnnotations, getTypeAnnotationSymbols, hashCode, hasTypeAnnotation, isNullValue, isReadOnly, makeReadOnly, removeFromContainer, removeTypeAnnotation, setTypeAnnotations, setTypeAnnotationSymbols, topLevelValue, toPrettyString, toString, toString, writeToReader newReader(Charset cs)
Reader that provides the value of this clob as
text, decoding the raw bytes using a given character set.cs - must not be null.null if this.isNullValue().String stringValue(Charset cs)
String value, decoding
the raw bytes using a given character set. This is a convenience
wrapper around newReader(Charset).
The behavior of this method when the clob bytes are not valid in the given charset is unspecified.
cs - must not be null.null if this.isNullValue().IonClob clone() throws UnknownSymbolException
IonValueIonValue.isReadOnly().
The cloned value will be created in the context of the same
ValueFactory as this instance; if you want a copy using a
different factory, then use ValueFactory.clone(IonValue)
instead.
clone in interface IonLobclone in interface IonValueUnknownSymbolException - if any part of this value has unknown text but known Sid for
its field name, annotation or symbol.