final case class String256M(str: String)(name: Option[String] = None) extends AbstractLengthLimitedString with Product with Serializable
Length limitation of a TEXT
or unbounded VARCHAR
field in postgres or CLOB
in Oracle.
- Postgres TEXT
or VARCHAR
support up to 1GB storage. That is at least 2 28
UTF8 characters characters
in UTF8 encoding as each character needs at most 4 bytes.
- Oracle
CLOB supports up to 4GB storage, i.e., at least
2 30
TEXT
/VARCHAR
/CLOB
are only used for the following values (none are indices):
- daml_packages.source_description
- service_agreements.agreement_text
- topology_transactions.ignore_reason
- sequencer_events.error_message
- Alphabetic
- By Inheritance
- String256M
- Serializable
- Product
- Equals
- AbstractLengthLimitedString
- NoCopy
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(a: Any): Boolean
- Definition Classes
- AbstractLengthLimitedString
- Annotations
- @SuppressWarnings()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def copy(nothing: Nothing): Nothing
- Attributes
- protected
- Definition Classes
- NoCopy
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Any): Boolean
- Definition Classes
- AbstractLengthLimitedString → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AbstractLengthLimitedString → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def maxLength: Int
Maximum number of characters allowed.
Maximum number of characters allowed.
Must not be confused with storage space, which can be up to 4*maxLength in a UTF8 encoding
- Definition Classes
- String256M → AbstractLengthLimitedString
- val name: Option[String]
- Definition Classes
- String256M → AbstractLengthLimitedString
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: Boolean
- Definition Classes
- AbstractLengthLimitedString
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val str: String
- Definition Classes
- String256M → AbstractLengthLimitedString
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toProtoPrimitive: String
- Definition Classes
- AbstractLengthLimitedString
- def toString(): String
- Definition Classes
- AbstractLengthLimitedString → AnyRef → Any
- def unwrap: String
- Definition Classes
- AbstractLengthLimitedString
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])