t
com.digitalasset.canton.platform.store.interning
StringInterningDomain
Companion object StringInterningDomain
trait StringInterningDomain[T] extends StringInterningAccessor[T]
Composes a StringInterningAccessor for the domain-string type and an unsafe StringInterningAccessor for raw strings
- T
- is the type of the string-related domain object which is interned 
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- StringInterningDomain
- StringInterningAccessor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
-   abstract  def externalize(id: Int): TGet the value for an id Get the value for an id - id
- integer id 
- returns
- the value, throws exception if no value found 
 - Definition Classes
- StringInterningAccessor
 
-   abstract  def internalize(t: T): IntGet the interned id Get the interned id - t
- the value 
- returns
- the integer id, throws exception if id not found 
 - Definition Classes
- StringInterningAccessor
 
-   abstract  def tryExternalize(id: Int): Option[T]Optionally get the value for an id Optionally get the value for an id - id
- integer id 
- returns
- some value, or none if not found 
 - Definition Classes
- StringInterningAccessor
 
-   abstract  def tryInternalize(t: T): Option[Int]Optionally get the interned id Optionally get the interned id - t
- the value 
- returns
- some integer id, or none if not found 
 - Definition Classes
- StringInterningAccessor
 
-  abstract def unsafe: StringInterningAccessor[String]
Concrete 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 clone(): AnyRef- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(arg0: AnyRef): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
 
-    def hashCode(): Int- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
 
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-   final  def ne(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-   final  def notify(): Unit- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
 
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-    def toString(): String- Definition Classes
- AnyRef → Any
 
-   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])