trait Text[A] extends AnyRef
Typeclass for types that can be written as Postgres literal text, using the default DELIMETER
and NULL values, for use with COPY
. If you wish to implement an instance it's worth reading
the documentation at the link below.
- Self Type
- Text[A]
- Annotations
- @SuppressWarnings()
- Source
- Text.scala
- See also
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Text
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
unsafeEncode(a: A, sb: StringBuilder): Unit
Construct an encoder for
A
that appends to the providedStringBuilder.
Construct an encoder for
A
that appends to the providedStringBuilder.
- a
the value to encode
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
contramap[B](f: (B) ⇒ A): Text[B]
Text
is a contravariant functor. -
final
def
encode(a: A): String
Encode
a
. -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
product[B](fb: Text[B]): Text[(A, B)]
Text
is semigroupal.Text
is semigroupal.- Annotations
- @SuppressWarnings()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unsafeArrayEncode(a: A, sb: StringBuilder): Unit
Variant of unsafeEncode, called for array members which require more escaping.
Variant of unsafeEncode, called for array members which require more escaping. Same as unsafeEncode unless overridden.
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )